1. 04 May, 2000 24 commits
    • cygwin.h (CPP_PREDEFINES): Don't define __STDC__. · 2afc3e47
      2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
      
      	* i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
      	attribute macros from here ...
      	(CPP_SPEC): to here.
      	* i386/mingw32.h (CPP_PREDEFINES): Likewise.
      	(CPP_SPEC): Likewise.
      	* i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
      
      From-SVN: r33677
      Mumit Khan committed
    • Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule. · d34cba2b
      2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
      
      	* Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
      	(libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
      
      From-SVN: r33676
      Mumit Khan committed
    • bb-reorder.c (get_next_bb_note, [...]): Prototype. · 36244024
      	* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
      
      	* diagnostic (vbuild_message_string, build_message_string,
      	build_location_prefix, output_get_prefix, init_output_buffer,
      	output_notice, vline_wrapper_message_with_location,
      	v_message_with_decl, default_print_error_function): De-constify.
      	(set_real_maximum_length): Prototype.
      
      	* diagnostic.h (struct output_buffer, init_output_buffer,
      	output_get_prefix, output_set_prefix): De-constify.
      
      	* function.c (init_function_start): Constify.
      
      	* gensupport.c (remove_constraints, process_rtx): Prototype.
      
      	* gthr-posix.h: Indent uses of #pragma.
      
      	* objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
      	Prototype.
      
      	* predict.c (find_expected_value): Delete prototype.
      	(expected_value_to_br_prob): Initialize variable `ev_reg'.
      
      	* sbitmap.h (debug_sbitmap): Prototype.
      
      	* ssa.c (compute_coalesced_reg_partition): Prototype.
      
      	* stor-layout.c (debug_rli): Prototype.
      
      	* tree.h (round_down): Prototype.
      	(init_function_start): Constify.
      
      ch:
      	* ch-tree.h (init_function_start): Constify.
      
      From-SVN: r33675
      Kaveh R. Ghazi committed
    • cpphash.h: #define __extension__ away if GCC_VERSION < 2095 (overly conservative). · 57c578a6
      	* cpphash.h: #define __extension__ away if GCC_VERSION < 2095
      	(overly conservative).  Change extern inline wrappers to
      	static inline, define them always, use PARAMS properly.
      	* cpplex.c (_cpp_get_directive_token): Don't issue pedantic
      	whitespace warnings for \f and \v at the beginning of a line.
      
      From-SVN: r33674
      Zack Weinberg committed
    • haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed · 4e95db71
              * haifa-sched.c (schedule_insns): Free the flow edge list when it
              is no longer needed
      
      From-SVN: r33673
      Jeffrey A Law committed
    • Removed erroneous ChangeLog entry · aff3283b
      From-SVN: r33672
      Tom Tromey committed
    • Locale.java (Locale): Don't explicitly check for null. · f70b7142
      	* java/util/Locale.java (Locale): Don't explicitly check for
      	null.
      	* java/util/Hashtable.java (containsKey): Don't explicitly check
      	for null.
      	(get): Likewise.
      	* java/util/BitSet.java (and, or, xor): Don't explicitly check for
      	null.
      	* java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check
      	for null.
      	* java/text/StringCharacterIterator.java
      	(StringCharacterIterator): Don't check for null.
      	* java/text/ChoiceFormat.java (setChoices): Don't explicitly check
      	for null pointer.
      	* java/net/MulticastSocket.java (joinGroup): Don't explicitly
      	check for null pointer.
      	(leaveGroup): Likewise.
      	* java/net/DatagramPacket.java (DatagramPacket): Removed erroneous
      	comment.
      	(setData): Likewise.
      	* java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check
      	for `p==null'.
      
      From-SVN: r33671
      Tom Tromey committed
    • sort.h (sys/types.h): File included unconditionnaly. · 4aef973c
      	* sort.h (sys/types.h): File included unconditionnaly.
      	(stddef.h): File include only #ifdef __STDC__.
      
      	* sort.c (UCHAR_MAX): Provide fallback definition.
      
      From-SVN: r33670
      Philippe De Muyter committed
    • cp-tree.h (special_function_kind): Add various kinds of destructors. · 872f37f9
      	* cp-tree.h (special_function_kind): Add various kinds of
      	destructors.
      	(special_function_p): New function.
      	* class.c (overrides): Don't let one kind of destructor override
      	another.
      	* decl2.c (mark_used): Use DECL_NON_THUNK_FUNCTION_P when deciding
      	whether or not to instantiate a template.
      	* tree.c (special_function_p): Define.
      
      From-SVN: r33668
      Mark Mitchell committed
    • Remove `extern double cabs' declarations from math.h · 72b9c7fb
      From-SVN: r33667
      Bruce Korb committed
    • configure: Rebuilt. · c5acf51f
      	* configure: Rebuilt.
      	* configure.in: Match `arm*-*-linux-*'.
      	From Chris Dornan <cdornan@arm.com>.
      
      From-SVN: r33666
      Tom Tromey committed
    • rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET. · bf49b139
      	* rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
      	MEM_ALIAS_SET.
      	* alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
      	when calling MEM_COPY_ATTRIBUTES.
      	* emit-rtl.c (operand_subword, change_address): Likewise.
      	* explow.c (stabilize): Likewise.
      	* expr.c (protect_from_queue, emit_move_insn_1): Likewise.
      	* integrate.c (copy_rtx_and_substitute): Likewise.
      	* combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
      	when calling MEM_COPY_ATTRIBUTES.
      	(make_extraction, simplify_shift_const, gen_lowpart_for_combine):
      	Likewise.
      	* cse.c (gen_lowpart_if_possible): Likewise.
      	* function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
      	* optabs.c (gen_move_insn): Likewise.
      	* recog.c (validate_replace_rtx_1): Likewise.
      	* simplify-rtx.c (add_mem_for_addr): Likewise.
      	* stmt.c (expand_anon_union_decl): Likewise.
      	* config/arm/arm.md: Likewise.
      	* config/h8300/h7300.c (fix_bit_operand): Likewise.
      	* config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
      	(block_move_no_loop, block_move_sequence): Likewise.
      	* config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
      	* config/alpha/alpha.c (get_aligned_mem): Likewise.
      	Clear MEM_ALIAS_SET.
      	* final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
      	MEM_COPY_ATTRIBUTES.
      
      From-SVN: r33665
      Richard Kenner committed
    • configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1. · 5b8714bf
      2000-05-03  Robert Lipe <robertlipe@usa.net>
      
              * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
              to suppress libgcc1.
              (i[34567]86-*-sco3.2v5*) Likewise.
              (i[34567]86-*-sco3.2v4*) Likewise.
              (i[34567]86-*-sco) Likewise.
              (i[34567]86-*-solaris2) Likewise.
              (i[34567]86-*-sysv5*) Likewise.
              (i[34567]86-*-sysv4*) Likewise.
              (i[34567]86-*-udk*) Likewise.
              (i[34567]86-*-sysv*) Likewise.
      
      From-SVN: r33664
      Robert Lipe committed
    • Undo my accidental checkin. · 62703c5d
      From-SVN: r33663
      Jan Hubicka committed
    • Daily bump. · 36d94170
      From-SVN: r33662
      Jeff Law committed
    • try to fix cvsweb · 45023a75
      From-SVN: r33661
      Jeff Law committed
    • cpphash.h (U): New define, to correct type of string constants. · 12cf91fe
      gcc:
      	* cpphash.h (U): New define, to correct type of string constants.
      	(ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
      	routines, to do casts when passing unsigned strings to libc.
      	* cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
      
      	* cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
      	* cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
      	* cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
      	* cpplex.c (parse_ifdef, parse_include, validate_else): Make
      	second argument an U_CHAR *.
      
      	* cppinit.c (builtin_array): Make name and value U_CHAR *, add
      	length field, clean up initializer.
      	(ISTABLE): Add __extension__ to designated-
      	initializers version.
      	* cpplex.c (CHARTAB): Likewise.
      
      	* mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
      	case so the file won't be empty.
      
      include:
      	* symcat.h: Remove #endif label.
      
      From-SVN: r33657
      Zack Weinberg committed
    • * gcc.dg/20000503-1.c: New test. · 22a87840
      From-SVN: r33656
      Robert Lipe committed
    • bb-reorder.c (struct reorder_block_def): Member succ removed. · 2a6fa433
      Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
      
              * bb-reorder.c (struct reorder_block_def): Member succ removed.
              (REORDER_BLOCK_SUCC): Removed.
              (enum reorder_skip_type): Removed.
              (skip_insns_between_block): Renamed to skip_insns_after_block.
              Removed second argument. Removed dead code and cleaned up.
              (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
              (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
              second parameter to skip_insns_after_block.
      
      From-SVN: r33655
      Jason Eckhardt committed
    • configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1. · d8e7c884
      Regenerate:
      
              * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
              to suppress libgcc1.
              (i[34567]86-*-sco3.2v5*) Likewise.
              (i[34567]86-*-sco3.2v4*) Likewise.
              (i[34567]86-*-sco) Likewise.
              (i[34567]86-*-solaris2) Likewise.
              (i[34567]86-*-sysv5*) Likewise.
              (i[34567]86-*-sysv4*) Likewise.
              (i[34567]86-*-udk*) Likewise.
              (i[34567]86-*-sysv*) Likewise.
      
      From-SVN: r33654
      Robert Lipe committed
    • configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1. · a5598a06
              * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
              to suppress libgcc1.
              (i[34567]86-*-sco3.2v5*) Likewise.
              (i[34567]86-*-sco3.2v4*) Likewise.
              (i[34567]86-*-sco) Likewise.
              (i[34567]86-*-solaris2) Likewise.
              (i[34567]86-*-sysv5*) Likewise.
              (i[34567]86-*-sysv4*) Likewise.
              (i[34567]86-*-udk*) Likewise.
              (i[34567]86-*-sysv*) Likewise.
      
      From-SVN: r33653
      Robert Lipe committed
    • Remove conflict indicator · 15f5aab6
      From-SVN: r33652
      Richard Kenner committed
    • * tree.c (staticp, case LABEL_DECL): New case. · 1c12c179
      From-SVN: r33651
      Richard Kenner committed
  2. 03 May, 2000 16 commits
    • * mklibgcc1.in: Fix typo last change. · f4118ce9
      From-SVN: r33650
      Richard Henderson committed
    • * Makefile.in (start.encap): Do not depend on LIBGCC1. · 658a87e5
      From-SVN: r33649
      Richard Henderson committed
    • Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long. · 6bed14c7
              * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
              (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
              (GCC_CFLAGS): Use it.
              (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
              * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
              objc/Make-lang.in: Use it.
      
      From-SVN: r33648
      Jason Merrill committed
    • cp-tree.def (THUNK_DECL): Remove. · eb68cb58
      	* cp-tree.def (THUNK_DECL): Remove.
      	* cp-tree.h (DECL_THUNK_P): New macro.
      	(DECL_NON_THUNK_FUNCTION_P): Likewise.
      	(DECL_EXTERN_C_FUNCTION_P): Likewise.
      	(SET_DECL_THUNK_P): Likewise.
      	(DELTA_FROM_VTABLE_ENTRY): Use DECL_THUNK_P.
      	(FNADDR_FROM_VTABLE_ENTRY): Likewise.
      	(DECL_MAIN_P): Use DECL_EXTERN_C_FUNCTION_P.
      	* decl.c (decls_match): Use DECL_EXTERN_C_P.
      	(duplicate_decls): Likewise.
      	(pushdecl): Likewise.  Adjust thunk handling.
      	(grokfndecl): Use DECL_EXTERN_C_P.
      	* decl2.c (mark_vtable_entries): Use DECL_THUNK_P.
      	* dump.c (dequeue_and_dump): Remove THUNK_DECL handling.
      	* except.c (nothrow_libfn_p): Use DECL_EXTERN_C_P.
      	* expr.c (cplus_expand_expr): Remove THUNK_DECL handling.
      	* method.c (make_thunk): Use SET_DECL_THUNK_P.  Set
      	DECL_NO_STATIC_CHAIN.
      	(emit_thunk): Don't play games with TREE_CODE on thunks.  Don't
      	set DECL_DESTRUCTOR_P or DECL_CONSTRUCTOR_P on a thunk.
      	* search.c (covariant_return_p): Remove THUNK_DECL handling.
      	* ir.texi: Update.
      
      From-SVN: r33647
      Mark Mitchell committed
    • Fix typo · 6428983a
      From-SVN: r33646
      Mark Mitchell committed
    • mklibgcc.in: Restrict OLDCC=GCC test to native. · efdd2c06
              * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
              LIBGCC1 empty with libgcc1.null.
      
      From-SVN: r33644
      Richard Henderson committed
    • Fix for ia64-linux misoptimization. · 13393c8a
      	* fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
      	change.
      
      From-SVN: r33643
      Jim Wilson committed
    • Testcase for ia64-linux extract_muldiv bug. · 8ae71501
      	* execute/20000503-1.c: New test for extract_muldiv bug.
      
      From-SVN: r33642
      Jim Wilson committed
    • tree.h (tree_common): Add bounded_flag member. · a6d7adfd
      	* tree.h (tree_common): Add bounded_flag member.  Remove
      	inaccurate comment about number of remaining bits.
      	(BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
      	BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
      	MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
      	TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
      	TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
      	(TYPE_QUAL_BOUNDED): New constant.
      	(TYPE_QUALS): Handle bounded qualifier.
      	(TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
      	(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
      	TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
      	TYPE_AMBIENT_BOUNDEDNESS): New macros.
      	(MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
      	(tree_type): Add pointer_depth member.  Remove
      	inaccurate comment about number of remaining bits.
      	(DECL_POINTER_DEPTH): Add macro.
      	(tree_decl): Add pointer_depth member.
      
      From-SVN: r33641
      Greg McGary committed
    • avr-protos.h (test_hard_reg_class): Declared. · 28e801e2
      
      	* config/avr/avr-protos.h (test_hard_reg_class): Declared.
      	* config/avr/avr.c (ashrhi3_out): optimized shift by 15.
      	(lshrhi3_out): Likewise.
      	(ashrsi3_out): bugfix in shift by 8.
      	(test_hard_reg_class): New function.
      	* config/avr/avr.md: Bugfix inside conditions in peepholes.
      	(ashlhi3): removed define_expand of this pattern.
      	(*ashlhi3_insn): renamed to ashlhi3.
      	(ashlsi3): removed define_expand of this pattern.
      	(*ashlsi3_insn): renamed to ashlsi3.
      	(ashrqi3): removed define_expand of this pattern.
      	(*ashrqi3_insn): renamed to ashrqi3.
      	(ashrhi3): removed define_expand of this pattern.
      	(*ashrhi3_insn): renamed to ashrhi3.
      	(ashrsi3): removed define_expand of this pattern.
      	(*ashrsi3_insn): renamed to ashrsi3.
      	(lshrhi3): removed define_expand of this pattern.
      	(*lshrhi3_insn): renamed to lshrhi3.
      	(lshrsi3): removed define_expand of this pattern.
      	(*lshrsi3_insn): renamed to lshrsi3.
      
      From-SVN: r33640
      Denis Chertykov committed
    • Replace inclusion of <stdio.h> with "system.h" · 4bd048ef
      From-SVN: r33639
      Rodney Brown committed
    • Patches from David Mosberger, and a patch to make bootstrap work. · 59da9a7d
      	* config/ia64/ia64.c (ia64_encode_section_info): Add check for
      	TREE_ASM_WRITTEN.
      	* config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
      	if -mauto-pic is on.
      	...
      
      From-SVN: r33638
      Jim Wilson committed
    • Makefile.in (STAGESTUFF): Add libgcc libgcc.mk. · 3ec83fc2
              * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
              (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
              (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
              (mklibgcc, libgcc.mk): New targets.
              (libgcc.a): Use libgcc.mk.
              (stmp-multilib): Likewise.
              (stmp-multilib-sub): Remove.
              (mostlyclean): Don't delete libgcc2 temp files.
              * configure.in (AC_PROG_CC_C_O): Add.
              (NO_MINUS_C_MINUS_O): Substitute it.
              (all_outputs): Add mklibgcc.
              * mklibgcc.in: New file.
      
      From-SVN: r33637
      Richard Henderson committed
    • expr.c (build_java_jsr): Use emit_jump, not expand_goto. · dd5d6281
      	* expr.c (build_java_jsr): Use emit_jump, not expand_goto.
      
      	* javaop.h (WORD_TO_INT): New function.
      	(IMMEDIATE_s4): Use WORD_TO_INT.
      	* jcf.h (JPOOL_INT): Ditto.
      
      	* gjavah.c (decode_signature_piece): Don't treat `$' as namespace
      	separator.
      
      From-SVN: r33636
      Tom Tromey committed
    • cppexp.c (op_t): Make an int. · 8c8de5fc
              * cppexp.c (op_t): Make an int.
      
              * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
      
              * varasm.c (initializer_constant_valid_p): Fix parenthesis.
      
              * gensupport.c (process_rtx): Fix macros used.
      
      From-SVN: r33635
      Jason Merrill committed