1. 24 Mar, 2002 4 commits
  2. 23 Mar, 2002 24 commits
  3. 22 Mar, 2002 12 commits
    • xtensa-protos.h (non_acc_reg_operand): Remove. · a8cacfd2
      	* config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
      	(xtensa_valid_move, xtensa_preferred_reload_class): Define.
      	* config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
      	(xtensa_valid_move, xtensa_preferred_reload_class): Define to
      	prevent use of sp as a reload register.
      	(xtensa_emit_move_sequence): Use xtensa_valid_move instead of
      	non_acc_reg_operand.
      	* config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
      	(PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
      	* config/xtensa/xtensa.md (movsi_internal, movhi_internal,
      	movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
      
      From-SVN: r51201
      Bob Wilson committed
    • c-pragma.c (maybe_apply_renaming_pragma): New. · 41c64394
              * c-pragma.c (maybe_apply_renaming_pragma): New.
              (handle_pragma_redefine_extname, pending_redefine_extname): New.
              (handle_pragma_extern_prefix, pragma_extern_prefix): New.
              (init_pragma): Register them.
              * c-pragma.h (maybe_apply_renaming_pragma): Declare.
              * c-decl.c (finish_decl): Call it.
              * cp/decl.c (cp_finish_decl): Likewise.
              * doc/extend.texi: Document the new pragmas.
      
              * config/alpha/osf.h (CPP_SUBTARGET_SPEC): Add __EXTERN_PREFIX.
              (HANDLE_PRAGMA_EXTERN_PREFIX): New.
      
              * config/i386/sol2.h (CPP_PREDEFINES): Add __PRAGMA_REDEFINE_EXTNAME.
              (HANDLE_PRAGMA_REDEFINE_EXTNAME): New.
              * config/sparc/sol2.h: Likewise.
      
              * g++.dg/other/pragma-re-1.C: New.
              * g++.dg/other/pragma-ep-1.C: New.
              * gcc.dg/pragma-re-1.c, gcc.dg/pragma-re-2.c: New.
              * gcc.dg/pragma-ep-1.c, gcc.dg/pragma-ep-2.c: New.
              * gcc.dg/pragma-ep-3.c: New.
      
      From-SVN: r51200
      Richard Henderson committed
    • dwarf2-1.C: Move... · 661fff62
      	* g++.old-deja/g++.other/dwarf2-1.C: Move...
      	* g++.dg/debug/debug5.C: ...here.  Convert for dg framework.
      
      From-SVN: r51197
      Jakub Jelinek committed
    • cpphash.h (struct cpp_reader): Remove mls_line and mls_col. · d4e6133f
              * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
              * cpplex.c (unterminated): Delete.
              (parse_string): No string literal may extend over multiple
              lines.  Suppress the error when preprocessing assembly.
      	* cppmain.c (scan_translation_unit): Strings are single-line.
      
              * doc/cpp.texi: Update to match.
              * testsuite/gcc.dg/cpp/multiline.c: Update to match.
      
      From-SVN: r51195
      Neil Booth committed
    • re PR rtl-optimization/5854 (initialize_uninitialized_subregs() breaks HC11/HC12 port) · 65e6c005
      	PR optimization/5854
      	* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
      	Shut up warnings.
      	(CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
      	(EXTRA_CONSTRAINT): Use S for non-push memory operand.
      	* config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
      	const0 if scratch register was not allocated.
      	(m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
      	m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
      	with GEN_INT (...).
      	(m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
      	* config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
      	with GEN_INT (...) everywhere.  Remove constraints in define_split
      	patterns.
      	(movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
      	require scratch register for setting 0 into regs/non-pushable memory.
      
      From-SVN: r51194
      Jakub Jelinek committed
    • typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index into the… · 9181f8db
      typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index into the vtable_entry array regardless of...
      
      * typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index
      into the vtable_entry array regardless of
      TARGET_PTRMEMFUNC_VBIT_LOCATION.
      
      From-SVN: r51192
      Jeff Knaggs committed
    • mips.h (MASK_RETURN_ADDR): Define. · 7f48c9e1
      * config/mips/mips.h (MASK_RETURN_ADDR): Define.
      (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
      
      From-SVN: r51191
      Alexandre Oliva committed
    • cpplib.h (struct cpp_options): New member, warn_endif_labels. · 909de5da
      2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
      
      	* cpplib.h (struct cpp_options):  New member, warn_endif_labels.
      	* cppinit.c (cpp_create_reader):  On by default.
      	(cpp_handle_option):  Handle -W[no-]endif-labels.
      	(cpp_post_options):  Also enable if -pedantic.
      	* cpplib.c (do_else):  Use it.
      	(do_endif):  Likewise.
      	* doc/cppopts.texi:  Document new option.
      	* doc/invoke.texi:  Document new option.
      
      From-SVN: r51190
      Phil Edwards committed
    • extratokens2.c: New file. · 4299b4e1
      2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
      
      	* gcc.dg/cpp/extratokens2.c:  New file.
      
      From-SVN: r51188
      Phil Edwards committed
    • i386.c, i386.md: Change all occurences of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). · d8bf17f9
              * config/i386/i386.c, config/i386/i386.md: Change all occurences
              of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
      
      From-SVN: r51186
      Lars Brinkhoff committed
    • vterminate.cc: Format, -fno-exceptions cleanup. · 2ca08953
      
      2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/vterminate.cc: Format, -fno-exceptions cleanup.
      
      From-SVN: r51185
      Benjamin Kosnik committed