1. 18 Dec, 2001 3 commits
    • machmode.h (mode_name, [...]): Set array size in declaration to NUM_MACHINE_MODES. · 86460bab
      	* machmode.h (mode_name, mode_class, mode_size, mode_unit_size,
      	mode_bitsize, mode_mask_array, mode_wider_mode): Set array size in
      	declaration to NUM_MACHINE_MODES.
      	(mode_size, mode_unit_size): Set array type to unsigned char.
      	(mode_bitsize): Set array type to unsigned short.
      
      	* rtl.c (rtx_length): Set array type to unsigned char.
      	(rtx_length, rtx_name, rtx_format, rtx_class): Set array size to
      	NUM_RTX_CODE.
      	(mode_bitsize): Set array type to unsigned short.
      	(mode_size, mode_unit_size): Set array type to unsigned char.
      	(mode_name, mode_class, mode_bitsize, mode_size, mode_unit_size,
      	mode_wider_mode, mode_mask_array): Set array size to
      	NUM_MACHINE_MODES.
      
      	* rtl.h (rtx_length, rtx_name, rtx_format, rtx_class): Set array
      	size in declaration to NUM_RTX_CODE.
      
      From-SVN: r48139
      Kaveh R. Ghazi committed
    • * config/alpha/alpha.md (unop): Encode RB as $sp. · 29b06e35
      From-SVN: r48137
      Richard Henderson committed
    • gnat_rm.texi: Fix minor typos. · 3a77b68d
      	* gnat_rm.texi: Fix minor typos. Found while reading the section
      	regarding "Bit_Order Clauses" that was sent to a customer.
      	Very interesting documentation!
      
      	* sem_case.adb (Choice_Image): Avoid creating improper character
      	literal names by using the routine Set_Character_Literal_Name. This
      	fixes bombs in certain error message cases.
      
      	* a-reatim.adb: Minor reformatting.
      
      	* sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
      	case where the formal is an extension of another formal in the current
      	unit or in a parent generic unit.
      
      	* s-tposen.adb: Update comments.  Minor reformatting.
      	Minor code clean up.
      
      	* s-tarest.adb: Update comments.  Minor code reorganization.
      
      	* exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
      	when Java_VM.
      
      	* exp_attr.adb: Minor reformatting
      
      	* sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
      	derivations nested within a child unit: verify that the parent
      	type is declared in an outer scope.
      
      	* sem_ch12.adb: Minor reformatting
      
      	* sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
      	warning if current unit is a predefined one, from which bodies may
      	have been deleted.
      
      	* eval_fat.ads: Add comment that Round_Even is referenced in Ada code
      	Fix header format. Add 2001 to copyright date.
      
      	* exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
      	which caused CE during compilation if checks were enabled.
      
      From-SVN: r48136
      Geert Bosch committed
  2. 17 Dec, 2001 37 commits
    • Makefile.in: Update dependencies. · 3b27886e
      	* Makefile.in: Update dependencies.
      	* c-lang.c: Remove unnecessary includes.
      	(deferred_fns, start_cdtor, finish_cdtor, defer_fn): Move to
      	c-objc-common.c.
      	(finish_file): Move body to c_common_finish_file.
      	* c-objc-common.c: Include varray.h and ggc.h.
      	(deferred_fns, start_cdtor, finish_cdtor, defer_fn,
      	expand_deferred_fns, c_objc_common_finish_file): Moved from c-lang.c.
      	(c_objc_common_init): Initialize deferred function array.
      	* c-tree.h (c_objc_common_finish_file,
      	static_ctors, static_dtors): New.
      objc:
      	* Make-lang.in: Update dependencies.
      	* objc/objc-act.c: Don't include varray.h.
      	(defer_fn, deferred_fns): Move to c-objc-common.c.
      	(objc_init): Similarly for initialization of it.
      	(finish_file): Move some to c-objc-common.c, use
      	c_objc_common_finish_file.
      
      From-SVN: r48134
      Neil Booth committed
    • prune.exp: New file · 9e78e45a
      2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
      
      	libstdc++/5136
      	* testsuite/lib/prune.exp: New file
      	* testsuite/lib/libstdc++-v3-dg.exp: Use it
      
      From-SVN: r48133
      David Billinghurst committed
    • rs6000.c: Remove is_gpr_return_reg prototype. · ee540714
      2001-12-17  Aldy Hernandez  <aldyh@redhat.com>
      
              * config/rs6000/rs6000.c: Remove is_gpr_return_reg prototype.
      
      From-SVN: r48132
      Aldy Hernandez committed
    • * doc/cppinternals.texi: Update. · dee03828
      From-SVN: r48130
      Neil Booth committed
    • * gcc.c-torture/execute/20011217-1.c: New test. · 2d628c25
      From-SVN: r48129
      Jeff Law committed
    • expmed.c (emit_store_flag): Extract updated comparison code from the return… · 8f08e8c0
      expmed.c (emit_store_flag): Extract updated comparison code from the return value of compare_from_rtx.
      
              * expmed.c (emit_store_flag): Extract updated comparison code
              from the return value of compare_from_rtx.
              * expr.c (do_store_flag): Similarly.
      
      From-SVN: r48128
      Jeff Law committed
    • * make.adb: · 79503fdd
      	(Switches_Of): New function
      	(Test_If_Relative_Path): New procedure
      	(Add_Switches): Use new function Switches_Of
      	(Collect_Arguments_And_Compile): Use new function Switches_Of.
      	When using a project file, test if there are any relative
      	search path. Fail if there are any.
      	(Gnatmake): Only add switches for the primary directory when not using
      	a project file. When using a project file, change directory to the
      	object directory of the main project file. When using a project file,
      	test if there are any relative search path. Fail if there are any.
      	When using a project file, fail if specified executable is relative
      	path with directory information, and prepend executable, if not
      	specified as an absolute path, with the exec directory.  Make sure
      	that only one -o switch is transmitted to the linker.
      
      	* prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
      
      	* prj-nmsc.adb:
      	(Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
      	when using a non standard naming scheme.
      	(Check_Ada_Naming_Scheme): Make sure that error messages
      	do not raise exceptions.
      	(Is_Illegal_Append): Return True if there is no dot in the suffix.
      	(Language_Independent_Check): Check the exec directory.
      
      	* prj.adb (Project_Empty): Add new component Exec_Directory
      
      	* prj.ads:
      	(Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
      	(Project_Data): Add component Exec_Directory
      
      	* snames.adb: Updated to match snames.ads revision 1.215
      
      	* snames.ads: Added Exec_Dir
      
      	* make.adb: Minor reformatting
      
      	* prj-nmsc.adb: Minor reformatting
      
      	* snames.adb: Updated to match snames.ads
      
      	* snames.ads: Alphebetize entries for project file
      
      	* trans.c (process_freeze_entity): Do nothing if the entity is a
      	subprogram that was already elaborated.
      
      	* decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
      	and Esize if object is referenced via pointer.
      
      From-SVN: r48127
      Geert Bosch committed
    • sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant is discrete… · 855ff2e1
      sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant is discrete before analyzing choices.
      
      	* sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
      	is discrete before analyzing choices.
      
      	* bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
      	containing the name of the Ada Main Program. This string is mainly
      	intended for the debugger.
      	(Gen_Output_File_C): Do the equivalent change when generating a C file.
      
      	* ali.adb: Set new Dummy_Entry field in dependency entry
      
      	* ali.ads: Add Dummy_Entry field to source dependency table
      
      	* bcheck.adb (Check_Consistency): Ignore dummy D lines
      
      	* lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
      
      	* lib-writ.ads: Document dummy D lines for missing files.
      
      	* types.ads: (Dummy_Time_Stamp): New value for non-existant files
      
      From-SVN: r48126
      Geert Bosch committed
    • ali.adb: Type reference does not reset current file. · c1c22e7a
      	* ali.adb: Type reference does not reset current file.
      
      	* ali.adb: Recognize and scan renaming reference
      
      	* ali.ads: Add spec for storing renaming references.
      
      	* lib-xref.ads: Add documentation for handling of renaming references
      
      	* lib-xref.adb: Implement output of renaming reference.
      
      	* checks.adb:
      	(Determine_Range): Document local variables
      	(Determine_Range): Make sure Hbound is initialized. It looks as though
      	 there could be a real problem here with an uninitialized reference
      	 to Hbound, but no actual example of failure has been found.
      
      	* g-socket.ads:
      	Fix comment of Shutdown_Socket and Close_Socket. These functions
      	should not fail silently because if they are called twice, this
      	probably means that there is a race condition in the user program.
      	Anyway, this behaviour is consistent with the rest of this unit.
      	When an error occurs, an exception is raised with the error message
      	as exception message.
      
      From-SVN: r48125
      Geert Bosch committed
    • frontend.adb: Move call to Check_Unused_Withs from Frontend... · 7eb7bb07
      	* frontend.adb: Move call to Check_Unused_Withs from Frontend, so
      	that it happens before modification of Sloc values for -gnatD.
      
      	* gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
      	so that it happens before modification of Sloc values for -gnatD.
      
      	* switch.adb: Minor reformatting
      
      From-SVN: r48124
      Robert Dewar committed
    • prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... · b1085d2d
      	* prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
      	Default_Ada_...
      
      	* prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
      	Remove functions.
      	(Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
      
      	* prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
      	Remove functions.
      	(Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
      
      From-SVN: r48123
      Geert Bosch committed
    • oops - omitted from previous delta. · d6c1ace7
      From-SVN: r48122
      Nick Clifton committed
    • * doc/install.texi2html: Use -I $SOURCEDIR. · 0b0aff5c
      From-SVN: r48121
      Joseph Myers committed
    • update_web_docs: Use makeinfo --html instead of texi2html. · f488ffcb
      	* update_web_docs: Use makeinfo --html instead of texi2html.
      	Remove support for pre-3.1 GCC versions.  Build online docs for
      	gccint manual.
      
      From-SVN: r48120
      Joseph Myers committed
    • Separate user and internals manuals. · b11cc610
      	* Makefile.in (info, $(docdir)/gcc.info, dvi, gcc.dvi): Update
      	dependencies.
      	($(docdir)/gccint.info, gccint.dvi): New targets.
      	(maintainer-clean, install-info, uninstall): Update.
      	* doc/.cvsignore: Add gccint.info*.
      	* doc/include/gcc-common.texi: New file.
      	* doc/gcc.texi: Use it.  Adjust to be a user-only manual.  Put
      	copyright notice in a macro.  Don't include ISBN unless FSFPRINT
      	is defined.
      	* doc/gccint.texi: New file.
      	* doc/configfiles.texi, doc/extend.texi, doc/invoke.texi,
      	doc/md.texi, doc/passes.texi, doc/tm.texi, doc/trouble.texi:
      	Update for separate user and internals manuals.
      
      f:
      	* g77.texi, invoke.texi: Update links to GCC manual.
      
      java:
      	* gcj.texi: Update link to GCC manual.
      
      From-SVN: r48119
      Joseph Myers committed
    • parse.y (link_nested_class_to_enclosing): Removed useless statement. · e97562f5
      	* parse.y (link_nested_class_to_enclosing): Removed useless
      	statement.
      
      From-SVN: r48118
      Tom Tromey committed
    • rs6000.h: CPP_CPU_SPEC: add mcpu=7400. · fd3b43f2
               * config/rs6000/rs6000.h:  CPP_CPU_SPEC: add mcpu=7400.
               ASM_CPU_SPEC: Ditto.
               RTX_COSTS: Fix timing info for 7450 multiply.
               * config/rs6000/rs6000.md:  Fix timing info for 7450 imul.
               Allow floats to be kept in int regs in movsf_low,
               movsf_low_st (Darwin only)
      
      From-SVN: r48117
      Dale Johannesen committed
    • rs6000.c (vrsave_operation): Recognize SETs in parallel. · 9aa86737
      2001-12-17  Aldy Hernandez  <aldyh@redhat.com>
      
              * config/rs6000/rs6000.c (vrsave_operation): Recognize SETs in
              parallel.
              (is_gpr_return_reg): New.
              (rs6000_emit_prologue): Call generate_set_vrsave with additional
              argument.  Save only registers in the mask.  Attach
              REG_FRAME_RELATED_EXPR note to altivec offsets.  Do not call
              rs6000_frame_related when saving VRSAVE.
              (rs6000_emit_epilogue): Call generate_set_vrsave with additional
              argument.  Restore only registers in the mask.  Restore altivec
              registers after we restore CR.
              (generate_set_vrsave): New parameter epiloguep.  Generate unspec
              sets instead of clobbers for call saved registers.
              (altivec_frame_fixup): New.
      
      From-SVN: r48116
      Aldy Hernandez committed
    • sparc.md (movdi_zero): Remove. · c453325c
              * config/sparc/sparc.md (movdi_zero): Remove.
              (movdi_insn_sp32_v9): New.
      
      From-SVN: r48115
      Richard Henderson committed
    • cfgcleanup.c (outgoing_edges_match): Check for insn match with a single outgoing edge too. · c04cf67b
              * cfgcleanup.c (outgoing_edges_match): Check for insn match with
              a single outgoing edge too.
      
      From-SVN: r48114
      Richard Henderson committed
    • cfgrtl.c (redirect_edge_and_branch): Do simplify abnormal edges resulting from computed jump · 25b44be5
      	* cfgrtl.c (redirect_edge_and_branch):  Do simplify abnormal
      	edges resulting from computed jump
      
      From-SVN: r48113
      Jan Hubicka committed
    • update_web_docs_old: Copy from update_web_docs. · f438273e
      	* update_web_docs_old: Copy from update_web_docs.  Add comment
      	that this is for GCC 3.0.x and earlier versions.
      
      From-SVN: r48112
      Joseph Myers committed
    • New test for loading unclaimed categories in Objective-C · 18c8746d
      From-SVN: r48111
      Nicola Pero committed
    • Makefile.in (cfgcleanup.o): Add cselib.h dependancy. · 8ecba28a
      	* Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
      	* basic-block.h (CLEANUP_THREADING): New constant.
      	* cfgcleanup.c: Include cselib.h
      	(thread_jump, mark_effect): New functions.
      	(try_forward_edges): Do jump threading when asked for.
      	* jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
      	modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
      	* rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
      	* toplev.c (rest_of_compilation): Do now call thread_jumps; use
      	CLEANUP_THREAD instead.
      
      From-SVN: r48108
      Jan Hubicka committed
    • basic_file.h (__basic_file::fd): New function. · e9c46bb7
      2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
      
      	* include/bits/basic_file.h (__basic_file::fd):  New function.
      	* config/io/basic_file_stdio.h (__basic_file::fd):  Define.
      	* include/bits/std_fstream.h (basic_filebuf::fd):  New function.
      	* include/bits/fstream.tcc (basic_filebuf::fd):  Define.
      	* testsuite/27_io/filebuf_members.cc (test_02):  New test.
      
      From-SVN: r48107
      Phil Edwards committed
    • Makefile.in (cfgcleanup.o): Add cselib.h dependancy. · af19c653
      	* Makefile.in (cfgcleanup.o): Add cselib.h dependancy.
      	* basic-block.h (CLEANUP_THREADING): New constant.
      	* cfgcleanup.c: Include cselib.h
      	(thread_jump, mark_effect): New functions.
      	(try_forward_edges): Do jump threading when asked for.
      	* jump.c (mark_modified_reg, save_regs, num_same_regs, modified_regs,
      	modified_mem, thread_jumps, rtx_equal_for-thread_p): Kill.
      	* rtl.h (thread_jumps, rtx_equal_for_thread_p): Kill.
      	* toplev.c (rest_of_compilation): Do now call thread_jumps; use
      	CLEANUP_THREAD instead.
      
      From-SVN: r48106
      Jan Hubicka committed
    • * MAINTAINERS: Add self as docs co-maintainer. · f02240b6
      From-SVN: r48105
      Joseph Myers committed
    • Implement MODE_BASE_REG_CLASS · 3dcc68a4
      From-SVN: r48104
      Nick Clifton committed
    • Fix for -maix64 and medium sized struct passing. · ea9982a8
      From-SVN: r48102
      Tom Rix committed
    • 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
    • darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define. · 00a8c0b4
              * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
              (STACK_BOUNDARY): Remove definition.
              (CPP_PREDEFINES): Define __POWERPC__.
      
      From-SVN: r48100
      Stan Shebs committed
    • * doc/c-tree.texi (Trees): Only refer to GCC. · a89c5741
      From-SVN: r48099
      Gerald Pfeifer committed
    • Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering. · ddff0393
      	* po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
      	* po/Makefile.in: Regenerated.
      
      From-SVN: r48098
      Nathan Sidwell committed
    • * gcc.c-torture/compile/20011217-2.c: New test. · 232fd111
      From-SVN: r48097
      Andreas Jaeger committed