1. 13 Mar, 2002 15 commits
    • c-typeck.c (convert_for_assignment): Don't allow conversions between pointers and references. · a1652cee
              * c-typeck.c (convert_for_assignment): Don't allow conversions
              between pointers and references.  Only allow lvalues to convert to
              reference.
      
      From-SVN: r50731
      Jason Merrill committed
    • s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code before prologue, to avoid scheduling problems. · c52a375d
              * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
              before prologue, to avoid scheduling problems.
      
      From-SVN: r50730
      Hartmut Penner committed
    • Daily bump. · 96395e3a
      From-SVN: r50729
      GCC Administrator committed
    • sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. · e387e99b
      	* config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
      	(ELIMINABLE_REGS): Add sfp->sp.
      	(INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
      
      From-SVN: r50725
      Jakub Jelinek committed
    • re PR rtl-optimization/5892 (ICE in gen_nop_type during 2.4.17 ia64 kernel build) · 09948ece
      	PR optimization/5892
      	* config/ia64/ia64.c (rotate_one_bundle): Update current packet.
      
      	* gcc.c-torture/compile/20020312-1.c: New test.
      
      From-SVN: r50723
      Jakub Jelinek committed
    • loop.c (basic_induction_var): Don't call convert_modes if mode classes are different. · 4061c1a3
      	* loop.c (basic_induction_var): Don't call convert_modes if mode
      	classes are different.
      
      	* gcc.c-torture/compile/20020309-2.c: New test.
      
      From-SVN: r50721
      Jakub Jelinek committed
    • re PR target/5901 ([IA64] misplaced .body) · 9f53e965
              PR optimization/5901
              * function.c (reposition_prologue_and_epilogue_notes): Position
              the markers after/before the last/first insn not deleted.
      
      From-SVN: r50715
      Richard Henderson committed
    • re PR rtl-optimization/5878 (gcc 3.1 breaks on C code generated by the Mercury compiler) · 5b43fed1
      	PR 5878
      	* config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
      	config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
      	(PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
      
      	* config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
      	config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
      	PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
      
      	* config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
      	* config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
      	(arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
      	also.  Don't set it if not flag_pic.
      	* config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
      	to be INVALID_REGNUM when not used.
      
      	* gcc.dg/20020312-2.c: New.
      
      From-SVN: r50713
      Richard Henderson committed
    • reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> · 56d4fe31
      	reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
      	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.
      
      From-SVN: r50709
      Loren J. Rittle committed
    • ctype_noninline.h: Cast to unsigned char. · f7145757
      2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
                  Per Liboriussen  <liborius@stofanet.dk>
      
      	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
      	unsigned char.
      	* config/os/gnu-linux/bits/ctype_inline.h: Same.
      
      	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.
      
      	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
      	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
      
      	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
      	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
      
      	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
      	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
      
      	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.
      
      Co-Authored-By: Per Liboriussen <liborius@stofanet.dk>
      
      From-SVN: r50708
      Benjamin Kosnik committed
    • expmed.c (store_bit_field): Reset alias set for memory. · 4e9bb42b
      2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
      
              * expmed.c (store_bit_field): Reset alias set for memory.
              (extract_bit_field): Same.
      
      From-SVN: r50706
      Aldy Hernandez committed
    • c-common.c (c_tree_code_type, [...]): Delete. · 2f9834e8
      	* c-common.c (c_tree_code_type, c_tree_code_length,
      	c_tree_code_name, add_c_tree_codes): Delete.
      	* c-common.h (add_c_tree_codes): Delete.
      	* c-lang.c (tree_code_type, tree_code_length, tree_code_name):
      	Define.
      	* c-objc-common.c (c_objc_common_init): Don't call
      	add_c_tree_codes, instead set lang_unsafe_for_reeval.
      	* objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
      	objc_tree_code_name, add_objc_tree_codes): Delete.
      	(objc_init): Don't call add_objc_tree_codes.
      	* objc/objc-lang.c (tree_code_type, tree_code_length,
      	tree_code_name): Define.
      	* toplev.c (lang_independent_init): Don't set
      	tree_code_length[IDENTIFIER_NODE].
      	* tree.c (tree_code_type, tree_code_length, tree_code_name):
      	Delete definitions, moved to language front-ends.
      	* tree.def (IDENTIFIER_NODE): Hardwire the length.
      	* tree.h (tree_code_type, tree_code_length, tree_code_name):
      	Const-ify.
      	(tree_code_length): Change type to unsigned char.
      
      ada:
      	* misc.c (gnat_tree_code_type, gnat_tree_code_length,
      	gnat_tree_code_name): Delete.
      	(tree_code_type, tree_code_length, tree_code_name): Define.
      	(gnat_init): Don't try to copy into the various tree_code
      	arrays.
      
      ch:
      	* decl.c (chill_tree_code_type, chill_tree_code_length,
      	chill_tree_code_name): Delete.
      	(tree_code_type, tree_code_length, tree_code_name): Define.
      	(init_decl_processing): Don't try to copy into the various
      	tree_code arrays.
      
      cp:
      	* cp-lang.c (tree_code_type, tree_code_length, tree_code_name):
      	Define.
      	* decl.c (duplicate_decls): Use TREE_CODE_LENGTH, not
      	tree_code_length.
      	* lex.c (cplus_tree_code_type, cplus_tree_code_length,
      	cplus_tree_code_name): Delete.
      	(cxx_init): Don't call add_c_tree_codes, instead set
      	lang_unsafe_for_reeval.  Don't try to copy into the various
      	tree_code arrays.
      
      f:
      	* com.c (tree_code_type, tree_code_length, tree_code_name):
      	Define.
      
      java:
      	* lang.c (java_tree_code_type, java_tree_code_length,
      	tree_code_name): Delete.
      	(tree_code_type, tree_code_length, tree_code_name): Define.
      	(java_init): Don't try to copy into the various tree_code
      	arrays.
      
      From-SVN: r50705
      Kaveh R. Ghazi committed
    • i386.c (ix86_expand_prologue): Revert 2002-03-03 internal visibility change. · 36ad2436
              * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
              internal visibility change.
      
      From-SVN: r50704
      Richard Henderson committed
    • Makefile.in (NOTPARALLEL): New. · c2273204
              * Makefile.in (NOTPARALLEL): New.  Use it instead of explicit
              .NOTPARALLEL tag.
              (do-check): Rename from check.
              (check): Allow parallel check.
      
      From-SVN: r50700
      Richard Henderson committed
    • Fix typo in comment. · f4a12653
      From-SVN: r50699
      Richard Henderson committed
  2. 12 Mar, 2002 25 commits