Commit Graph

34934 Commits

Author SHA1 Message Date
Jeffrey A Law
fe6adb3e8d pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
* config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
        * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.

        * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
        name at 32 total characters.
        (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
        functions in named sections -- data items can still go into unique
        sections, but they have normal names (ie $LIT$ and $DATA$).

        * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
        INIT_PRIORITY.

From-SVN: r41436
2001-04-19 19:13:37 -06:00
Mark Mitchell
4188d924a3 Fix typo
From-SVN: r41434
2001-04-20 00:53:55 +00:00
Phil Edwards
7145b85567 Makefile.am (doxygen): Assume script is missing execute perms.
2001-04-19  Phil Edwards  <pme@sources.redhat.com>

	* Makefile.am (doxygen):  Assume script is missing execute perms.
	* Makefile.in:  Regenerated.
	* docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.

From-SVN: r41432
2001-04-19 23:07:18 +00:00
Phil Edwards
01611b9f3a Makefile.am (doxygen): Assume script is missing execute perms.
2001-04-19  Phil Edwards  <pme@sources.redhat.com>

	* Makefile.am (doxygen):  Assume script is missing execute perms.
	* Makefile.in:  Regenerated.
	* docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.

From-SVN: r41431
2001-04-19 23:01:40 +00:00
Mark Mitchell
5d2ed28c27 cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is set.
* cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is
	set.
	(SET_DECL_LANGUAGE): New macro.
	* decl.c (duplicate_decls): Use SET_DECL_LANGUAGE.
	(pushdecl): Likewise.
	(build_library_fn_1): Likewise.
	(build_cp_library_fn): Likewise.
	(grokfndecl): Likewise.
	(grokvardecl): Mark `extern "C"' variables as having C linkage.
	* decl2.c (grokclassfn): Use SET_DECL_LANGUAGE.
	* lex.c (retrofit_lang_decl): Likewise.
	* mangle.c (mangle_decl_string): Don't mangle the names of
	variables declared with C language linkage.
	* semantics.c (finish_member_declaration): Use SET_DECL_LANGUAGE.

From-SVN: r41430
2001-04-19 22:49:48 +00:00
DJ Delorie
45936a85bc vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...
* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
* config/i386/cygwin.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/vax/vms.h: Likewise.
* config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.

* config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
* config/vax/xm-vms.h: Likewise.

* mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
instead of OBJECT_SUFFIX.
* collect2.c (find_a_file): Look for files matching the extension
HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
TARGET_EXECUTABLE_SUFFIX.
(find_a_file): Use HOST_EXECUTABLE_SUFFIX.
(make_relative_prefix): Likewise.
(convert_filename): Use TARGET_ suffixes throughout.  Remove
NO_AUTO_EXE_SUFFIX.
(process_command): Likewise.
(do_spec_1): Likewise.
* java/lang.c (init_parse): Likewise.

* gcc.texi : Document four new options matching the pattern
(HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
documentation for NO_AUTO_EXE_SUFFIX.

From-SVN: r41428
2001-04-19 16:28:05 -04:00
Mark Mitchell
57883c536c toplev.h (struct lang_hooks): Allow decode_option to indicate that language-independent processing should not...
* toplev.h (struct lang_hooks): Allow decode_option to indicate
	that language-independent processing should not be done.
	* toplev.c (main): Adjust accordingly.

	* top.c (ffe_decode_option): Do not permit language-independent
	processing for -ffixed-line-length.

From-SVN: r41427
2001-04-19 19:52:17 +00:00
Mark Mitchell
13c502cdd5 rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
* rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
	* loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.

From-SVN: r41424
2001-04-19 19:44:43 +00:00
Mark Mitchell
3dcaf6e0d1 mips.md (reload_outputdi): Require that operand0 be a general_operand.
* mips.md (reload_outputdi): Require that operand0 be a
	general_operand.

From-SVN: r41423
2001-04-19 17:35:46 +00:00
David Billinghurst
d773df5ab7 * invoke.texi (-Wshadow): Clarify.
From-SVN: r41420
2001-04-19 15:17:30 +02:00
GCC Administrator
bf7a6aafcc Daily bump.
From-SVN: r41419
2001-04-19 07:17:11 +00:00
Mark Mitchell
17e2b3cb04 loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps...
* loop.c (load_mems): Examine all the instructions in the loop
	before concluding that all jumps branch to the first instruction
	after the loop.

From-SVN: r41417
2001-04-19 02:15:46 +00:00
Christopher Faylor
9e24b9506a * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
From-SVN: r41414
2001-04-19 00:35:06 +00:00
Jim Wilson
df5da1c419 Eliminate assembler warnings found by ia64-linux bootstrap.
* src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
	to eliminate RAW DV.

From-SVN: r41411
2001-04-18 13:30:48 -07:00
Jakub Jelinek
0d692355b9 cpp.texi (-Wwhite-space): Remove.
* cpp.texi (-Wwhite-space): Remove.
	(-Wall): -Wall does not imply -Wwhite-space.

From-SVN: r41409
2001-04-18 14:40:56 +02:00
John David Anglin
41251458b5 semantics.c (simplify_aggr_init_exprs_r): Don't restore flag_access_control from uninitialized storage.
* semantics.c (simplify_aggr_init_exprs_r): Don't restore
	flag_access_control from uninitialized storage.

From-SVN: r41408
2001-04-18 07:55:09 +00:00
GCC Administrator
52f1c84d2d Daily bump.
From-SVN: r41405
2001-04-18 07:16:09 +00:00
Zack Weinberg
ad087b92db dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, use it instead of blindly generating a .stabs.
* dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
	use it instead of blindly generating a .stabs.
	* xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
	in the right place.
	* xcoffout.c: Don't bother defining default for N_CATCH.
	(UNKNOWN_STAB): Use internal_error.
	(stab_to_sclass): Remove now-unnecessary aborts.
	Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.

From-SVN: r41404
2001-04-18 06:15:38 +00:00
Loren J. Rittle
599d54fd8e * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
From-SVN: r41402
2001-04-18 05:13:33 +00:00
Jeffrey A Law
b9c81bcb53 jump.c (mark_all_labels): Canonicalize the tail recursion label attached to CALL_PLACEHOLDER insns.
* jump.c (mark_all_labels): Canonicalize the tail recursion
        label attached to CALL_PLACEHOLDER insns.

From-SVN: r41400
2001-04-17 21:39:19 -06:00
Kaveh R. Ghazi
2f4e671dfa output.h (dump_flow_info, [...]): Delete redundant prototypes.
* output.h (dump_flow_info, free_basic_block_vars,
	which_alternative): Delete redundant prototypes.

	* rtl.h (bss_section): Likewise.

From-SVN: r41398
2001-04-18 03:25:37 +00:00
Benjamin Kosnik
47e982b247 map_operators.cc: Add dg-excess-errors.
2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
	* testsuite/23_containers/set_operators.cc: Same.

	* include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
	default.
	(__GLIBCPP__): Bump from value of last release.
	* include/bits/concept_check.h: Default to off, edit comments.
	* src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
	* src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
	* src/Makefile.in: Regenerate.

From-SVN: r41397
2001-04-18 01:06:05 +00:00
Loren J. Rittle
7848c23806 * dbxout.c (N_OPT): Define if not available from <stab.h>
From-SVN: r41395
2001-04-17 23:49:43 +00:00
Phil Edwards
996f4bb1cd stl_algo.h (std::transform): Disable the check on _OutputIter for now.
2001-04-17  Phil Edwards  <pme@sources.redhat.com>

	* include/bits/stl_algo.h (std::transform):  Disable the check
	on _OutputIter for now.

From-SVN: r41393
2001-04-17 23:11:28 +00:00
Toon Moene
96f1c2b10d 2001-04-18 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/short.x; Remove - Error has been fixed.

From-SVN: r41392
2001-04-17 22:53:36 +00:00
John David Anglin
5854680c2c vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system libraries and native K&R compilers.
* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
	libraries and native K&R compilers.

From-SVN: r41391
2001-04-17 17:54:22 +00:00
GCC Administrator
66bd5ac6d3 Daily bump.
From-SVN: r41388
2001-04-17 07:16:09 +00:00
Kaveh R. Ghazi
3ed56f8a0e c-typeck.c (convert_arguments): Don't check for width changes with -Wtraditional.
* c-typeck.c (convert_arguments): Don't check for width changes
	with -Wtraditional.

	* invoke.texi (-Wtraditional): Update documentation.

testsuite:
	* gcc.dg/wtr-conversion-1.c: Don't test for width changes.

From-SVN: r41386
2001-04-17 02:21:10 +00:00
Zack Weinberg
acb0db7b38 toplev.c (output_lang_identify): Delete.
* toplev.c (output_lang_identify): Delete.
	(compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
	Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
	If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
	after calling ASM_FILE_END.

	* dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
	Instead, unconditionally emit an N_OPT stab with string equal
	to STABS_GCC_MARKER, which defaults to "gcc2_compiled."

	* defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.

	* config/dbxelf.h, config/freebsd.h, config/nextstep.h,
	config/psos.h, config/ptx4.h, config/1750a/1750a.h,
	config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
	config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
	config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
	config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
	config/i370/i370.h, config/i386/beos-elf.h,
	config/i386/osf1elf.h, config/i386/osfrose.h,
	config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
	config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
	config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
	config/m68k/tower-as.h, config/mcore/mcore-elf.h,
	config/mips/iris6.h, config/mips/osfrose.h,
	config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
	config/sparc/sp64-elf.h:
	Delete definitions of any or all of: ASM_IDENTIFY_GCC,
	ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.

	* config/elfos.h, config/freebsd.h, config/linux.h,
	config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
	config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
	config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
	of ASM_FILE_START which merely emit a .version directive.  Delete
	definitions of ASM_FILE_END which merely emit an .ident directive.

	* config/avr/avr.h, config/vax/vax.h: Delete definition of
	ASM_IDENTIFY_GCC and move part of its logic into
	ASM_FILE_START.

	* config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
	config/sparc/linux-aout.h: Don't emit .version directive in
	ASM_FILE_START.

	* config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
	(output_file_start): Correct comment.

	* config/i386/osfrose.h: Don't emit trailing .ident directive.
	* config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
	to match gdb.
	* config/pa/lib2funcs.asm: Delete gcc_compiled. label.
	* config/rs6000/aix.h: Correct comment.

	* config/i386/i386afe.h: Delete.
	* config.gcc: Remove references to i386afe.h.

	* tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
	other macros deleted by this patch were undocumented.

From-SVN: r41385
2001-04-16 18:30:48 +00:00
Jeffrey A Law
75d71b2f67 * pa.md (reload_outdi): Operand 0 must be a non hard register.
From-SVN: r41381
2001-04-16 11:57:21 -06:00
Daniel Berlin
9dab060e9d ternary.h: New file - Ternary search tree header.
2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

	* ternary.h: New file - Ternary search tree header.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

	* ternary.c: New file - Ternary search tree implementation.

	* Makefile.in: Add ternary.o, and ternary.c dependencies.

From-SVN: r41380
2001-04-16 15:30:17 +00:00
Jeffrey A Law
26ee120d31 pa.c (secondary_reload_class): SAR<->FP copies require a secondary register.
* pa.c (secondary_reload_class): SAR<->FP copies require a
        secondary register.

From-SVN: r41379
2001-04-16 09:13:32 -06:00
Jeffrey A Law
3bcd50fe2a install.texi (mips-mips-bsd): Update list of functions required to include memmove.
* install.texi (mips-mips-bsd): Update list of functions
        required to include memmove.
        * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
        used functions to include memmove.

From-SVN: r41377
2001-04-16 08:02:50 -06:00
GCC Administrator
c3aaa9215b Daily bump.
From-SVN: r41374
2001-04-16 07:16:11 +00:00
Mark Mitchell
24272dc037 cp-tree.h (TYPE_PTRMEM_CLASS_TYPE): Improve documentation.
* cp-tree.h (TYPE_PTRMEM_CLASS_TYPE): Improve documentation.
	* mangle.c (write_pointer_to_member_type): Fix mangling of
	pointers to cv-qualified member function types.

From-SVN: r41373
2001-04-16 05:51:38 +00:00
Mark Mitchell
1b4a93f79b init.c (build_delete): Create a SAVE_EXPR for the address if we're going to use it more than once.
* init.c (build_delete): Create a SAVE_EXPR for the address if
	we're going to use it more than once.

From-SVN: r41371
2001-04-16 02:50:12 +00:00
Toon Moene
2406cfed9a * i386.md (sqrtdf2): SFmode should be DFmode.
From-SVN: r41364
2001-04-15 17:12:44 -07:00
Alexandre Oliva
f54104df4e gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
* gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
(find_moveable_store): Likewise.

From-SVN: r41363
2001-04-15 16:50:51 +00:00
Jim Wilson
aa570f545a Fix ia64 libffi build failure.
* function.c (expand_function_end): Handle PARALLEL real_decl_rtl.

From-SVN: r41361
2001-04-15 01:37:34 -07:00
GCC Administrator
2d73b59a12 Daily bump.
From-SVN: r41359
2001-04-15 07:16:07 +00:00
Richard Henderson
754fd21889 Missed changelog entry for last regmove commit.
From-SVN: r41357
2001-04-14 12:41:38 -07:00
Jan Hubicka
7c17f55334 i386.md (ashldi3_1_rex64): Add 'J' to the constraints
* i386.md (ashldi3_1_rex64): Add 'J' to the constraints
	(ashrdi3_1_rex64): Change 'n' constraint to 'J'.

From-SVN: r41356
2001-04-14 14:27:23 +00:00
Alexandre Oliva
81df85c483 mn10300.md (cmpsi): Tell reload to disregard the first alternative.
* config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
first alternative.

From-SVN: r41355
2001-04-14 11:09:21 +00:00
Martin Reinecke
f2d43953d7 boost_concept_check.h (_Mutable_ContainerConcept): Properly uglify member.
2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>

      * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
      Properly uglify member.

From-SVN: r41354
2001-04-14 09:46:13 +00:00
Alan Modra
6619e96c70 pa.c (force_mode): New function.
* pa.c (force_mode): New function.
	(emit_move_sequence): Use it instead of generating new rtx_REGs.

From-SVN: r41353
2001-04-14 18:12:31 +09:30
Alexandre Oliva
92547f1261 Update copyright notice
From-SVN: r41352
2001-04-14 07:45:10 +00:00
Alexandre Oliva
27345bb5c7 Update copyright notice
From-SVN: r41351
2001-04-14 07:26:52 +00:00
Alexandre Oliva
4f28f0587a Whitespace fix
From-SVN: r41350
2001-04-14 07:21:07 +00:00
GCC Administrator
382e8461c6 Daily bump.
From-SVN: r41348
2001-04-14 07:16:09 +00:00
Jim Wilson
25250265ba Fix linux kernel -foptimize-sibling-calls miscompilation
Fix linux kernel -foptimize-sibling-calls miscompilation
	* config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
	(first_instruction): New static variable.
	(rtx_needs_barrier): Return 1 for alloc.
	(init_insn_group_barriers): Set first_instruction.
	(rws_sum): Delete duplicate definition.
	(group_barrier_needed_p): Return 0 when first_instruction true.
	(safe_group_barrier_needed_p): Save and restore first_instruction
	around group_barrier_needed_p call.

From-SVN: r41347
2001-04-13 20:49:46 -07:00