1. 16 Dec, 2002 1 commit
  2. 13 Dec, 2002 1 commit
    • c-decl.c: Fix a comment typo. · 09da1532
      	* c-decl.c: Fix a comment typo.
      	* cfg.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* c-typeck.c: Likewise.
      	* dominance.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarfout.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* flow.c: Likewise.
      	* function.c: Likewise.
      	* gcc.c: Likewise.
      	* genautomata.c: Likewise.
      	* integrate.c: Likewise.
      	* loop.c: Likewise.
      	* loop.h: Likewise.
      	* output.h: Likewise.
      	* profile.c: Likewise.
      	* ra.h: Likewise.
      	* reload1.c: Likewise.
      	* reload.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* stmt.c: Likewise.
      	* tree.h: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r60085
      Kazu Hirata committed
  3. 22 Sep, 2002 1 commit
    • dbxout.c: Follow spelling conventions. · cc2902df
      	* dbxout.c: Follow spelling conventions.
      	* defaults.h: Likewise.
      	* df.c: Likewise.
      	* diagnostic.h: Likewise.
      	* doloop.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* flags.h: Likewise.
      	* flow.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genconfig.c: Likewise.
      	* genrecog.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc.h: Likewise.
      	* global.c: Likewise.
      	* gthr-win32.h: Likewise.
      	* integrate.c: Likewise.
      	* jump.c: Likewise.
      	* langhooks.c: Likewise.
      	* langhooks.h: Likewise.
      	* line-map.h: Likewise.
      	* local-alloc.c: Likewise.
      	* longlong.h: Likewise.
      	* loop.c: Likewise.
      	* loop.h: Likewise.
      
      From-SVN: r57406
      Kazu Hirata committed
  4. 15 Sep, 2002 1 commit
    • ChangeLog: Follow spelling conventions. · 981f6289
      	* ChangeLog: Follow spelling conventions.
      	* ChangeLog.0: Likewise.
      	* ChangeLog.1: Likewise.
      	* ChangeLog.2: Likewise.
      	* ChangeLog.4: Likewise.
      	* ChangeLog.6: Likewise.
      	* config.gcc: Likewise.
      	* dwarfout.c: Likewise.
      	* reload1.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* unwind-sjlj.c: Likewise.
      	* config/avr/avr.h: Likewise.
      	* config/d30v/d30v.h: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/frv/frv.h: Likewise.
      	* config/ip2k/ip2k.h: Likewise.
      	* config/m88k/m88k-move.sh: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/stormy16/stormy16.h: Likewise.
      	* doc/extend.texi: Likewise.
      	* doc/interface.texi: Likewise.
      	* doc/invoke.texi: Likewise.
      	* doc/md.texi: Likewise.
      	* doc/rtl.texi: Likewise.
      	* doc/tm.texi: Likewise.
      	* doc/trouble.texi: Likewise.
      	* ginclude/float.h: Likewise.
      	* treelang/treelang.texi: Likewise.
      
      From-SVN: r57179
      Kazu Hirata committed
  5. 15 Aug, 2002 1 commit
    • dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue. · 702ada3d
      	* dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
      	(xcoff_debug_hooks): Update end_prologue.
      	* debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
      	* debug.h (end_prologue): Add file arg.
      	(end_epilogue): Add line and file args.
      	(dwarf2out_end_epilogue): Add line and file args.
      	(vmsdbgout_after_prologue): Remove.
      	* dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
      	(dwarf2_debug_hooks): Update end_prologue.
      	* dwarfout.c (dwarfout_end_epilogue): Add line and file args.
      	(dwarfout_end_prologue): Add file arg.
      	* final.c (vmsdbgout_after_prologue): Remove
      	(final_end_function): Update end_epilogue call.
      	(final_scan_insn): Update end_prologue call.
      	* sdbout.c (sdbout_end_epilogue): Add line and file args.
      	(sdbout_end_prologue): Add file arg.
      	(sdb_debug_hooks): Update end_prologue.
      	(sdb_begin_prologue): Update sdbout_end_prologue call.
      	* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
      	vmsdbgout_end_function.
      	(vmsdbgout_end_prologue): New function renamed from
      	vmsdbgout_after_prologue. Call vmsdbgout_source_line.
      	(vmsdbgout_end_function): New function.
      	(vmsdbgout_end_epilogue): Add line and file args. Call
      	vmsdbgout_source_line.
      	(write_pclines): Write only valid line numbers.
      	(write_srccorr): Don't write source correlation records if 0 lines.
      	* xcoffout.c (xcoffout_end_epilogue): Add line and file args.
      
      From-SVN: r56356
      Douglas B Rupp committed
  6. 25 Jul, 2002 1 commit
  7. 09 Jul, 2002 1 commit
  8. 05 Jul, 2002 1 commit
  9. 17 Jun, 2002 2 commits
    • * dwarfout.c: Include function.h. · 9aa497ae
      From-SVN: r54715
      Tom Tromey committed
    • function.h (struct function): Rename profile_label_no. · df696a75
              * function.h (struct function) [funcdef_no]: Rename profile_label_no.
              (current_function_funcdef_no): Similarly.
              * function.c (funcdef_no): Similarly.
              (prepare_function_start): Set current_function_funcdef_no.
              (expand_function_start): Don't set current_function_profile_label_no.
              * dwarf2out.h (current_funcdef_number): Remove.
              * dwarf2out.c (current_funcdef_number): Remove.  Replace with
              current_function_funcdef_no throughout.
              * dwarfout.c, vmsdbgout.c: Similarly.
              * except.c (sjlj_funcdef_number): Remove.
              (sjlj_emit_function_enter): Use current_function_funcdef_no instead.
              (output_function_exception_table): Likewise.
              * final.c (profile_function): Use current_function_funcdef_no
              instead of current_function_profile_label_no.
      
      From-SVN: r54709
      Richard Henderson committed
  10. 11 May, 2002 1 commit
    • dbxout.c: Fix formatting. · 3a538a66
      	* dbxout.c: Fix formatting.
      	* dependence.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* doloop.c: Likewise.
      	* dominance.c: Likewise.
      	* doschk.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      
      From-SVN: r53380
      Kazu Hirata committed
  11. 12 Mar, 2002 1 commit
    • Makefile.in (debug.o): Depend on debug.h. · 54b6670a
      	* Makefile.in (debug.o): Depend on debug.h.
      	* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
      	* debug.c (do_nothing_debug_hooks): Likewise.
      	* debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
      	sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
      	dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
      	* dwarf2out.c (dwarf2_debug_hooks): Likewise.
      	* dwarfout.c (dwarf_debug_hooks): Likewise.
      	* integrate.c (output_inline_function): Likewise.
      	* objc/objc-act.c (synth_module_prologue): Likewise.
      	* sdbout.c (sdb_debug_hooks): Likewise.
      	* toplev.c (debug_hooks): Likewise.
      	* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
      
      From-SVN: r50635
      Kaveh R. Ghazi committed
  12. 27 Feb, 2002 1 commit
    • c-common.c, [...]: Delete code implementing -traditional mode. · f458d1d5
      	* c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
      	c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
      	cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
      	builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
      	gcc.c, toplev.c: Delete code implementing -traditional mode.
      
      	* ada/misc.c, ch/ch-tree.h, ch/decl.c, cp/decl2.c, f/com.c,
      	f/lex.c, f/top.c, java/builtins.c, java/decl.c: Delete
      	traditional-mode-related code copied from the C front end
      	but not used, or used only to permit the compiler to link.
      
      	* doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
      	doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
      	Document removal of -traditional mode for compilation, and
      	remove documentation only relevant to that mode.
      
      	* config/nextstep.h, config/ptx4.h, config/svr4.h,
      	config/convex/convex.h, config/d30v/d30v.h,
      	config/i386/dgux.h, config/i386/osf1elf.h,
      	config/i386/osfelf.h, config/i386/osfrose.h,
      	config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
      	config/m68k/hp310.h, config/m88k/dgux.h,
      	config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
      	config/m88k/m88k.h, config/m88k/openbsd.h,
      	config/mips/abi64.h, config/mips/osfrose.h,
      	config/mips/svr4-5.h, config/mips/svr4-t.h,
      	config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
      	config/stormy16/stormy16.h: Remove all references to
      	-traditional from target specs.  Delete all mention of the
      	no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
      	delete a couple of commented-out definitions of
      	DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
      	to -traditional.
      
      	* system.h: Poison TRADITIONAL_RETURN_FLOAT.
      	* doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
      
      	* testsuite/gcc.c-torture/execute/920730-1t.c,
      	testsuite/gcc.c-torture/execute/920730-1t.x,
      	testsuite/gcc.dg/ext-glob.c: Delete test cases, only relevant
      	to -traditional.
      
      From-SVN: r50110
      Zack Weinberg committed
  13. 22 Jan, 2002 1 commit
  14. 17 Dec, 2001 1 commit
    • target.h (asm_out.byte_op, [...]): New fields. · 301d03af
      	* target.h (asm_out.byte_op, asm_out.aligned_op, asm_out.unaligned_op,
      	asm_out.integer): New fields.
      	* target-def.h (TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_[HSDT]I_OP,
      	TARGET_ASM_UNALIGNED_[HSDT]I_OP, TARGET_ASM_INTEGER): New initialisers.
      	(TARGET_ASM_ALIGNED_INT_OP, TARGET_ASM_UNALIGNED_INT_OP): Collect
      	the individual initialisers together.
      	(TARGET_ASM_OUT): Add the new initialisers.
      	* output.h (assemble_integer): Return bool.
      	(integer_asm_op): Declare.
      	(default_assemble_integer): Declare.
      	(assemble_aligned_integer): New interface to assemble_integer.
      	* varasm.c (integer_asm_op): New function to select pseudo-op.
      	(default_assemble_integer): Default implementation of asm_out.integer.
      	(assemble_integer): Use the new target hook.  Split objects into
      	words or bytes if the target hook fails.  Return bool.
      	* doc/tm.texi (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_OUTPUT_SHORT,
      	ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_OUTPUT_QUADRUPLE_INT,
      	UNALIGNED_SHORT_ASM_OP,	UNALIGNED_INT_ASM_OP,
      	UNALIGNED_DOUBLE_INT_ASM_OP): Undocument.
      	Document new target hooks.
      
      	* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Use integer_asm_op.
      	* dwarf2asm.c (unaligned_integer_asm_op): Remove.
      	(dw2_assemble_integer): New.
      	(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
      	dw2_asm_output_pcrel, dw2_asm_output_addr, dw2_asm_output_addr_rtx,
      	dw2_asm_output_encoded_addr_rtx): Use it.
      	(dw2_asm_output_nstring): Use assemble_integer for the null terminator.
      	(dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128): Use
      	integer_asm_op to get the byte pseudo-op.  Use assemble_integer
              if it returns NULL.
      	* dwarf2asm.h (dw2_assemble_integer): Declare.
      	* dwarfout.c: Include dwarf2asm.h.  Use dwarf2 functions for the
      	default	implementation of most macros.
      	(output_unsigned_leb128): Use dw2_asm_output_data.
      	(output_signed_leb128, dwarfout_source_line): Likewise.
      	(output_reg_number): Use dw2_assemble_integer.
      	(generate_macinfo_entry): Separate the type and offset arguments.
      	Use assemble_integer to write the value.
      	(dwarfout_start_source_file): Update generate_macinfo_entry usage.
      	(dwarfout_end_source_file, dwarfout_define, dwarfout_undef): Likewise.
      	* final.c (output_addr_const): Don't put brackets round a subtracted
      	symbol value or ".".
      	* halfpic.c (half_pic_finish): Use assemble_aligned_integer.
      
      	* config/1750a/1750a.c (assemble_integer_1750a): New,
      	* config/alpha/alpha.h (literal_section): Avoid ASM_OUTPUT_INT.
      	* config/arc/arc.c (arc_assemble_integer): New.
      	* config/arc/arc.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
      	* config/arm/arm.c (arm_poke_function_name): Likewise.
      	(arm_assemble_integer): New, extracted from...
      	* config/arm/arm.h (OUTPUT_INT_ADDR_CONST): ...here, now removed.
      	(ARM_TRAMPOLINE_TEMPLATE, ARM_FUNCTION_PROFILER): Avoid ASM_OUTPUT_INT.
      	(ARM_FUNCTION_PROFILER): Likewise.
      	* config/avr/avr-protos.h (asm_output_byte): Remove.
      	(asm_output_char, asm_output_short): Remove.
      	* config/avr/avr.c (avr_assemble_integer): New.
      	(asm_output_byte, asm_output_char, asm_output_short): Remove.
      	* config/clipper/clipper.h (ASM_LONG): Remove.
      	* config/dsp16xx/dsp16xx-protos.h (asm_output_long): Remove.
      	* config/dsp16xx/dsp16xx.c (asm_output_long): Remove.
      	* config/elxsi/elxsi.c (elxsi_assemble_integer): New.
      	* config/i370/i370.c (i370_hlasm_assemble_integer): New.
      	* config/i370/i370.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
      	(ASM_BYTE, ASM_SHORT, ASM_LONG): Delete.
      	* config/i386/att.h, (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
      	* config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
      	ASM_LONG instead of UNALIGNED_INT_ASM_OP.
      	* config/i386/sco5.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
      	(ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
      	* config/i386/sysv4.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Use
      	ASM_LONG instead of UNALIGNED_INT_ASM_OP.
      	* config/i860/fx2800.h (ASM_FILE_END): Avoid ASM_LONG.
      	* config/i860/i860.c (i860_output_function_epilogue): Likewise.
      	* config/i860/i860.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
      	(ASM_SHORT, ASM_LONG): Undefine.
      	* config/i860/paragon.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
      	* config/i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
      	* config/i960/i960.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
      	* config/ia64/ia64.c (ia64_assemble_integer): New.
      	* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use integer_asm_op.
      	(ASM_OUTPUT_DWARF_PCREL): Likewise.
      	* config/m68hc11/m68hc11.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
      	ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT): Avoid ASM_LONG.
      	(ASM_SHORT, ASM_LONG): Remove.
      	* config/m68k/m68k.h (INT_OP_GROUP): New macro.
      	(INT_OP_STANDARD, INT_OP_DOT_WORD, INT_OP_NO_DOT, INT_OP_DC): New
      	macros, the allowed values for INT_OP_GROUP.
      	* config/m68k/amix.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP
      	* config/m68k/atari.h (ASM_OUTPUT_ASCII): Likewise
      	* config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Likewise
      	* config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
      	(INT_OP_GROUP): Define to INT_OP_NO_DOT.
      	* config/m68k/dpx2.h (ASM_LONG): Undefine.
      	(INT_OP_GROUP): Define to INT_OP_DC.
      	* config/m68k/dpx2g.h (ASM_LONG): Undefine.
      	* config/m68k/hp320.h (INT_OP_GROUP): Define to INT_OP_NO_DOT.
      	* config/m68k/lynx.h (ASM_LONG): Undefine.
      	* config/m68k/dpx2g.h (ASM_LONG): Undefine.
      	* config/m68k/m68kelf.h (ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
      	* config/m68k/m68kv4.h (ASM_OUTPUT_ASCII): Likewise.
      	(TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_*.
      	* config/m68k/mot3300.h (INT_OP_GROUP): Define to INT_OP_STANDARD
      	for GAS and INT_OP_NO_DOT otherwise.
      	(ASM_CHAR, ASM_BYTE, ASM_SHORT, ASM_LONG): Remove.
      	(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
      	ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid ASM_LONG.
      	(ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
      	* config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP): Remove.
      	(INT_OP_GROUP): Define to INT_OP_STANDARD.
      	(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
      	ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Avoid LONG_ASM_OP.
      	(ASM_OUTPUT_ASCII): Avoid BYTE_ASM_OP.
      	* config/m68k/tower-as.h (ASM_LONG): Remove.
      	(INT_OP_GROUP): Define to INT_OP_NO_DOT.
      	* config/m88k/m88k.c (output_tdesc): Avoid ASM_LONG.
      	* config/m88k/m88k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
      	(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid ASM_LONG.
      	* config/mips/iris5.h (TARGET_IRIX5): Define.
      	* config/mips/mips.c (mips_assemble_integer): New.
      	* config/mips/sni-svr4.h (ASM_LONG): Undefine.
      	* config/mmix/mmix-protos.h (mmix_asm_output_double_int): Remove.
      	* config/mmix/mmix.c (mmix_assemble_integer): New.
      	(mmix_asm_output_double_int): Remove.
      	(mmix_print_operand): Call mmix_output_octa directly.
      	* config/mmix/mmix.h (ASM_LONG): Remove.
      	* config/ns32k/ns32k.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_INT.
      	* config/pa/pa.c (pa_assemble_integer): New.
      	(pa_override_options): Only use aligned DI ops on 64-bit targets.
      	Only use the unaligned ops if TARGET_GAS.
      	* config/pdp11/pdp11.c (pdp11_assemble_integer): New.
      	* config/pdp11/pdp11.h (TRAMPOLINE_TEMPLATE): Avoid ASM_OUTPUT_SHORT.
      	* config/pj/pj.h (ASM_LONG): Undefine.
      	* config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Undefine.
      	* config/rs6000/rs6000.c (rs6000_assemble_integer): New, mostly
      	extracted from ASM_OUTPUT_INT in sysv4.h.  Use in_text_section()
      	and in_toc_section() rather than the in_section variable.
      	(rs6000_override_options): Only use DI ops when TARGET_POWERPC64.
      	* config/rs6000/sysv4.h (TOC_SECTION_FUNCTION): Add in_toc_section().
      	(RELOCATABLE_NEEDS_FIXUP): Define.
      	* config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Change space to tab.
      	* config/s390/linux.h (ASM_SHORT, ASM_LONG, ASM_QUAD): Remove.
      	(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use integer_asm_op
      	to get the word directive.
      	(ASM_OUTPUT_ASCII): Avoid ASM_BYTE_OP.
      	* config/s390/s390.c (s390_assemble_integer): New.
      	* config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use
      	integer_asm_op to get the word directive.
      	* config/sparc/sol2.h (ASM_SHORT, ASM_LONG): Remove.
      	* config/sparc/sparc-protos.h (output_double_int): Remove.
      	* config/sparc/sparc.c (output_double_int): Move to...
      	(sparc_assemble_integer): ...this new function.
      	(sparc_override_options): Only use .uaxword if TARGET_ARCH64.
      	* config/sparc/sparc.h (ASM_SHORT, ASM_LONG, ASM_LONGLONG): Remove.
      	* config/sparc/sysv4.h (ASM_LONG): Remove.
      	(ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Avoid
      	ASM_LONG.
      	* config/vax/vax.h (TRAMPOLINE_TEMPLATE): Use assemble_aligned_integer.
      	* config/we32k/we32k.h (TRAMPOLINE_TEMPLATE): Likewise.
      
      	* config/1750a/1750a.c, config/a29k/a29k.c, config/alpha/alpha.c,
      	config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c,
      	config/clipper/clipper.c, config/convex/convex.c, config/cris/cris.c,
      	config/d30v/d30v.c, config/dsp16xx/dsp16xx.c, config/elxsi/elxsi.c,
      	config/fr30/fr30.c, config/h8300/h8300.c, config/i370/i370.c,
      	config/i386/i386.c, config/i860/i860.c, config/i960/i960.c,
      	config/ia64/ia64.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
      	config/m68k/m68k.c, config/m88k/m88k.c, config/mips/mips.c,
      	config/mmix/mmix.c, config/mn10200/mn10200.c, config/mn10300/mn10300.c,
      	config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
      	config/sh/sh.c, config/sparc/sparc.c, config/stormy16/stormy16.c,
      	config/v850/v850.c, config/vax/vax.c, config/we32k/we32k.c
      	(TARGET_ASM_BYTE_OP, TARGET_ASM_ALIGNED_HI_OP,
      	TARGET_ASM_ALIGNED_SI_OP, TARGET_ASM_ALIGNED_DI_OP,
      	TARGET_ASM_UNALIGNED_HI_OP, TARGET_ASM_UNALIGNED_SI_OP,
      	TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_INTEGER): Redefine as
      	appropriate.
      
      	* config/defaults.h, config/darwin.h, config/elfos.h, config/svr3.h,
      	config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
      	config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h,
      	config/clipper/clipper.h, config/convex/convex.h, config/cris/cris.h,
      	config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
      	config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
      	config/i386/bsd.h, config/i386/djgpp.h, config/i386/i386.h,
      	config/i386/sco5.h, config/i386/sol2.h, config/i386/sun386.h,
      	config/i860/i860.h, config/i960/i960.h, config/ia64/ia64.h,
      	config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/auxas.h,
      	config/m68k/dpx2.h, config/m68k/hp320.h, config/m68k/m68k.h,
      	config/m68k/mot3300.h, config/m68k/sgs.h, config/m68k/tower-as.h,
      	config/m88k/m88k.h, config/mcore/mcore-elf.h, config/mcore/mcore.h,
      	config/mips/iris5.h, config/mips/iris6.h, config/mips/mips.h,
      	config/mmix/mmix.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h
      	config/ns32k/encore.h, config/ns32k/ns32k.h, config/pa/pa-64.h,
      	config/pa/pa.h, config/pdp11/pdp11.h, config/pj/pj.h,
      	config/romp/romp.h, config/rs6000/linux64.h, config/rs6000/rs6000.h,
      	config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/linux.h,
      	config/sh/sh.h, config/sparc/linux64.h, config/sparc/sol2.h,
      	config/sparc/sp64-elf.h, config/sparc/sparc.h, config/sparc/sysv4.h,
      	config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
      	config/we32k/we32k.h (ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE, ASM_BYTE_OP,
      	ASM_BYTE, ASM_OUTPUT_SHORT, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT,
      	UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
      	UNALIGNED_DOUBLE_INT_ASM_OP): Undefine, where defined.
      
      From-SVN: r48101
      Richard Sandiford committed
  15. 23 Nov, 2001 1 commit
    • ChangeLog.0, [...]: Fix spelling errors. · a1f300c0
      	* ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
      	FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
      	cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
      	dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
      	explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
      	sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
      
      From-SVN: r47279
      Joseph Myers committed
  16. 11 Nov, 2001 1 commit
    • ChangeLog.2, [...]: Fix spelling errors. · eaec9b3d
      	* ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
      	cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
      	collect2.c, combine.c, config.in, configure, configure.in,
      	conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
      	genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
      	reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
      	spelling errors.
      
      From-SVN: r46928
      Joseph Myers committed
  17. 09 Nov, 2001 1 commit
    • c-lang.c (LANG_HOOKS_NAME): New. · 3ac88239
      	* c-lang.c (LANG_HOOKS_NAME): New.
      	(lang_hooks): Constify.
      	(c_init_options): Update.
      	(lang_identify): Remove.
      	* c-parse.in (language_string): Remove.
      	* dbxout.c: Include langhooks.h.
      	(dbxout_symbol_location): Update.
      	* dwarf2out.c: Include langhooks.h.
      	(gen_compile_unit_die): Update.
      	* dwarfout.c: Include langhooks.h.
      	(prototyped_attribute, output_compile_unit_die): Update.
      	* langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
      	(LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.h (struct lang_hooks): New members.  Constify.
      	* stringpool.c: Don't include toplev.h.
      	(set_identifier_size): Remove.
      	* toplev.c (toplev_main): Initialize identifier size.
      	(print_version): Update.
      	* tree.h (language_string, init_lex, lang_identify,
      	set_identifier_size): Remove.
      	* Makefile.in: Update dependencies.
      	* config/darwin.c: Include langhooks.h.
      	(func_name_maybe_scoped): Update.
      	* config/darwin.h (ASM_END_FILE): Update.
      	* config/nextstep.h (ASM_END_FILE): Update.
      	* config/nextstep21.h (ASM_END_FILE): Update.
      	* config/i386/sun386.h (ASM_END_FILE): Update.
      	* config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
      	(rs6000_output_function_epilogue): Update.
      ada:
      	* misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
      	(struct lang_hooks): Constify.
      	(language_string, lang_identify): Remove.
      	* utils.c (init_decl_processing): Update.
      cp:
      	* cp-lang.c (LANG_HOOKS_NAME): Override.
      	(struct lang_hooks): Constify.
      	* lex.c (cxx_init_options): Update.
      	(lang_identify): Remove.
      	* parse.y (language_string): Remove.
      f:
      	* com.c (language_string, lang_identify): Remove.
      	(struct lang_hooks): Constify.
      	(LANG_HOOKS_NAME): Override.
      	(init_parse): Update.
      java:
      	* jcf-parse.c (init_lex): Remove.
      	* lang.c (language_string, lang_identify): Remove.
      	(struct lang_hooks): Constify.
      	(LANG_HOOKS_NAME): Override.
      	(init_parse): Update.
      objc:
      	* objc-act.c (LANG_HOOKS_NAME): Override.
      	(struct lang_hooks): Constify.
      	(objc_init_options): Update.
      	(lang_identify): Remove.
      
      From-SVN: r46874
      Neil Booth committed
  18. 11 Oct, 2001 1 commit
    • alias.c: Remove uses of "register" specifier in declarations of arguments and local... · b3694847
      2001-10-10  Stan Shebs  <shebs@apple.com>
      
              * alias.c: Remove uses of "register" specifier in declarations
              of arguments and local variables.
              * c-common.c: Ditto.
              * c-convert.c: Ditto.
              * c-decl.c: Ditto.
              * c-format.c: Ditto.
              * c-semantics.c: Ditto.
              * c-typeck.c: Ditto.
              * caller-save.c: Ditto.
              * calls.c: Ditto.
              * cfg.c: Ditto.
              * cfgbuild.c: Ditto.
              * cfgrtl.c: Ditto.
              * collect2.c: Ditto.
              * combine.c: Ditto.
              * convert.c: Ditto.
              * cppexp.c: Ditto.
              * cppfiles.c: Ditto.
              * cse.c: Ditto.
              * dbxout.c: Ditto.
              * defaults.h: Ditto.
              * df.c: Ditto.
              * dwarf2out.c: Ditto.
              * dwarfout.c: Ditto.
              * emit-rtl.c: Ditto.
              * explow.c: Ditto.
              * expmed.c: Ditto.
              * expr.c: Ditto.
              * final.c: Ditto.
              * fix-header.c: Ditto.
              * floatlib.c: Ditto.
              * flow.c: Ditto.
              * fold-const.c: Ditto.
              * function.c: Ditto.
              * gcc.c: Ditto.
              * gcse.c: Ditto.
              * gen-protos.c: Ditto.
              * genattrtab.c: Ditto.
              * gencheck.c: Ditto.
              * genconfig.c: Ditto.
              * genemit.c: Ditto.
              * genextract.c: Ditto.
              * genflags.c: Ditto.
              * gengenrtl.c: Ditto.
              * genoutput.c: Ditto.
              * genpeep.c: Ditto.
              * genrecog.c: Ditto.
              * gensupport.c: Ditto.
              * global.c: Ditto.
              * gmon.c: Ditto.
              * graph.c: Ditto.
              * haifa-sched.c: Ditto.
              * hard-reg-set.h: Ditto.
              * hash.c: Ditto.
              * integrate.c: Ditto.
              * jump.c: Ditto.
              * lists.c: Ditto.
              * local-alloc.c: Ditto.
              * loop.c: Ditto.
              * mips-tdump.c: Ditto.
              * mips-tfile.c: Ditto.
              * optabs.c: Ditto.
              * prefix.c: Ditto.
              * print-rtl.c: Ditto.
              * read-rtl.c: Ditto.
              * real.c: Ditto.
              * recog.c: Ditto.
              * reg-stack.c: Ditto.
              * regclass.c: Ditto.
              * regmove.c: Ditto.
              * reload.c: Ditto.
              * reload1.c: Ditto.
              * reorg.c: Ditto.
              * resource.c: Ditto.
              * rtl.c: Ditto.
              * rtlanal.c: Ditto.
              * scan.c: Ditto.
              * sched-deps.c: Ditto.
              * sched-rgn.c: Ditto.
              * sdbout.c: Ditto.
              * simplify-rtx.c: Ditto.
              * stmt.c: Ditto.
              * stor-layout.c: Ditto.
              * toplev.c: Ditto.
              * tradcif.y: Ditto.
              * tradcpp.c: Ditto.
              * tree.c: Ditto.
              * unroll.c: Ditto.
              * varasm.c: Ditto.
              * xcoffout.c: Ditto.
      
      From-SVN: r46173
      Stan Shebs committed
  19. 09 Oct, 2001 1 commit
    • c-common.c: Fix comment typos. · 4fe9b91c
      	* c-common.c: Fix comment typos.
      	* cfgrtl.c: Likewise.
      	* collect2.c: Likewise.
      	* cpplex.c: Likewise.
      	* doloop.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* global.c: Likewise.
      	* ifcvt.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	* protoize.c: Likewise.
      	* regclass.c: Likewise.
      	* reorg.c: Likewise.
      	* rtl.h: Likewise.
      	* stmt.c: Likewise.
      	* tree.h: Likewise.
      	* doc/cpp.texi: Likewise.
      	* doc/c-tree.texi: Likewise.
      	* doc/extend.texi: Likewise.
      	* doc/invoke.texi: Likewise.
      	* doc/objc.texi: Likewise.
      	* doc/tm.texi: Likewise.
      
      From-SVN: r46114
      Kazu Hirata committed
  20. 13 Sep, 2001 1 commit
    • c-parse.in (yyerror): Const-ification and/or static-ization. · 83182544
      	* c-parse.in (yyerror): Const-ification and/or static-ization.
      	* c-typeck.c (push_member_name): Likewise.
      	* collect2.c (main): Likewise.
      	* dbxout.c (dbxout_parms): Likewise.
      	* diagnostic.c (format_with_decl): Likewise.
      	* dwarf2out.c (output_ranges): Likewise.
      	* dwarfout.c (fundamental_type_code): Likewise.
      	* except.c (dw2_output_call_site_table): Likewise.
      	* gcc.c (do_spec_1): Likewise.
      	* genopinit.c (optabs): Likewise.
      	* objc/objc-act.c (synth_id_with_class_suffix, start_class,
      	gen_declaration_1, handle_impent): Likewise.
      	* protoize.c (default_include, in_system_include_dir, abspath):
      	Likewise.
      	* sched-vis.c (visualize_stall_cycles): Likewise.
      	* sdbout.c (plain_type_1, sdbout_end_function,
      	sdbout_end_epilogue): Likewise.
      	* varasm.c (decode_reg_name): Likewise.
      
      	* 1750a.c (mod_regno_adjust): Likewise.
      	* alpha.c (alpha_write_one_linkage,
      	unicosmk_output_default_externs): Likewise.
      	* arm.c (arm_condition_codes): Likewise.
      	* arm.h (arm_condition_codes): Likewise.
      	* avr.c (output_movsisf, encode_section_info): Likewise.
      	* darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
      	Likewise.
      	* i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
      	* i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
      	* m88k.c (output_function_profiler): Likewise.
      	* mips.c (mips_output_conditional_branch): Likewise.
      	* ns32k.c (ns32k_out_reg_names): Likewise.
      	* ns32k.h (ns32k_out_reg_names): Likewise.
      	* pj.c (pj_output_rval): Likewise.
      	* rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
      	* sparc.c (sparc_flat_function_prologue,
      	sparc_flat_function_epilogue): Likewise.
      
      cp:
      	* decl.c (warn_extern_redeclared_static, cp_make_fname_decl):
      	Const-ification.
      	* pt.c (tsubst_decl): Likewise.
      
      f:
      	* bad.c (ffebad_finish): Const-ification and/or static-ization.
      	* intrin.c (ffeintrin_cmp_name_): Likewise.
      	* stc.c (ffestc_R904): Likewise.
      
      java:
      	* expr.c (expand_invoke): Const-ification.
      	* parse.y (patch_method_invocation): Likewise.
      
      From-SVN: r45581
      Kaveh R. Ghazi committed
  21. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  22. 18 Aug, 2001 1 commit
    • defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Move from ... · c8af3574
      	* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
      	UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
      	* dwarf2asm.c: ... here.
      	* dwarfout.c: Remove them.
      
      	* varasm.c (assemble_integer): Add align parameter.
      	(assemble_real, output_constant, output_constructor): Likewise.
      	* output.h: Update decls.
      	* dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
      	config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
      	config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
      	config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
      	config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
      	Update all callers.
      
      	* final.c (end_final): Abort profile block generation if we
      	havn't layed it out properly.
      	* output.h (assemble_eh_integer): Remove stale decl.
      	* varasm.c (assemble_zeros): Tidy; use assemble_integer.
      	(min_align): New.
      	(assemble_integer): Handle unaligned data.
      	(assemble_real): Abort on unaligned data.
      	(output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
      	anything useful.
      	(default_dtor_section_asm_out_destructor): Use assemble_align.
      	(default_named_section_asm_out_constructor): Likewise.
      	(default_ctor_section_asm_out_constructor): Likewise.
      	* config/darwin.c (machopic_asm_out_constructor): Likewise.
      	(machopic_asm_out_destructor): Likewise.
      	* config/nextstep.c (nextstep_asm_out_constructor): Likewise.
      	(nextstep_asm_out_destructor): Likewise.
      	* config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
      	(vms_asm_out_destructor): Likewise.
      
              * java/class.c (emit_register_classes): Add align parameter to
              call to assemble_integer.
      
      From-SVN: r44992
      Richard Henderson committed
  23. 17 Aug, 2001 1 commit
    • varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_ASM_OP. · f99ffb60
              * varasm.c (text_section): Allow TEXT_SECTION to override the
              printing of TEXT_SECTION_ASM_OP.
              * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
              (DATA_SECTION, BSS_SECTION): Remove.
              * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
              RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
              Rename from s/_NAME//.
              * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
              (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
              (TEXT_SECTION): ... here.  New.
              * config/mips/elf.h (TEXT_SECTION): New; no file switching.
              * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
              * config/mips/openbsd.h: Likewise.
              * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
              (mips_asm_file_end): Likewise test.
              (mips_output_function_epilogue): Likewise.  Switch back to data
              section after emitting the function.
      
      From-SVN: r44973
      Richard Henderson committed
  24. 08 Aug, 2001 1 commit
    • dbxout.c: Fix comment formatting. · 30f7a378
      	* dbxout.c: Fix comment formatting.
      	* dependence.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dominance.c: Likewise.
      	* doprint.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* flow.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      
      From-SVN: r44729
      Kazu Hirata committed
  25. 01 Aug, 2001 1 commit
  26. 19 Jul, 2001 2 commits
    • Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h. · e1772ac0
      	* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
      	(final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
      	(toplev.o): Don't depend on xcoffout.h.
      	* c-decl.c: Include debug.h
      	(duplicate_decls): Use debug hook.
      	* dbxout.c (dbxout_source_file, dbxout_args): Make static.
      	(dbx_debug_hooks, xcoff_debug_hooks): Update.
      	(dbxout_types): Remove.
      	* dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
      	* debug.c (do_nothing_debug_hooks): Update.
      	(debug_true_tree, debug_nothing_rtx): New.
      	* debug.h (struct rtx_def): New.
      	(struct gcc_debug_hooks): New hooks ignore_block,
      	outlining_inline_function and label.
      	(debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
      	dwarf2out_frame_finish): New.
      	* dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
      	Make static, update prototype.
      	(dwarf2_debug_hooks): Update.
      	* dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
      	dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
      	* dwarfout.c (dwarf_debug_hooks): Update.
      	* emit-rtl.c: Include debug.h.
      	(remove_unnecessary_notes): Use debug hook.
      	* final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
      	(final_scan_insn): Use debug hook.
      	* integrate.c (output_inline_function): Use debug hook.
      	* sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
      	(sdb_debug_hooks): Update.
      	* sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
      	* toplev.c: Don't include xcoffout.h.
      	(note_outlining_of_inline_function, debug_ignore_block): Remove.
      	* toplev.h (note_outlining_of_inline_function, debug_ignore_block):
      	Remove.
      	* tree.h (dwarf2out_do_frame): Remove.
      
      From-SVN: r44163
      Neil Booth committed
    • Makefile.in (toplev.o, [...]): Don't depend on dwarfout.h. · 2b85879e
      	* Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
      	dwarfout.h.
      	* dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
      	to conditionally compiled block.
      	(dbx_debug_hooks, xcoff_debug_hooks): Update.
      	* dbxout.h (dbxout_function): Remove.
      	* debug.c (do_nothing_debug_hooks): Update.
      	* debug.h (struct gcc_debug_hooks): New hooks function_decl,
      	global_decl, deferred_inline_function.
      	* dwarf2out.c (dwarf2_debug_hooks): Update.
      	(dwarf2out_global_decl): New.
      	* dwarfout.c: Don't include dwarfout.h.
      	(dwarfout_global_decl, dwarfout_function_decl,
      	dwarfout_deferred_inline_function): New.
      	(dwarf_debug_hooks): Update.
      	* dwarfout.h: Remove.
      	* final.c: Don't include dwarfout.h.
      	* sdbout.c (sdbout_global_decl): New.
      	(sdbout_debug_hooks): Update.
      	* toplev.c: Don't include dwarfout.h.
      	(check_global_declarations, rest_of_compilation): Use new debug hooks.
      	(note_deferral_of_defined_inline_function): Remove.
      	* toplev.h (note_deferral_of_defined_inline_function): Remove.
      	* ch/Makefile.in (lex.o): No dependence on dwarfout.h.
      	* ch/lex.c: Don't include dwarfout.h.
      	* cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
      	(semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
      	* cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
      	* cp/optimize.c: Include debug.h.
      	(maybe_clone_body): Use debug hook.
      	* cp/semantics.c: Include debug.h.
      	(expand_body): Use debug hook.
      	* po/POTFILES.in: Remove dwarfout.h.
      
      From-SVN: r44145
      Neil Booth committed
  27. 17 Jul, 2001 1 commit
    • dbxout.c (dbxout_really_begin_function): Rename to dbxout_begin_function. · 653e276c
      	* dbxout.c (dbxout_really_begin_function): Rename to
      	dbxout_begin_function.
      	(dbx_debug_hooks, xcoff_debug_hooks): Update.
      	(dbxout_begin_function): Remove.
      	(dbxout_function): Update.
      	(dbxout_source_line): Update prototype.
      	* dbxout.h (dbxout_begin_function): Remove.
      	* debug.c (do_nothing_debug_hooks): Update.
      	(debug_nothing_tree): Update.
      	(debug_nothing_charstar_rtx): Remove.
      	* debug.h (union tree_node): Declare.
      	(struct rtx_def): Remove.
      	(gcc_debug_hooks): New hooks begin_prologue, end_prologue,
      	begin_function.  Change source_line prototype.
      	(debug_nothing_tree): New.
      	(debug_nothing_charstar_rtx): Delete.
      	(dwarf2out_begin_prologue): Moved from ...
      	* tree.h: ... here.
      	* dwarf2out.c (dwarf2_debug_hooks): Update.
      	(dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
      	debug info, call dwarf2out_source_line.
      	(dwarf2out_souce_line): Update prototype.
      	* dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
      	Change prototype, make static.
      	(dwarfout_source_line): Update prototype.
      	(dwarf_debug_hooks): Update.
      	* dwarfout.h (dwarfout_begin_function): Remove.
      	* final.c (final_start_function, final_scan_insn): Use appropriate
      	debug hooks, update to use notice_source_line.
      	(output_source_line): Rename notice_source_line.  Don't call the
      	source_line debug hook.
      	* sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
      	make static, update prototype.
      	(sdbout_mark_begin_function): Rename sdbout_begin_function, update
      	prototype.
      	(sdbout_end_prologue): New.
      	(sdbout_source_line): Update prototype.
      	(sdbout_debug_hooks): Update.
      	(sdbout_symbol): Remove unused var.
      	* sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
      	Delete.
      	* varasm.c: Include debug.h.
      	(assemble_start_function): Use begin_function debug_hook.
      	* xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
      	update with prototype.
      	(xcoffout_source_line): Update prototype.
      	* xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
      	update prototype.
      	(xcoffout_source_line): Update prototype.
      
      From-SVN: r44087
      Neil Booth committed
  28. 15 Jul, 2001 1 commit
    • dbxout.c (dbxout_source_line): Make static, update prototype. · e2a12aca
      	* dbxout.c (dbxout_source_line): Make static, update prototype.
      	(dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
      	(dbxout_init, dbxout_finish, dbxout_source_line,
      	dbxout_begin_block, dbxout_end_block): Update for new prototypes.
      	* dbxout.h (dbxout_source_line): Delete.
      	* debug.c (debug_nothing_file, debug_nothing_file_int,
      	debug_nothing_file_charstar_rtx): New.
      	(do_nothing_debug_hooks): Update.
      	(debug_nothing_void, debug_nothing_charstar_rtx,
      	dwarf2out_end_epilogue): New.
      	(debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
      	* debug.h (struct rtx_def): Declare.
      	(gcc_debug_hooks): New hooks source_line, end_epilogue
      	and end_function.
      	(debug_nothing_void, debug_nothing_charstar_rtx,
      	dwarf2out_end_epilogue): New.
      	(debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
      	* dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
      	(dwarf2_debug_hooks): Update.
      	(dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
      	dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
      	* dwarf2out.h (dwarf2out_source_line): Remove.
      	* dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
      	Make static, update prototype.
      	(dwarfout_init, dwarfout_finish, dwarfout_source_line,
      	dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
      	(dwarf_debug_hooks): Update.
      	* dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
      	dwarfout_end_function): Remove.
      	* final.c (profile_function): Use debug hooks for ending functions
      	and epilogues.
      	(output_source_line, final_end_function): Update prototype,
      	use debug hooks.
      	(final_start_function, final_scan_insn): Update.
      	* output.h (sdb_begin_function_line): Remove.
      	(final_end_function): Update prototype.
      	* sdbout.c (sdb_begin_function_line): Make static.
      	(PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
      	(sdbout_source_line): New.
      	(sdbout_end_epilogue, sdbout_end_function): Make static, update
      	prototypes.
      	(sdb_debug_hooks): Update.
      	(sdbout_init, sdbout_source_line,
      	sdbout_begin_block, sdbout_end_block): Update for new prototypes.
      	* sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
      	* toplev.c (compile_file, rest_of_compilation): Update.
      	* tree.h (dwarf2out_end_epilogue): Move to debug.h.
      	* xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
      	xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
      	Update for prototype changes.
      	* xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
      	xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
      
      From-SVN: r44017
      Neil Booth committed
  29. 12 Jul, 2001 1 commit
    • Makefile.in (final.o): Depend on debug.h. · a5a42b92
      	* Makefile.in (final.o): Depend on debug.h.
      	* dbxout.c (dbxout_begin_block, dbxout_end_block): New.
      	(dbx_debug_hooks): Add new hooks.
      	(xcoff_debug_hooks): New.
      	* debug.c (debug_nothing_file_int_int): New.
      	(do_nothing_debug_hooks): Update.
      	* debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
      	(debug_nothing_file_int_int): New.
      	* dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
      	static, update prototype.
      	(dwarf2_debug_hooks): Update.
      	* dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
      	* dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
      	static, update prototype.
      	(dwarf_debug_hooks): Update.
      	* dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
      	* final.c: Include debug.h.
      	(final_scan_insn): Use debug hooks when beginning and ending blocks.
      	* sdbout.c (sdbout_begin_block, sdbout_end_block): Make
      	static, update prototype.
      	(sdb_debug_hooks): Update.
      	* sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
      	* toplev.c: Distinguish between xcoff and dbx.
      
      	* f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
      	Call all debug hooks, not just dwarf ones.
      
      From-SVN: r43959
      Neil Booth committed
  30. 11 Jul, 2001 1 commit
    • Makefile.in (c-lex.o): Wrap long lines. · 7f905405
      	* Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
      	* c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
      	hooks directly.
      	* dbxout.c (dbx_debug_hooks): Add new hooks.
      	(dbxout_start_new_source_file): Rename dbxout_start_source_file,
      	make static.
      	(dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
      	make static.
      	* dbxout.h (dbxout_start_new_source_file,
      	dbxout_resume_previous_source_file): Delete.
      	* debug.c (do_nothing_debug_hooks): Add new hooks.
      	(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
      	(debug_nothing_int_charstar, debug_nothing_int): New.
      	* debug.h (gcc_debug_hooks): New hooks define, undef,
      	start_source_file and end_source_file.
      	(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
      	(debug_nothing_int_charstar, debug_nothing_int): New.
      	* dwarf2out.c (dwarf2_debug_hooks): Add new hooks.
      	(dwarf2out_start_source_file, dwarf2out_end_source_file,
      	dwarf2out_define, dwarf2out_undef): Make static.
      	* dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
      	dwarf2out_define, dwarf2out_undef): Remove.
      	* dwarfout.c (dwarf_debug_hooks): Add new hooks.
      	(dwarfout_start_source_file, dwarfout_end_source_file,
      	dwarfout_define, dwarfout_undef): Make static.
      	(dwarfout_start_source_file_check,
      	dwarfout_end_source_file_check): New.
      	(dwarfout_define, dwarfout_finish): Update.
      	* dwarfout.h (dwarfout_start_new_source_file,
      	dwarfout_resume_previous_source_file, dwarfout_define,
      	dwarfout_undef): Remove.
      	* sdbout.c (sdb_debug_hooks): Add new hooks.
      	(sdbout_start_new_source_file): Rename sdbout_start_source_file,
      	make static.
      	(sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
      	make static, take an arg.
      	* sdbout.h (sdbout_start_new_source_file,
      	sdbout_resume_previous_source_file): Delete.
      	* toplev.c (debug_start_source_file, debug_end_source_file,
      	debug_define, debug_undef): Delete.
      	* toplev.h (debug_start_source_file, debug_end_source_file,
      	debug_define, debug_undef): Delete.
      
      	* java/jcf-parse.c: Include debug.h.
      	(parse_class_file): Update to use debug hooks directly.
      	* java/Make-lang.in (jcf-parse.o): Depend on debug.h.
      
      From-SVN: r43952
      Neil Booth committed
  31. 10 Jul, 2001 1 commit
    • Makefile.in (toplev.o, [...]): Depend on debug.h, wrap long lines. · a51d908e
      	* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
      	dwarf2out.o): Depend on debug.h, wrap long lines.
      	* dbxout.c: Include debug.h.
      	(dbx_debug_hooks): New.
      	(dbxout_init): Make static, take just 2 args.
      	(dbxout_finish): Make static.
      	* dbxout.h (dbxout_init, dbxout_finish): Delete.
      	* debug.c: New file.
      	* debug.h: New file.
      	* dwarf2out.c: Include debug.h.
      	(dwarf2_debug_hooks): New.
      	(dwarf2out_init): Make static.
      	(dwarf2out_finish): Make static, take 2 args.
      	* dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
      	* dwarfout.c: Include debug.h.
      	(dwarf_debug_hooks): New.
      	(dwarfout_init): Make static.
      	(dwarfout_finish): Make static, take 2 args.
      	* dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
      	* sdbout.c: Include debug.h.
      	(sdb_debug_hooks): New.
      	(sdbout_init): Make static, take 2 args.
      	* sdbout.h (sdbout_init): Delete.
      	* toplev.c: Include debug.h.
      	(debug_hooks): New.
      	(compile_file): Set deubg_hooks based on command line options.
      	Use the hooks unconditionally rather than conditional compilation.
      
      From-SVN: r43908
      Neil Booth committed
  32. 21 May, 2001 1 commit
    • dwarf2out.c (DEBUG_ABBREV_SECTION, [...]): Rename from s/DEBUG_//. · 9d2f2c45
              * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
              DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
              DEBUG_STR_SECTION): Rename from s/DEBUG_//.  Update all users.
              * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
              DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
              Likewise.
              * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
              DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
              DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
              (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
              * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
              DEBUG_PUBNAMES_SECTION): Rename as above.
              (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
      
      From-SVN: r42368
      Richard Henderson committed
  33. 18 May, 2001 1 commit
  34. 12 May, 2001 1 commit
    • dwarfout.c (dwarfout_init): Add cast. · 90e0c410
      	* dwarfout.c (dwarfout_init): Add cast.
      	* sched-deps.c (sched_analyze_insn): Remove unused vars.
      	* unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
      cp:
      	* method.c (build_mangled_C99_name): Remove unused prototype.
      
      From-SVN: r41996
      Neil Booth committed
  35. 25 Apr, 2001 1 commit
  36. 09 Apr, 2001 1 commit
    • dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label. · 04448128
              * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
              (DEBUG_ARANGES_END_LABEL): Ditto.
              (dwarfout_init): Generate length and version fields at the start
              of the .debug_aranges info.  Insert DEBUG_ARANGES_BEGIN_LABEL
              after the length field.
              (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
              the .debug_aranges info.
      
      From-SVN: r41202
      Richard Sandiford committed
  37. 03 Apr, 2001 1 commit
    • Use byte offsets in SUBREGs instead of words. · ddef6bc7
      2001-04-03  Jakub Jelinek  <jakub@redhat.com>
      	    David S. Miller  <davem@pierdol.cobaltmicro.com>
                  Andrew MacLeod  <amacleod@redhat.com>
      
      	Use byte offsets in SUBREGs instead of words.
      
      	* alias.c (nonlocal_mentioned_p): Use subreg_regno function.
      	* caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
      	to pass new argument.
      	(add_stored_regs): Use subreg_regno_offset function.
      	* calls.c (expand_call): For non-paradoxical SUBREG take endianess
      	into account.
      	(precompute_arguments): Use gen_lowpart_SUBREG.
      	* combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
      	(combine_simplify_rtx): Rework to use SUBREG_BYTE.
      	(simplify_set): Rework to use SUBREG_BYTE.
      	(expand_field_assignment): Use SUBREG_BYTE.
      	(make_extraction): Use SUBREG_BYTE.
      	(if_then_else_cond): Use SUBREG_BYTE.
      	(apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
      	(gen_lowpart_for_combine): Compute full byte offset.
      	* cse.c (mention_regs): Use SUBREG_BYTE.
      	(remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
      	(canon_hash): Use SUBREG_BYTE.
      	(fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
      	(gen_lowpart_if_possible): Formatting.
      	* dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
      	correctly.
      	* dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
      	(mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
      	(loc_descriptor): Fixup explicit XEXP into SUBREG_REG
      	* dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
      	(output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
      	(output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
      	* emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
      	certain invariants about SUBREGs the compiler creates.
      	(gen_lowpart_SUBREG): New function.
      	(subreg_hard_regno): New function to get the final register number.
      	(gen_lowpart_common): Use SUBREG_BYTE.
      	(gen_imagpart): Spacing nits.
      	(subreg_realpart_p): Use SUBREG_BYTE.
      	(gen_highpart): Use SUBREG_BYTE.
      	(subreg_lowpart_p): Always compute endian corrected goal offset,
      	even at the byte level, then compare against that.
      	(constant_subword): New function, pulled out all constant cases
      	from operand_subword and changed second argument name to offset.
      	(operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
      	and call constant_subword to do the work.  Return const0_rtx if
      	looking for a word outside of OP.
      	(operand_subword_force): Change second arg name to offset.
      	* expmed.c (store_bit_field): Use SUBREG_BYTE.
      	(store_split_bit_field): Use SUBREG_BYTE.
      	(extract_bit_field): Use SUBREG_BYTE.
      	(extract_split_bit_field): Use SUBREG_BYTE.
      	(expand_shift): Use SUBREG_BYTE.
      	* expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
      	* final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
      	* flow.c (set_noop_p): Use SUBREG_BYTE.
      	(mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
      	* function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
      	(fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
      	correction code.
      	(optimize_bit_field): Use SUBREG_BYTE.
      	(purge_addressof_1): Use SUBREG_BYTE.
      	(purge_single_hard_subreg_set): Use subreg_regno_offset function.
      	(assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
      	actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
      	* gengenrtl.c (special_rtx): Add SUBREG.
      	* global.c (mark_reg_store): Use SUBREG_BYTE.
      	(set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
      	* ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
      	* integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
      	final byte offset is congruent to subreg's mode size.
      	(subst_constants): Use SUBREG_BYTE.
      	(mark_stores): Use subreg_regno_offset function.
      	* jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
      	function and SUBREG_BYTE.
      	* local-alloc.c (combine_regs): Use subreg_regno_offset function.
      	(reg_is_born): Use subreg_hard_regno.
      	* recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
      	endian correction code.  Don't combine subregs unless resulting
      	offset aligns with type.  Fix subreg constant extraction for DImode.
      	Simplify SUBREG of VOIDmode CONST_DOUBLE.
      	(general_operand): Remove dead mode_altering_drug code.
      	(indirect_operand): Use SUBREG_BYTE.
      	(constrain_operands): Use subreg_regno_offset function.
      	* reg-stack.c (get_true_reg): Use subreg_regno_offset function.
      	* regmove.c (regmove_optimize): Use SUBREG_BYTE.
      	(optimize_reg_copy_3): Use gen_lowpart_SUBREG.
      	* regs.h (REG_SIZE): Allow target to override.
      	(REGMODE_NATURAL_SIZE): New macro which target can override.
      	* reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
      	on the entire subreg rtx.
      	(push_reload): Use SUBREG_BYTE in comments and code.
      	(find_dummy_reload): Use subreg_regno_offset.  Only adjust offsets
      	for hard registers inside subregs.
      	(operands_match_p): Use subreg_regno_offset.
      	(find_reloads): Use SUBREG_BYTE and only advance offset for subregs
      	containing hard regs.
      	(find_reload_toplev): Use SUBREG_BYTE.  Remove byte endian
      	corrections when fixing up MEM subregs.
      	(find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
      	subreg_regno_offset where appropriate.
      	(find_reloads_subreg_address): Use SUBREG_BYTE.  Remove
      	byte endian corrections when fixing up MEM subregs.
      	(subst_reloads): When combining two subregs, make sure final
      	offset is congruent to subreg's mode size.
      	(find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
      	(refers_to_regno_for_reload_p): Use subreg_regno.
      	(reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
      	* reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
      	correction code for memory subreg fixups.
      	(forget_old_reload_1): Use subreg_regno_offset.
      	(choose_reload_regs): Use subreg_regno.
      	(emit_input_reload_insns): Use SUBREG_BYTE.
      	(reload_combine_note_store): Use subreg_regno_offset.
      	(move2add_note_store): Use subreg_regno_offset.
      	* resource.c (update_live_status, mark_referenced_resources): Use
      	subreg_regno function.
      	(mark_set_resources): Use subreg_regno function.
      	* rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
      	(subreg_regno_offset, subreg_regno): Define prototypes.
      	(subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
      	(gen_lowpart_SUBREG): Add prototype.
      	* rtl.texi (subreg): Update to reflect new byte offset representation.
      	Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
      	* rtlanal.c (refers_to_regno_p): Use subreg_regno.
      	(reg_overlap_mentioned_p): Use subreg_regno.
      	(replace_regs); Make sure final offset of combined subreg is
      	congruent to size of subreg's mode.
      	(subreg_regno_offset): New function.
      	(subreg_regno): New function.
      	* sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
      	* sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
      	* stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
      	* tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
      	(SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
      	* config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
      	(a29k_get_reloaded_address): Use SUBREG_BYTE.
      	(print_operand): Use SUBREG_BYTE.
      	* config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
      	* config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
      	(arm_reload_out_hi): Use SUBREG_BYTE.
      	* config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
      	instead of SUBREG_WORD.
      	(d30v_print_operand_memory_reference): Use subreg_regno_offset.
      	* config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
      	SUBREG creation to use byte offset.
      	* config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
      	inverted load insns): Fix explicit rtl subregs to use byte
      	offsets.
      	* config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
      	udivsi3, umodsi3): Generate SUBREGs with byte offsets.
      	* config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
      	* config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
      	to use byte offsets.
      	(unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
      	* config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
      	offsets, also make sure it is congruent to SUBREG's mode size.
      	(extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
      	unnamed ldob insn): Generate SUBREGs with byte offset.
      	(zero_extendqihi2): SUBREG's are byte offsets.
      	* config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
      	(m68hc11_gen_highpart): Use SUBREG_BYTE.
      	* config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
      	zero-extendqisi2): Generate SUBREGs with byte offset.
      	(umulsidi3, mulsidi3, subreghi1ashrdi_const32,
      	subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
      	subregs in rtl to use byte offsets.
      	* config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
      	* config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
      	(mips_move_2words): Use subreg_regno_offset.
      	(mips_secondary_reload_class): Use subreg_regno_offset.
      	* config/mips/mips.md (DImode plus, minus, move, and logical op
      	splits): Fixup explicit subregs in rtl to use byte offsets.
      	* config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
      	* config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
      	* config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
      	rtl to use byte offsets.
      	* config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
      	* config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
      	subregs to use byte offsets.
      	* config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
      	Fixup explicit subregs in rtl to use byte offsets.
      	* config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
      	and remove byte endian correction code.
      	* config/sh/sh.c (output_movedouble): Use subreg_regno.
      	(gen_ashift_hi): Use SUBREG_BYTE.
      	(regs_used): Use subreg_regno_offset.
      	(machine_dependent_reorg): Use subreg_regno_offset.
      	* config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
      	* config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
      	(movdf_i4): Subregs are byte offsets now.
      	* config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
      	* config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
      	(REGMODE_NATURAL_SIZE): Override.
      	(REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
      	* config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
      	with byte offsets.
      	(zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
      	extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
      	extendqidi2): Generate SUBREGs with byte offsets, also make sure
      	it is congruent to SUBREG's mode size.
      	(smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
      	offsets.
      	(cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
      	cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
      	lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
      	SUBREG_BYTE offset for non-paradoxical subregs in patterns.
      	* config/v850/v850.c (print_operand, output_move_double): Use
      	subreg_regno function.
      
      Co-Authored-By: Andrew MacLeod <amacleod@redhat.com>
      Co-Authored-By: David S. Miller <davem@pierdol.cobaltmicro.com>
      
      From-SVN: r41058
      Jakub Jelinek committed
  38. 21 Feb, 2001 1 commit
    • tree.h (DECL_UNINLINABLE): Move from C++ frontend. · 5daf7c0a
              * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
              (struct tree_decl): Add uninlinable bitfield.
              * c-decl.c (duplicate_decls): Set it.
              * integrate.c (function_cannot_inline_p): Check it.
              * cp-tree.h (struct lang_decl_flags): Remove uninlinable flag.
              (DECL_UNINLINABLE): Move to middle-end.
      
              * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
              DW_AT_MIPS_linkage_name to abstract methods.
              (dwarf2out_abstract_function): Emit class context before calling
              set_decl_abstract_flags.  Don't clear DECL_ABSTRACT.
              (gen_subprogram_die): Remove obsolete code.
              (gen_member_die): Don't include clones in the member list.
              (gen_decl_die): Emit abstract info for clone origin.
              * dwarfout.c (output_type): Don't include clones in the member list.
              * dbxout.c (dbxout_type_methods): Ignore abstract methods.
              * toplev.c (note_deferral_of_defined_inline_function): Don't clear
              DECL_ABSTRACT on a function that already has it set.
              * class.c (clone_function_decl): Set DECL_ABSTRACT on original fn.
              * decl.c (duplicate_decls): Preserve DECL_ABSTRACT.
              * class.c (build_clone): Set DECL_ABSTRACT_ORIGIN for the clone.
              * optimize.c (maybe_clone_body): Set DECL_ABSTRACT_ORIGIN for the
              parms and outer BLOCK.  note_deferral_of_defined_inline_function.
      
              * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
              (get_subprogram_die): Pass it in.
              * method.c (implicitly_declare_fn): Don't set DECL_ARTIFICIAL on
              second parm of op=.
      
      From-SVN: r39945
      Jason Merrill committed