Compare commits

...

2507 Commits

Author SHA1 Message Date
Jason Merrill e239e1bf32 Allow compilation with GCC 4.4.
include/
	* obstack.h: Update to GCC 3.3 version.
gcc/
	* system.h: Don't poison malloc.
gcc/cp/
	* decl.c (current_binding_level): Add *&.
	* parse.y (constructor_declarator): Fix for bison pedantry.

From-SVN: r159937
2010-05-27 14:21:31 -04:00
Richard Henderson 1409846ff7 unwind-dw2.c (uw_update_context_1): Only set cfa as sp if previous frame didn't save sp.
* unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
        previous frame didn't save sp.  Clear sp for next frame.
        (uw_install_context_1): Honor saved sp from frame.

From-SVN: r66527
2003-05-06 10:35:58 -07:00
Richard Henderson 8e054a1e8e builtins.c (expand_builtin): Remove.
* builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
        <BUILT_IN_DWARF_SP_COLUMN>: New.
        * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
        (BUILT_IN_DWARF_SP_COLUMN): New.
        * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
        (expand_builtin_dwarf_sp_column): New.
        * except.h: Update to match.
        * unwind-dw2.c (execute_stack_op): Correct stack push typo.
        (execute_cfa_program): Record location expression address
        before extracting length.
        (uw_update_context_1): Install old CFA into stack pointer column.
        (uw_init_context_1): Set cfa_reg to stack pointer column.

From-SVN: r66470
2003-05-04 15:29:15 -07:00
GCC Administrator 1ffb687b30 Daily bump.
From-SVN: r66361
2003-05-02 00:16:27 +00:00
GCC Administrator 4ad98332b8 Daily bump.
From-SVN: r66310
2003-05-01 00:16:28 +00:00
GCC Administrator 606df7e164 Daily bump.
From-SVN: r66275
2003-04-30 00:16:26 +00:00
Jason Merrill 5a54d7d791 jump.c (never_reached_warning): Really stop looking if we reach the beginning of the function.
* jump.c (never_reached_warning): Really stop looking if we reach
        the beginning of the function.

From-SVN: r66250
2003-04-29 16:25:48 -04:00
GCC Administrator 25253624a1 Daily bump.
From-SVN: r66196
2003-04-29 00:16:27 +00:00
GCC Administrator 6c20db1b1f Daily bump.
From-SVN: r66140
2003-04-28 00:16:27 +00:00
GCC Administrator 1ff4dd48b2 Daily bump.
From-SVN: r66123
2003-04-27 00:16:27 +00:00
GCC Administrator e239f08935 Daily bump.
From-SVN: r66086
2003-04-26 00:16:26 +00:00
GCC Administrator 1214016837 Daily bump.
From-SVN: r66054
2003-04-25 00:16:29 +00:00
GCC Administrator 808b393b26 Daily bump.
From-SVN: r66022
2003-04-24 00:16:28 +00:00
GCC Administrator eb71f29cf2 Daily bump.
From-SVN: r65973
2003-04-23 00:16:30 +00:00
Gabriel Dos Reis 8a9f3a6408 Update version
From-SVN: r65931
2003-04-22 06:16:09 +00:00
Gabriel Dos Reis 3945fb8132 Mark ChangeLog
From-SVN: r65930
2003-04-22 06:15:59 +00:00
GCC Administrator 302eeb82e4 Daily bump.
From-SVN: r65924
2003-04-22 00:16:28 +00:00
GCC Administrator 9e7cefcc18 Daily bump.
From-SVN: r65873
2003-04-21 00:16:26 +00:00
GCC Administrator 01b407b85d Daily bump.
From-SVN: r65837
2003-04-20 00:16:27 +00:00
GCC Administrator fbb13aaceb Daily bump.
From-SVN: r65803
2003-04-19 00:16:26 +00:00
GCC Administrator e91ca7b96a Daily bump.
From-SVN: r65761
2003-04-18 00:16:27 +00:00
GCC Administrator d9f7407dce Daily bump.
From-SVN: r65708
2003-04-17 00:16:26 +00:00
John David Anglin 58e9c12f4a pa-protos.h (function_arg): Remove last argument.
PR/10271
	* pa-protos.h (function_arg): Remove last argument.
	* pa.c (function_arg): Likewise.  Use CUMULATIVE_ARGS struct instead.
	* pa.h (struct hppa_args): Add member incoming.
	(INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
	member incoming.
	(FUNCTION_ARG): Revise call to function_arg.
	(FUNCTION_INCOMING_ARG): Delete.

From-SVN: r65705
2003-04-16 23:00:25 +00:00
Gabriel Dos Reis 17d1c28467 Backport from mainline.
From-SVN: r65675
2003-04-16 03:29:58 +00:00
GCC Administrator f358a25f88 Daily bump.
From-SVN: r65669
2003-04-16 00:16:27 +00:00
Jason Merrill 7aa2166c59 decl2.c (mark_used): Don't instantiate anything if skip_evaluation.
* decl2.c (mark_used): Don't instantiate anything if
        skip_evaluation.

From-SVN: r65644
2003-04-15 12:26:44 -04:00
Jason Merrill 28e8cf6d61 PR middle-end/10336, c++/10401
PR middle-end/10336, c++/10401
        * jump.c (never_reached_warning): Also stop looking if we reach the
        beginning of the function.

From-SVN: r65639
2003-04-15 12:16:44 -04:00
GCC Administrator e15c0b6837 Daily bump.
From-SVN: r65608
2003-04-15 00:16:27 +00:00
Hans-Peter Nilsson 2b970a7fe1 Forgot PR target/10377 annotation
From-SVN: r65593
2003-04-14 21:25:05 +00:00
Hans-Peter Nilsson bac4aeb790 cris.md ("*mov_sideqi", [...]): When next to constraint R, replace constraint i with n.
* config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
	("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
	("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
	("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
	("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
	("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
	("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
	("*extopqihi_swap_side", "*extopqisi_swap_side")
	("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
	When next to constraint R, replace constraint i with n.

From-SVN: r65592
2003-04-14 21:16:12 +00:00
Bob Wilson 8b083288ed xtensa.h (MAX_INT_TYPE_SIZE, [...]): Delete poisoned macro definitions.
* config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE, IMPLICIT_FIX_EXPR,
        EASY_DIV_EXPR): Delete poisoned macro definitions.

From-SVN: r65579
2003-04-14 15:31:30 +00:00
Kaveh R. Ghazi 478a00c5c3 configure.in (HAVE_UINTPTR_T): Always define.
* configure.in (HAVE_UINTPTR_T): Always define.
	* configure: Regenerated.

From-SVN: r65572
2003-04-14 14:22:13 +00:00
Hans-Peter Nilsson edbc14ab9f re PR target/10377 (gcc-3.2.2 creates bad assembler for cris)
PR target/10377
	* gcc.dg/20030414-1.c: New test.

From-SVN: r65569
2003-04-14 14:08:36 +00:00
No Author 99daaee159 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r65566
2003-04-14 14:01:42 +00:00
GCC Administrator 0a99d908bc Daily bump.
From-SVN: r65554
2003-04-14 00:16:26 +00:00
GCC Administrator b71570345a Daily bump.
From-SVN: r65534
2003-04-13 00:16:26 +00:00
Eric Botcazou bbfd60c61e * gcc.dg/ultrasp8.c: Fix for 32-bit Sparc.
From-SVN: r65516
2003-04-12 17:50:56 +00:00
GCC Administrator 6c273402b5 Daily bump.
From-SVN: r65491
2003-04-12 00:16:27 +00:00
GCC Administrator e22c7ae35b Daily bump.
From-SVN: r65447
2003-04-11 00:16:25 +00:00
Richard Henderson b9de9ea4b1 re PR rtl-optimization/10352 (ICE in find_reloads_toplev)
PR opt/10352
        Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * simplify-rtx.c (simplify_subreg): When converting to a non-int
        mode, try to convert to an integer mode of matching size first.
	* g++.dg/opt/reload2.C: New.

From-SVN: r65441
2003-04-10 15:17:36 -07:00
No Author 73ae1804d5 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r65440
2003-04-10 22:17:36 +00:00
GCC Administrator 069c20ea71 Daily bump.
From-SVN: r65414
2003-04-10 00:16:28 +00:00
GCC Administrator 6afd4835e6 Daily bump.
From-SVN: r65390
2003-04-09 00:16:29 +00:00
Alan Modra 9ff753d6ff rs6000.c (rs6000_emit_prologue): Use correct mode to set frame pointer.
* config/rs6000/rs6000.c (rs6000_emit_prologue): Use correct mode to
	set frame pointer.

From-SVN: r65382
2003-04-09 07:33:23 +09:30
GCC Administrator 28fa6c1155 Daily bump.
From-SVN: r65357
2003-04-08 00:16:27 +00:00
GCC Administrator f93ad58582 Daily bump.
From-SVN: r65313
2003-04-07 00:17:31 +00:00
GCC Administrator 71d2528402 Daily bump.
From-SVN: r65283
2003-04-06 00:16:29 +00:00
GCC Administrator 3412e62b4f Daily bump.
From-SVN: r65258
2003-04-05 00:16:26 +00:00
Jason Merrill 3e22acbe17 re PR c/10175 (-Wunreachable-code doesn't work for single lines)
PR c/10175
        * jump.c (never_reached_warning): Look backwards for a line note.

From-SVN: r65228
2003-04-03 20:22:47 -05:00
GCC Administrator 250abc11ec Daily bump.
From-SVN: r65220
2003-04-04 00:16:26 +00:00
GCC Administrator b8797140d0 Daily bump.
From-SVN: r65185
2003-04-03 00:16:27 +00:00
Richard Henderson 5d22a325f2 dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization when flag_exceptions not enabled.
* dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
        optimization when flag_exceptions not enabled.

From-SVN: r65168
2003-04-02 09:21:28 -08:00
GCC Administrator 1541cffad9 Daily bump.
From-SVN: r65153
2003-04-02 00:16:29 +00:00
GCC Administrator cfa5bf4029 Daily bump.
From-SVN: r65121
2003-04-01 00:16:26 +00:00
Geert Bosch b12e6dfd28 * link.c : Fix misspelled "const" keyword
From-SVN: r65112
2003-03-31 23:07:56 +02:00
Kaveh R. Ghazi cffc67d671 re PR other/6955 (collect2 says "core dumped" when there is no core)
PR other/6955
	* collect2.c (collect_wait): Use WCOREDUMP and fix output message.
	* system.h (WCOREDUMP, WCOREFLG): Define if necessary.

From-SVN: r65073
2003-03-31 01:14:02 +00:00
GCC Administrator b976c15fbc Daily bump.
From-SVN: r65065
2003-03-31 00:16:26 +00:00
Kaveh R. Ghazi 63006fc12c * gcc.c-torture/execute/20020307-2.x: New file, XFAIL mips-irix6.
From-SVN: r65035
2003-03-30 04:45:07 +00:00
Arpad Beszedes 5b3e16ece9 re PR middle-end/9967 (Some standard C function calls should not be replaced when optimizing for size)
gcc:
	PR middle-end/9967
	* builtins.c (expand_builtin_fputs): When optimizing for size,
	don't transform fputs into fwrite.
testsuite:
	PR middle-end/9967
	* gcc.c-torture/execute/stdio-opt-1.c: Adjust test for change to
	builtin fputs.

From-SVN: r65033
2003-03-30 04:42:18 +00:00
GCC Administrator 9964f5045d Daily bump.
From-SVN: r65028
2003-03-30 00:16:27 +00:00
Albert Chin-A-Young bb3f056d64 fix buggy Solaris mutex/cond initializers.
From-SVN: r65025
2003-03-29 21:33:54 +00:00
Nathanael Nerode 35d4b3b2fc Remove provably dead code
From-SVN: r65023
2003-03-29 21:15:48 +00:00
Ulrich Weigand 7bb1322b18 re PR target/7784 ([Sparc] ICE in extract_insn, at recog.c:2148)
PR target/7784
	* reload.c (maybe_memory_address_p): New function.
	(find_reloads_address): Use it instead of memory_address_p.

From-SVN: r65020
2003-03-29 19:30:39 +00:00
Alan Modra 74e99d07c2 rs6000.h (FUNCTION_VALUE_REGNO_P): Respect TARGET_HARD_FLOAT.
* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
	TARGET_HARD_FLOAT.  Reformat.
	(FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.

From-SVN: r65015
2003-03-29 23:09:20 +10:30
Eric Botcazou b9039708e2 re PR c/8224 (Incorrect joining of signed and unsigned division)
PR c/8224
	* fold-const.c (extract_muldiv_1): Don't pass through type conversions
	when signedness changes for division or modulus.

From-SVN: r65012
2003-03-29 10:29:33 +00:00
GCC Administrator dd7dd282e7 Daily bump.
From-SVN: r65000
2003-03-29 00:16:27 +00:00
Alan Modra 726b3b9af0 * reload1.c (reload_as_needed): Allow a USE in asm reloads.
From-SVN: r64993
2003-03-29 09:53:16 +10:30
Olivier Hainque b8032d0c42 re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
PR ada/9953
	* ada/Makefile.in (gnatlib configuration for HPUX): Split
	the general section for HPUX into specific sections for
	HPUX 10 and HPUX 11.

From-SVN: r64971
2003-03-28 10:38:19 +00:00
Eric Botcazou df7756d804 re PR target/10067 (GCC-3.2.2 outputs invalid asm on sparc64)
PR target/10067
	* config/sparc/sparc.md (jump pattern): Correct order
	when issuing the annuling marker.

From-SVN: r64969
2003-03-28 09:24:10 +00:00
No Author 1b86660881 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64968
2003-03-28 09:24:10 +00:00
Eric Botcazou 239a66497f re PR c/8281 ([Sparc] ICE when compiling with -O2 -fPIC for Ultrasparc)
PR c/8281
	* config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
	(movdi reg/reg split): Match only on sparc32, and v9 when int regs.

From-SVN: r64961
2003-03-28 08:55:04 +00:00
No Author 0a418a9503 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64960
2003-03-28 08:55:04 +00:00
Eric Botcazou 3157d89cfb PR target/10114 and PR target/10084
PR target/10114 and PR target/10084
	* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r64952
2003-03-28 08:01:33 +00:00
No Author b49f9fedd9 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64951
2003-03-28 08:01:33 +00:00
GCC Administrator 39502ada0e Daily bump.
From-SVN: r64940
2003-03-28 00:16:56 +00:00
Janis Johnson 36b7cb6291 re PR other/10234 (Bad URL in gcc 3.2.2 internal error printout)
2003-03-27  Janis Johnson  <janis187@us.ibm.com>

	PR sw-bug/10234
	* system.h (GCCBUGURL): Reference GCC web site.

From-SVN: r64934
2003-03-27 22:34:38 +00:00
Richard Henderson 99a6ccba33 cfgrtl.c (try_redirect_by_replacing_jump): Disable removing tablejumps with no optimization.
* cfgrtl.c (try_redirect_by_replacing_jump): Disable removing
        tablejumps with no optimization.

From-SVN: r64933
2003-03-27 14:25:48 -08:00
Rainer Orth 4ae242aa24 iris6.h (CPLUSPLUS_CPP_SPEC): Define __c99.
* config/mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define __c99.

	* fixinc/inclhack.def (irix___restrict): Don't change __restrict
	for C++ on IRIX 6.5.1[89].
	* fixinc/tests/base/internal/sgimacros.h: New file.

	* fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
	* fixinc/fixincl.x: Regenerate.
	* fixinc/tests/base/internal/wchar_core.h: New file.

From-SVN: r64930
2003-03-27 20:08:16 +00:00
GCC Administrator a77a3a64bb Daily bump.
From-SVN: r64912
2003-03-27 00:16:28 +00:00
Paolo Carlini e7a7185057 re PR libstdc++/10167 (ieee_1003.1-[3.2/3.3 regression] 2001 locale specialisations on a RedHat8.0/glibc-2.3.2-4 system)
2003-03-26  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/10167
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(do_out, do_unshift, do_in): qualify 'ok', 'error', 'partial',
	'noconv' with codecvt_base::.

From-SVN: r64892
2003-03-26 12:25:46 +00:00
Eric Botcazou 1abd481138 re PR target/7784 ([Sparc] ICE in extract_insn, at recog.c:2148)
PR target/7784
	* reload.c (find_reloads_address): Handle
	(PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
	all base registers.

From-SVN: r64891
2003-03-26 07:58:49 +00:00
No Author ffff6ee90e This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64890
2003-03-26 07:58:49 +00:00
GCC Administrator d5d5c41595 Daily bump.
From-SVN: r64878
2003-03-26 00:16:25 +00:00
Jason Merrill bb39b9627c re PR rtl-optimization/10171 (wrong code for inlined function)
PR optimization/10171
        * unroll.c (unroll_loop): Don't delete the jump at the end unless
        we also delete a jump at the beginning.

From-SVN: r64862
2003-03-25 15:23:25 -05:00
Gerald Pfeifer d4336673f3 passes.texi (Passes): Properly document that we do not perform jump2 any longer...
* doc/passes.texi (Passes): Properly document that we do not
	perform jump2 any longer; remove command-line option -dJ.

From-SVN: r64848
2003-03-25 14:09:52 +00:00
Eric Botcazou 64809e79ae re PR rtl-optimization/8746 (gcc miscompiles Linux kernel ppa driver on x86)
PR optimization/8746
	* config/i386/i386.md (and promoting splitters): Disable HImode to
	SImode promoting when the sign bit matters and is not preserved.
	Disable promoting when optimizing for size.

From-SVN: r64844
2003-03-25 10:42:14 +00:00
No Author 1f93ec1bbc This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64843
2003-03-25 10:42:14 +00:00
GCC Administrator dd8b8bea62 Daily bump.
From-SVN: r64831
2003-03-25 00:16:25 +00:00
Jakub Jelinek 743b738128 backport: class.c (build_vtbl_ref_1): Use fixed_type_or_null.
* Backport from mainline:
	2002-05-13  Jason Merrill  <jason@redhat.com>

	* class.c (build_vtbl_ref_1): Use fixed_type_or_null.
	(fixed_type_or_null): See through reference vars.
	(build_base_path): Vtable contents are constant.

	* g++.dg/opt/rtti1.C: New test.

From-SVN: r64786
2003-03-24 12:33:50 +01:00
Eric Botcazou 355806ef42 re PR rtl-optimization/9414 ([Sparc] Scheduling bug on Ultrasparc)
PR optimization/9414
	* config/sparc/sparc.md (widening peepholes): Use
	widen_memory_access instead of change_address.

From-SVN: r64784
2003-03-24 10:29:48 +00:00
Daniel Jacobowitz 4c3f0abeb6 re PR target/9797 ([ARM] miscompiles C99-style struct initializers)
Fix PR target/9797.
	* stmt.c (expand_decl_init): Call push_temp_slots () and
	pop_temp_slots ().

From-SVN: r64776
2003-03-24 04:02:23 +00:00
Daniel Jacobowitz 915c2e909e * gcc.c-torture/execute/20030224-2.c: New test.
From-SVN: r64775
2003-03-24 04:02:00 +00:00
GCC Administrator e904f70e90 Daily bump.
From-SVN: r64765
2003-03-24 00:16:28 +00:00
Richard Henderson 643f5d2873 cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps before flow2.
* cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
        before flow2.
        * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.

From-SVN: r64756
2003-03-23 12:41:22 -08:00
Richard Henderson 6b8880e931 re PR rtl-optimization/10116 (ce2: invalid merge of "join_bb" in the context of switch statements)
PR opt/10116
        * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
        from then_bb or else_bb after flow2.

From-SVN: r64752
2003-03-23 12:18:55 -08:00
John David Anglin 0c1078c015 Correct typo in comment from last patch.
From-SVN: r64740
2003-03-23 04:30:04 +00:00
Loren J. Rittle c0a47037ba ctype_noninline.h (ctype<char>::classic_table): Correct return value.
* config/os/hpux/bits/ctype_noninline.h (ctype<char>::classic_table):
	Correct return value.

From-SVN: r64739
2003-03-23 04:27:15 +00:00
GCC Administrator 54ce390805 Daily bump.
From-SVN: r64731
2003-03-23 00:16:28 +00:00
John David Anglin f7723f2296 pa.c (output_cbranch, [...]): Output nop for conditional branch to the following instruction.
* pa.c (output_cbranch, output_bb, output_bvb): Output nop for
	conditional branch to the following instruction.

From-SVN: r64725
2003-03-22 19:25:06 +00:00
GCC Administrator 2c0e6cf3a9 Daily bump.
From-SVN: r64693
2003-03-22 00:16:25 +00:00
Volker Reichelt 28eea88733 re PR other/9813 (misplaced paragraph in Constructing Calls node)
PR doc-bug/9813
	* doc/extend.texi: Move misplaced paragraph about underscores in
	variables in macros.

From-SVN: r64664
2003-03-21 15:02:35 +00:00
Eric Botcazou 4db3896a69 re PR target/8366 ([sparc-sun-solaris2.7] C testsuite failure w/-m64 -fpic -O in execute/loop-2d.c)
PR optimization/8366
	* config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
	(GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
	PIC+SYMBOLIC_CONST in other modes than Pmode.
	(GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
	the form PIC+SYMBOLIC_CONST as mode dependent.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r64659
2003-03-21 10:20:50 +00:00
GCC Administrator d87fcb62cd Daily bump.
From-SVN: r64638
2003-03-21 00:16:28 +00:00
Richard Henderson 6df53ec763 fold-const.c (extract_muldiv_1): Revert changing order of operands in case MULT_EXPR of 2003-02-16 patch.
* fold-const.c (extract_muldiv_1): Revert changing order of
        operands in case MULT_EXPR of 2003-02-16 patch.

From-SVN: r64634
2003-03-20 16:04:50 -08:00
GCC Administrator 65f5f95ce7 Daily bump.
From-SVN: r64599
2003-03-20 00:16:29 +00:00
Eric Botcazou f4e4a9eec3 re PR rtl-optimization/8746 (gcc miscompiles Linux kernel ppa driver on x86)
PR optimization/8746
	Backport from mainline:

	Thu Jun  6 23:14:46 CEST 2002  Jan Hubicka<jh@suse.cz>

	* i386.md (and promoting splitters): Disable QI to SImode promoting
	when doing so changes immediate to be 32bit.

From-SVN: r64593
2003-03-19 19:54:27 +00:00
Jason Merrill 99fd67e511 PR c++/8316, c++/9315, c++/10136
PR c++/8316, c++/9315, c++/10136
        * call.c (joust): Improve wording.

From-SVN: r64587
2003-03-19 13:18:05 -05:00
Jakub Jelinek 0cae45eb31 stmt.c (expand_start_case): Call emit_queue ().
* stmt.c (expand_start_case): Call emit_queue ().

	* gcc.c-torture/execute/20030313-1.c: New test.

From-SVN: r64578
2003-03-19 13:43:02 +01:00
Jakub Jelinek a4bbf7579c ifcvt.c (dead_or_predicable): Fail if there are any references to tablejump in merge_bb other than the final...
* ifcvt.c (dead_or_predicable): Fail if there are any references
	to tablejump in merge_bb other than the final JUMP_INSN.

	* gcc.dg/20030309-1.c: New test.

From-SVN: r64577
2003-03-19 13:38:12 +01:00
Alan Modra 4e309402fb re PR target/10073 (powerpc cannot split insn while building rscheme)
PR target/10073
	* combine.c (force_to_mode <NOT>): Use gen_int_mode.

From-SVN: r64567
2003-03-19 12:06:16 +10:30
GCC Administrator 3634cc52a6 Daily bump.
From-SVN: r64559
2003-03-19 00:16:32 +00:00
GCC Administrator f3380fe20d Daily bump.
From-SVN: r64513
2003-03-18 00:16:31 +00:00
Kaveh R. Ghazi 0f079a3c87 Backport:
2002-12-05  Ranjit Mathew <rmathew@hotmail.com>
	            Andrew Haley <aph@redhat.com>

	* parse.y (source_end_java_method): Remove custom encoding of line
	numbers for a function decl before passing it to the back end.

From-SVN: r64510
2003-03-18 00:05:29 +00:00
Jason Merrill 2b85591bb8 * decl.c (finish_function): Don't skip a block.
From-SVN: r64508
2003-03-17 18:16:55 -05:00
Jason Merrill dd7ce4f8d5 re PR c++/9993 (destructor not called for local object created within and returned from infinite loop)
PR c++/9993
        * decl.c (finish_function): Only allow the NRVO to use variables
        declared at function scope.

From-SVN: r64489
2003-03-17 10:46:37 -05:00
Dave Love 1004e03297 osf.h (CPP_PREDEFINES): Define __digital__, __arch64__ to match Compaq cc.
* config/alpha/osf.h (CPP_PREDEFINES): Define __digital__,
	__arch64__ to match Compaq cc.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

From-SVN: r64482
2003-03-17 14:52:14 +00:00
Andreas Schwab 0d23f305a6 re PR target/7248 ([m68k] broken "inclusive or" code)
PR target/7248
	* config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
	martin@blom.org.

From-SVN: r64475
2003-03-17 10:22:00 +00:00
GCC Administrator 879a126338 Daily bump.
From-SVN: r64456
2003-03-17 00:16:31 +00:00
Richard Henderson 41baa34335 i386.md (movstrictqi, [...]): Check optimize_size as well.
* config/i386/i386.md (movstrictqi, movstrictqi_1): Check
        optimize_size as well.

From-SVN: r64449
2003-03-16 14:23:15 -08:00
Falk Hueffner a4807140ad re PR target/9164 ([Alpha] improper code generation)
PR target/9164
        * tree.c (get_narrower): For extensions with unchanged bit number,
        return the unsignedness of the outer mode.

        * gcc.c-torture/execute/20030316-1.c: New test case.

From-SVN: r64444
2003-03-16 11:47:36 -08:00
No Author e44f00b4fc This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64443
2003-03-16 19:47:36 +00:00
Kriang Lerdsuwanakij 9eaa910b26 re PR c++/6440 (template specializations cause ICE)
PR c++/6440
	* pt.c (maybe_process_partial_specialization): Handle
	member class template when enclosing class template is
	explicit specialized.
	(most_general_template): Stop looking when DECL is already
	specialized.

	* g++.dg/template/spec7.C: New test.
	* g++.dg/template/spec8.C: Likewise.

From-SVN: r64437
2003-03-16 14:28:43 +00:00
No Author d48bc49dde This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64436
2003-03-16 14:28:43 +00:00
GCC Administrator b0abfc2dec Daily bump.
From-SVN: r64423
2003-03-16 00:16:29 +00:00
GCC Administrator 7aa081c81a Daily bump.
From-SVN: r64381
2003-03-15 00:16:29 +00:00
Jakub Jelinek c55acdcfe8 rs6000.c (rs6000_emit_load_toc_table): Don't call rs6000_maybe_dead if !fromprolog.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
	rs6000_maybe_dead if !fromprolog.

From-SVN: r64377
2003-03-15 00:04:55 +01:00
Eric Botcazou 67c3c951a7 re PR rtl-optimization/8396 ([sparc] optimizer ICE)
PR optimization/8396
	* tree-inline.c (initialize_inlined_parameters): Make sure the value
	of read-only constant arguments is passed with the right type.

From-SVN: r64362
2003-03-14 14:59:34 +00:00
No Author 4d4b3a0316 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64361
2003-03-14 14:59:34 +00:00
Andreas Jaeger 820f9b130b * config/i386/linux64.h (CPP_SPEC): Define __LP64__ and _LP64 for 64-bit.
From-SVN: r64353
2003-03-14 13:18:24 +01:00
GCC Administrator 78eb78e6b9 Daily bump.
From-SVN: r64341
2003-03-14 00:16:27 +00:00
Jason Merrill fec66e300c re PR c++/9420 (incomplete type incorrectly reported)
PR c++/9420
        * search.c (lookup_conversions): Call complete_type here.
        * call.c (implicit_conversion): Not here.

From-SVN: r64334
2003-03-13 16:41:38 -05:00
Richard Henderson 79c1dc7510 i386.md (ffssi2): Tighten op1 predicate to the requirements of the output insns.
* config/i386/i386.md (ffssi2): Tighten op1 predicate to
        the requirements of the output insns.

From-SVN: r64283
2003-03-12 16:52:38 -08:00
GCC Administrator 541afe7bc9 Daily bump.
From-SVN: r64276
2003-03-13 00:16:30 +00:00
Andrew Lewycky 731361b379 re PR c++/7050 (g++ segfaults on: (i ? get_string() : throw))
PR c++/7050
        * expr.c (store_expr): Don't attempt to store void-typed trees,
        just evaluate them for side effects.
        * cp/expr.c (cxx_expand_expr): Return const0_rtx for throw
        expressions.

From-SVN: r64270
2003-03-12 17:59:37 -05:00
Bob Wilson 1efede7e34 xtensa.md (adddi3): Don't clobber source operand used to detect carry.
* config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
        to detect carry.
        (subdi3): Reorder emitted instructions.

From-SVN: r64265
2003-03-12 21:11:40 +00:00
Eric Botcazou 281715d326 re PR c/9928 (ICE on duplicate enum declaration)
PR c/9928
	* c-decl.c (duplicate_decls): Discard the initializer of the new decl
	only if it is a VAR_DECL.

From-SVN: r64239
2003-03-12 10:04:52 +00:00
No Author d8bbb692e1 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64238
2003-03-12 10:04:52 +00:00
Eric Botcazou 64c28c3e6d re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
PR optimization/9888
	* config/i386/i386.md (jcc_1): Fix range.
	(jcc_2): Likewise.
	(jump): LIkewise.
	(doloop_end_internal): Likewise.

From-SVN: r64234
2003-03-12 09:42:00 +00:00
No Author de325f3c07 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64233
2003-03-12 09:42:00 +00:00
Eric Botcazou 523e9dd9ba re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
PR optimization/9888
	Backport patch from mainline:

	Tue Nov 19 23:50:56 CET 2002  Jan Hubicka  <jh@suse.cz>

	* i386.md (length_immediate): Do not refer to insn address.
	(jcc*, jmp patterns): Compute length explicitly.
	(doloop_end_internal pattern): Unconditionally set the type to "ibr".

From-SVN: r64229
2003-03-12 09:08:34 +00:00
Eric Botcazou 521381440c re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
PR optimization/9888
	* config/i386/i386.md (movsi_1): Remove special alternatives
	for %eax register.
	(movhi_1): Likewise.
	* config/i386/i386.c (memory_address_length): Do not use
	short displacement when there is no base.
	(ix86_attr_length_address_default): Handle LEA instructions.

From-SVN: r64228
2003-03-12 09:04:01 +00:00
GCC Administrator 2e22a8acb3 Daily bump.
From-SVN: r64204
2003-03-12 00:16:27 +00:00
GCC Administrator 5cc9a7574f Daily bump.
From-SVN: r64149
2003-03-11 00:16:26 +00:00
Jason Merrill 1122c73cfa re PR c++/9798 (Infinite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives)
PR c++/9798
        * decl.c (push_using_directive): Push before recursing.

From-SVN: r64135
2003-03-10 17:11:08 -05:00
GCC Administrator d06488d83d Daily bump.
From-SVN: r64058
2003-03-10 00:16:27 +00:00
Eric Botcazou cee7d07b45 re PR rtl-optimization/9888 (-mcpu=k6 -Os produces out of range loop instructions)
PR optimization/9888
	Backport patch from mainline:

	2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
	            Jeff Law  <law@redhat.com>

	* i386.md (length_immediate attribute): Fix typo.
	(length_address attribute): Likewise.
	(modrm attribute): Set it to 0 for immediate call instructions.
	(jcc_1 pattern): Set modrm attribute to 0.
	(jcc_2 pattern ): Likewise.
	(jump pattern): Likewise.
	(doloop_end_internal pattern): Explicitly set length.
	(leave pattern): Fix typo.
	(leave_rex64 pattern): Likewise.

From-SVN: r64035
2003-03-09 15:51:41 +00:00
No Author cda7b37938 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r64034
2003-03-09 15:51:41 +00:00
GCC Administrator ec9044d051 Daily bump.
From-SVN: r64007
2003-03-09 00:16:25 +00:00
Hans-Peter Nilsson d688dcac68 * gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.
From-SVN: r63989
2003-03-08 14:04:35 +00:00
Eric Botcazou 45e0ebde97 re PR middle-end/7796 (sparc-sun-solaris2.7 extra failure w/-m64 on execute/930921-1.c in unroll.c)
PR middle-end/7796
	* unroll.c (calculate_giv_inc): Handle constants being
	loaded with LSHIFTRT.

From-SVN: r63973
2003-03-08 07:42:41 +00:00
GCC Administrator 892ed2606b Daily bump.
From-SVN: r63958
2003-03-08 00:16:26 +00:00
Eric Botcazou 4cbf0bedb5 re PR rtl-optimization/8726 ([3.2.1/3.3] gcc -O2 miscompiles Samba 2.2.7 on 32-bit sparc)
PR optimization/8726
	Backport patch from mainline:

	2003-01-08  Dale Johannesen  <dalej@apple.com>

	* function.c (assign_parms):  Don't set pretend_args_size if
	REG_PARM_STACK_SPACE.

From-SVN: r63938
2003-03-07 07:58:39 +00:00
GCC Administrator ad07e20639 Daily bump.
From-SVN: r63918
2003-03-07 00:16:27 +00:00
Reinhard Jessich 7a5c1479ed PR 9954/other
2003-03-06  Reinhard Jessich <reinhard.jessich@telering.at>

	PR 9954/other
	* config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Since this uses
	<sys/ucontext.h> it should be wrapped in an inhibit_libc conditional
	like the same code in config/i386/linux64.h.

From-SVN: r63902
2003-03-06 20:19:22 +00:00
GCC Administrator bd3238d0f0 Daily bump.
From-SVN: r63877
2003-03-06 00:16:29 +00:00
Eric Botcazou 9419139895 re PR c/9799 (mismatching structure initializer with nested flexible array member, segfaults)
PR c/9799
	* c-typeck.c (push_init_level): Add sanity check.

From-SVN: r63835
2003-03-05 09:00:43 +00:00
No Author 1f4d936044 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r63834
2003-03-05 09:00:43 +00:00
GCC Administrator 0ebbc6e4ec Daily bump.
From-SVN: r63817
2003-03-05 00:16:34 +00:00
GCC Administrator 411764fd7c Daily bump.
From-SVN: r63747
2003-03-04 00:16:26 +00:00
GCC Administrator f1ce191672 Daily bump.
From-SVN: r63708
2003-03-03 00:16:26 +00:00
GCC Administrator c16ee59029 Daily bump.
From-SVN: r63639
2003-03-02 00:16:25 +00:00
Bruce Korb cee82099f1 re-alphabetize
From-SVN: r63623
2003-03-01 20:45:11 +00:00
GCC Administrator 0386e0d2fc Daily bump.
From-SVN: r63593
2003-03-01 00:16:32 +00:00
Bob Wilson d8494b66bf Backport following patch:
2003-02-28  Bob Wilson  <bob.wilson@acm.org>
	* config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.

From-SVN: r63571
2003-02-28 18:38:19 +00:00
Joel Sherrill 9c1a9616e0 PR 9638/other
2003-02-28  Joel Sherrill <joel@OARcorp.com>

	PR 9638/other
	* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
	this constant defaults to 1.

From-SVN: r63564
2003-02-28 17:31:34 +00:00
GCC Administrator 3e8787b960 Daily bump.
From-SVN: r63535
2003-02-28 00:16:28 +00:00
Alan Modra e183e1d178 * config/rs6000/rs6000.md: Add TI constant splitter.
From-SVN: r63500
2003-02-27 12:38:01 +10:30
GCC Administrator 1509e03896 Daily bump.
From-SVN: r63493
2003-02-27 00:16:25 +00:00
GCC Administrator 99125b5c87 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r63492.2
2003-02-27 00:16:24 +00:00
Jan Hubicka fbea031334 re PR target/8343 ([m68k] [3.2 regression] m68k-elf/rtems ICE at instantiate_virtual_regs_1)
Fix for PR8343
	* m68k.md (umulsidi, mulsidi expanders): Use register operand.

From-SVN: r63486
2003-02-26 13:44:57 -08:00
David Billinghurst 3a74e697e7 fixincl.x: Regenerate
2003-02-26  David Billinghurst <David.Billinghurst@riotinto.com>

	* fixinc/fixincl.x: Regenerate

From-SVN: r63460
2003-02-26 10:08:47 +00:00
Richard Henderson 30c9b4e63a i386.c (function_arg): Pass variable sized structures correctly on the stack.
* config/i386/i386.c (function_arg): Pass variable sized
        structures correctly on the stack.

From-SVN: r63444
2003-02-25 17:29:09 -08:00
GCC Administrator e31417a6be Daily bump.
From-SVN: r63436
2003-02-26 00:16:25 +00:00
Franz Sirl 7282d5c9aa re PR target/9732 ([ppc32] Wrong code with -O2 -fPIC)
2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR target/9732
	* gcc.dg/20030225-1.c: New test.

From-SVN: r63431
2003-02-25 23:24:08 +00:00
No Author 3724a781fc This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r63430
2003-02-25 23:24:08 +00:00
Franz Sirl af35336144 re PR target/9732 ([ppc32] Wrong code with -O2 -fPIC)
2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR target/9732
	* config/rs6000/rs6000.c (first_reg_to_save): Handle
	PIC_OFFSET_TABLE_REGNUM for -fPIC too.
	(rs6000_emit_prologue): Likewise.
	(rs6000_emit_epilogue): Likewise.
	* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
	PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.

From-SVN: r63429
2003-02-25 23:22:48 +00:00
Matthias Klose da5217efdc [multiple changes]
2003-02-25  Matthias Klose  <doko@debian.org>

        2003-02-07  Richard Henderson  <rth@redhat.com>
        PR 9226
        * gcse.c (local_cprop_find_used_regs): New.
        (local_cprop_pass): Use it.

From-SVN: r63398
2003-02-25 09:22:32 +00:00
Matthias Klose 276bd730fc config.gcc (m68k-*-linux*): Add crtbeginT.o to extra_parts.
2003-02-25  Matthias Klose  <doko@debian.org>

        * config.gcc (m68k-*-linux*): Add crtbeginT.o to extra_parts.

From-SVN: r63397
2003-02-25 08:03:27 +00:00
GCC Administrator fd9e8b328d Daily bump.
From-SVN: r63388
2003-02-25 00:16:27 +00:00
Rainer Orth 7535cd74bd re PR c/5059 (Compiling s/w containing the use of DIR.H fails on other stat-calls)
* config/alpha/osf.h (CPP_SUBTARGET_SPEC): Rename
	__EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
	* doc/extend.texi (Tru64 Pragmas): Reflect this.

	* fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
	extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
	* fixinc/fixincl.x: Regenerate.
	* fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
	testcase.
	Fixes PR c/5059, c/6126, other/9671.

	testsuite:
	* g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX.
	* gcc.dg/pragma-ep-1.c: Likewise.

From-SVN: r63369
2003-02-24 18:46:26 +00:00
Kriang Lerdsuwanakij 5b69f8a28a re PR c++/9602 (Total confusion about template/friend/virtual/abstract)
PR c++/9602
	* typeck2.c (abstract_virtuals_error): Don't check when we
	are processing a template.

	* g++.dg/template/friend16.C: New test.

From-SVN: r63361
2003-02-24 15:29:29 +00:00
David Billinghurst 40b1ab9f71 re PR libgcj/9652 (libjava bootstrap failure on irix6.5.1[78])
2003-02-24  David Billinghurst <David.Billinghurst@riotinto.com>

	Fixes PR libgcj/9652.
	Backport patch from mainline:
	2003-02-12  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

	* fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
	socklen_t definition.
	* fixinc/fixincl.x: Regenerate.
	* fixinc/tests/base/sys/socket.h: New file.

From-SVN: r63349
2003-02-24 01:41:13 +00:00
GCC Administrator faffb2eb5d Daily bump.
From-SVN: r63343
2003-02-24 00:16:26 +00:00
Hans-Peter Nilsson 186975e197 regmove.c (optimize_reg_copy_1): Do not replace a hard register in an asm.
* regmove.c (optimize_reg_copy_1): Do not replace a hard register
	in an asm.

From-SVN: r63326
2003-02-23 17:06:26 +00:00
Hans-Peter Nilsson 58b6c2eb0a * gcc.dg/asmreg-1.c: New test.
From-SVN: r63324
2003-02-23 16:59:11 +00:00
Kriang Lerdsuwanakij d50de925c9 re PR c++/7982 (core dump due to recursive definition (using stl set))
PR c++/7982
	* decl.c (warn_about_implicit_typename_lookup): Handle TYPEOF_TYPE.

	* g++.dg/warn/implicit-typename1.C: New test.

From-SVN: r63322
2003-02-23 14:49:01 +00:00
No Author 7c82719f4b This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r63321
2003-02-23 14:49:01 +00:00
GCC Administrator d4906ed385 Daily bump.
From-SVN: r63308
2003-02-23 00:16:25 +00:00
Steven Bosscher 2de7672f7a re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus)
2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>

	PR other/3782
	* toplev.c (process_options): If flag_detailed_statistics is set,
	then set time_report as well.

[[Split portion of a mixed commit.]]

From-SVN: r63277.1
2003-02-22 06:42:18 +01:00
Steven Bosscher 9ae46d49c1 re PR c/8828 (gcc reports some code is unreachable when it is not)
2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>

	PR c/8828
	* jump.c (never_reached_warning): Don't fall through BARRRIER
	insns.  Update comments to reflect what the function really does.

From-SVN: r63276
2003-02-22 06:37:25 +01:00
Richard Henderson a780639375 * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
From-SVN: r63266
2003-02-21 17:58:21 -08:00
GCC Administrator fa13e3115d Daily bump.
From-SVN: r63258
2003-02-22 00:16:28 +00:00
Glen Nakamura 64a686de34 re PR rtl-optimization/8613 (-O2 optimization generates wrong code)
PR optimization/8613
	* builtins.c (expand_builtin): Emit postincrements before expanding
	builtin functions.

From-SVN: r63211
2003-02-21 08:18:06 +00:00
No Author 543abfe629 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r63210
2003-02-21 08:18:06 +00:00
GCC Administrator c4ab9ffe1d Daily bump.
From-SVN: r63192
2003-02-21 00:16:28 +00:00
Randolph Chung 0a7661bb98 re PR rtl-optimization/9768 ([HP-PA] ICE when optimizing inline code at -O2)
PR optimization/9768
	Backport patch from mainline:

	2002-03-21  DJ Delorie  <dj@redhat.com>

	* bb-reorder.c (make_reorder_chain_1): Protect against
	when redundant edges are omitted.
	* predict.c (dump_prediction): Likewise.

Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>

From-SVN: r63180
2003-02-20 20:11:04 +00:00
BAN Nobuhiro f8f6b6e7c6 re PR c/9678 (Incorrect specs for cpp_cpucommon on i386)
PR c/9678
	* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Fix typo.

From-SVN: r63178
2003-02-20 20:04:02 +00:00
Alexandre Oliva 26f170840f configure.in (multiosdir): Set to nothing if compiler is not GCC or if...
* configure.in (multiosdir): Set to nothing if compiler is not GCC
or if it doesn't support -print-multi-os-directory.
* configure: Rebuilt.

From-SVN: r63152
2003-02-20 02:32:58 +00:00
GCC Administrator 96245633f1 Daily bump.
From-SVN: r63140
2003-02-20 00:16:27 +00:00
Kriang Lerdsuwanakij 38d5c737e0 re PR c++/9459 (typeof in return type specification of template not supported)
PR c++/9459
	* error.c (dump_type_prefix): Handle TYPEOF_TYPE.
	(dump_type_suffix): Likewise.

	* g++.dg/ext/typeof4.C: New test.

From-SVN: r63115
2003-02-19 15:28:31 +00:00
No Author 16db5700c4 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r63114
2003-02-19 15:28:31 +00:00
GCC Administrator 6656c11141 Daily bump.
From-SVN: r63072
2003-02-19 00:16:56 +00:00
Jakub Jelinek b74899f7f3 real.c (asctoeg): Handle denormals in hexadecimal notation.
* real.c (asctoeg): Handle denormals in hexadecimal notation.

	* gcc.dg/20030217-1.c: New test.

From-SVN: r63069
2003-02-19 00:43:55 +01:00
GCC Administrator 7db028d8e1 Daily bump.
From-SVN: r63019
2003-02-18 00:16:27 +00:00
Paolo Carlini 3f7d335444 re PR libstdc++/9169 (filebuf output fails if codecvt<>::out returns noconv)
2003-02-17  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/9169
	* include/bits/fstream.tcc (_M_convert_to_external):
	Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
	* testsuite/27_io/filebuf_virtuals.cc (test09): Add.

From-SVN: r63011
2003-02-17 21:48:49 +00:00
GCC Administrator 58078e9479 Daily bump.
From-SVN: r62991
2003-02-17 00:16:25 +00:00
GCC Administrator e26ff092c7 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r62990.2
2003-02-17 00:16:24 +00:00
Arend Bayer 349baa8e1c fold-const.c (extract_muldiv_1): Rename from extract_muldiv; rearrange mult arguments for less recursion.
* fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
        rearrange mult arguments for less recursion.
        (extract_muldiv): New.  Prevent runaway recursion.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r62967
2003-02-16 00:28:04 -08:00
GCC Administrator 3b452fc32a Daily bump.
From-SVN: r62950
2003-02-16 00:16:25 +00:00
GCC Administrator 52c9cee8e2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r62949.2
2003-02-16 00:16:24 +00:00
GCC Administrator 665937d879 Daily bump.
From-SVN: r62927
2003-02-15 00:16:25 +00:00
Richard Henderson 31a9beff7f re PR rtl-optimization/7702 (gcc-3.2 optimization problem on a DEC alpha under OSF1)
PR optimization/7702
        * reload1.c (reload_cse_simplify_set): Honor
        CLASS_CANNOT_CHANGE_MODE_P.

From-SVN: r62922
2003-02-14 15:29:50 -08:00
Joel Sherrill 63fd34ffc2 Make-lang.in: Revert change of 2003-01-29.
2003-02-14	Joel Sherrill <joel@OARcorp.com>

	* Make-lang.in: Revert change of 2003-01-29.  Continue to
	build gnatpsta and gnatpsys when cross.
	* Makefile.in: Revert change of 2003-01-29.  Continue to use
	LIBGCC2_CFLAGS not TARGET_LIBGCC2_CFLAGS.

From-SVN: r62907
2003-02-14 17:51:45 +00:00
John David Anglin 82c586a313 inclhack.def (hpux_long_double): Tighten select and add bypass regexp.
* inclhack.def (hpux_long_double): Tighten select and add bypass
	regexp.
	* fixincl.x: Rebuilt.

From-SVN: r62888
2003-02-14 04:58:24 +00:00
GCC Administrator 71bdcc0cdd Daily bump.
From-SVN: r62881
2003-02-14 00:16:27 +00:00
Josef Zlomek c08c0cf8a5 cfgcleanup.c (outgoing_edges_match): When there is single outgoing edge and block ends with a jump insn it must be...
* cfgcleanup.c (outgoing_edges_match): When there is single outgoing
	edge and block ends with a jump insn it must be simple jump.

From-SVN: r62860
2003-02-13 18:32:17 +00:00
Kaveh R. Ghazi bb0da21b89 acconfig.h: New file.
* acconfig.h: New file.  Add uintptr_t.
	* config.in: Regenerated.

From-SVN: r62821
2003-02-13 05:01:33 +00:00
No Author 6382297035 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r62820
2003-02-13 05:01:33 +00:00
GCC Administrator 6684d31386 Daily bump.
From-SVN: r62805
2003-02-13 00:16:28 +00:00
John David Anglin 0562f79eb0 PR9275 and PR8694
PR9275 and PR8694
	* inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
	hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
	* fixincl.x: Rebuilt.
	* tests/base/stdlib.h: Update.
	* tests/base/ctype.h: New file.

From-SVN: r62800
2003-02-13 00:04:34 +00:00
No Author d0828b1713 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r62799
2003-02-13 00:04:34 +00:00
Marc Espie 2145c3b24b config-ml.in: Propagate DESTDIR.
2003-02-12  Marc Espie  <espie@openbsd.org>

	* config-ml.in: Propagate DESTDIR.

From-SVN: r62775
2003-02-12 17:44:49 +00:00
Kaveh R. Ghazi 243f24b4c7 re PR target/6362 (mips-irix6 gcc-3.1 C testsuite failure with -mips4 in compile/920501-4.c)
* mips.h (FP_INC): Define.

	Backport fix for PR6362:
	2002-10-01  Richard Sandiford  <rsandifo@redhat.com>

	* config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
	* config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
	* config/mips/mips.c (fcc_register_operand): New function.
	(mips_emit_fcc_reload): New function, extracted from reload_incc.
	* cnfig/mips/mips.md (reload_incc): Change destination prediate
	to fcc_register_operand.  Remove misleading source constraint.
	Use mips_emit_fcc_reload.
	(reload_outcc): Duplicate reload_incc.

From-SVN: r62770
2003-02-12 15:25:50 +00:00
GCC Administrator a9802526ea Daily bump.
From-SVN: r62747
2003-02-12 00:16:28 +00:00
Bob Wilson 2c26f81ee7 xtensa.md (set_frame_ptr): Change rtl to set reg a7.
* config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
        * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
        as a SET pattern.

From-SVN: r62737
2003-02-11 22:18:53 +00:00
GCC Administrator 6a06042a56 Daily bump.
From-SVN: r62665
2003-02-11 00:16:25 +00:00
Jason Merrill fad48a6117 re PR c++/8674 (ICE in cp_expr_size, at cp/cp-lang.c:307)
* call.c (call_builtin_trap): New fn.
        (convert_arg_to_ellipsis): Use it.  Downgrade error to warning.
        (build_call): Don't set current_function_returns_abnormally outside
        a function.

        PR c++/8674
        * call.c (build_over_call): Check specifically for TARGET_EXPR
        when eliding.

From-SVN: r62639
2003-02-10 11:18:34 -05:00
Eric Botcazou 68060abb2c re PR c/7741 (ICE on conflicting types (make_decl_rtl at varasm.c:834))
PR c/7741
	* c-decl.c (duplicate_decls): Discard the initializer of the
	new decl when the types are conflicting.

Co-Authored-By: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>

From-SVN: r62636
2003-02-10 13:01:50 +00:00
No Author 3bcb4bfafb This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r62635
2003-02-10 13:01:50 +00:00
GCC Administrator 9ebd33f702 Daily bump.
From-SVN: r62615
2003-02-10 00:16:27 +00:00
GCC Administrator 0e143ce858 Daily bump.
From-SVN: r62588
2003-02-09 00:16:25 +00:00
Daniel Jacobowitz e7d24cf3e9 dwarf2out.c (gen_type_die): Check for typedefs before calling for TYPE_MAIN_VARIANT.
* dwarf2out.c (gen_type_die): Check for typedefs before calling
	for TYPE_MAIN_VARIANT.

From-SVN: r62585
2003-02-08 21:51:53 +00:00
Andreas Tobler 128856de79 darwin_closure.S: Fix alignement bug, allocate 8 bytes for the result.
2003-02-08   Andreas Tobler <a.tobler@schweiz.ch>

	* libffi/src/powerpc/darwin_closure.S:
        Fix alignement bug, allocate 8 bytes for the result.
        * libffi/src/powerpc/aix_closure.S:
        Likewise.
        * libffi/src/powerpc/ffi_darwin.c:
        Update stackframe description for aix/darwin_closure.S.

From-SVN: r62574
2003-02-08 09:04:17 +01:00
Andreas Tobler 4f92466219 [multiple changes]
2003-02-07 Andreas Tobler <a.tobler@schweiz.ch>

        * libffi/src/ffitest.c
         add closure testcases

2003-02-07 Kevin B. Hendricks <khendricks@ivey.uwo.ca>

        * libffi/src/powerpc/ffi.c
         fix alignment bug for float (4 byte aligned iso 8 byte)

From-SVN: r62573
2003-02-08 08:54:39 +01:00
GCC Administrator bc89d0826d Daily bump.
From-SVN: r62562
2003-02-08 00:16:25 +00:00
John David Anglin b34046d651 pa.c (output_millicode_call): Use $PIC_pcrel$0 for long PIC millicode calls when...
* pa.c (output_millicode_call): Use $PIC_pcrel$0 for long PIC
	millicode calls when !TARGET_SOM and TARGET_GAS is true.
	* pa.md (jump): Likewise.

From-SVN: r62556
2003-02-07 22:59:30 +00:00
Paolo Carlini f626985835 filebuf_virtuals.cc (test08): Fix for unsigned char platforms.
2003-02-07  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
	unsigned char platforms.

From-SVN: r62521
2003-02-07 11:10:20 +00:00
Kaveh R. Ghazi 32441d96fc 20020430-1.c: Fix dg command typos.
* gcc.dg/20020430-1.c: Fix dg command typos.
	* gcc.dg/20020503-1.c: Likewise.

From-SVN: r62513
2003-02-07 04:01:18 +00:00
GCC Administrator de84da50f5 Daily bump.
From-SVN: r62503
2003-02-07 00:16:25 +00:00
Paolo Carlini 86a2a21759 [multiple changes]
2003-02-06  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/9538
	* include/bits/streambuf.tcc (sputbackc): Access
	this->gptr()[-1] only if _M_in_beg < _M_in_cur.
	* testsuite/27_io/filebuf_virtuals.cc (test08): Add.

2003-02-06  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/9507
	* include/bits/fstream.tcc (open): If the 'ate' repositioning
	operation fails, calls close _and_ returns a null pointer
	to indicate failure (27.8.1.3,4).
	* testsuite/27_io/filebuf_members.cc (test_06): Add.

2003-02-06  Petur Runolfsson  <peturr02@ru.is>

	* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).

From-SVN: r62491
2003-02-06 13:36:39 +00:00
Eric Botcazou 123e6bf737 re PR c/9530 (ICE on missing return statement)
PR c/9530
	* config/i386/i386.h (FUNCTION_OK_FOR_SIBCALL): Forbid sibcalls
	from functions that return a float to functions that don't.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r62484
2003-02-06 10:59:21 +00:00
No Author a0571a5836 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r62483
2003-02-06 10:59:21 +00:00
Kaveh R. Ghazi 411f355db8 20020227-1.x: Update specific XFAIL conditions for SPARC targets.
* gcc.c-torture/execute/20020227-1.x: Update specific XFAIL
	conditions for SPARC targets.

From-SVN: r62467
2003-02-06 00:39:12 +00:00
GCC Administrator f17ef253f5 Daily bump.
From-SVN: r62458
2003-02-06 00:16:27 +00:00
Bob Wilson 3f137352ee xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers.
* config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
        coprocessor registers before floating-point registers.
        * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
        to account for a previously removed register.
        (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
        Delete unused macros.

From-SVN: r62446
2003-02-05 18:02:27 +00:00
Benjamin Kosnik d482bff636 configure.in (libtool_VERSION): To 5:3:0.
2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libtool_VERSION): To 5:3:0.
	* configure: Regenerated.

From-SVN: r62443
2003-02-05 16:37:00 +00:00
Gabriel Dos Reis bece3a183b Bump version.
From-SVN: r62432
2003-02-05 05:09:15 +00:00
Gabriel Dos Reis 4fc9a12349 Update version
From-SVN: r62430
2003-02-05 03:03:11 +00:00
Gabriel Dos Reis ca4bb9a7b0 Mark ChangeLog
From-SVN: r62429
2003-02-05 03:02:24 +00:00
Gabriel Dos Reis 1df61ccb28 Fix thinko
From-SVN: r62427
2003-02-05 01:59:53 +00:00
No Author 3089eda9d0 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r62425
2003-02-05 01:01:45 +00:00
Mark Mitchell e8dfa5faa9 operators.def: Add <?= and >?=.
2003-02-03  Mark Mitchell  <mark@codesourcery.com>

        * operators.def: Add <?= and >?=.

From-SVN: r62424
2003-02-05 01:01:03 +00:00
GCC Administrator 1248866b4d Daily bump.
From-SVN: r62416
2003-02-05 00:16:27 +00:00
Chris Lingard db8de0ccca configure.in: Handle binutils versions with 4 dot separated numbers.
2003-02-03  Chris Lingard <chris@stockwith.co.uk>
	    Dan Osterrath <do3@mail.inf.tu-dresden.de>

	* configure.in: Handle binutils versions with 4 dot separated
	numbers.
	* configure: Rebuilt.

Co-Authored-By: Dan Osterrath <do3@mail.inf.tu-dresden.de>

From-SVN: r62363
2003-02-04 01:17:46 +01:00
GCC Administrator b806c0f855 Daily bump.
From-SVN: r62359
2003-02-04 00:16:28 +00:00
John David Anglin 15b251955c Add PR numbers to previous update.
From-SVN: r62344
2003-02-03 21:05:31 +00:00
Franz Sirl 33b2a2e04a backport: integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it refers to a subroutine parameter.
2003-02-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	Backport following patch:

	2002-08-01  Richard Henderson  <rth@redhat.com>

	* integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
	refers to a subroutine parameter.

From-SVN: r62342
2003-02-03 20:56:29 +00:00
John David Anglin 557ef47ced backport: [multiple changes]
2003-02-03  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* cfgcleanup.c (try_forward_edges): Check for null insn.

2003-02-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
	Eric Botcazou  <ebotcazou@libertysurf.fr>

	Backport following patches:

	2002-09-16  Richard Henderson  <rth@redhat.com>

        * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
        as well as OFFSET for BITPOS.

	2002-09-08  Jan Hubicka  <jh@suse.cz>

        * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
        handling.

	2002-07-29  Richard Henderson  <rth@redhat.com>

        * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
        set_mem_attributes and add BITPOS argument.  Subtract it from
        OFFSET when same is adjusted.
        (set_mem_attributes): New wrapper function.
        * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
        remove offset adjustment hack.
        * expr.h (set_mem_attributes_minus_bitpos): Declare.

	2002-07-25  Richard Henderson  <rth@redhat.com>

        * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
        in ARRAY_REF of DECL_P case.

	2002-07-21  Richard Henderson  <rth@redhat.com>

        * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
        when flag_argument_noalias == 2.
        * alias.c (nonoverlapping_memrefs_p): Handle that.
        * print-rtl.c (print_mem_expr): Likewise.

	2002-06-03  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>

        * alias.c (nonoverlapping_memrefs_p): Fix off by one error.

From-SVN: r62331
2003-02-03 18:01:38 +00:00
Steve Ellcey 128ba24952 * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
From-SVN: r62317
2003-02-03 16:14:27 +00:00
GCC Administrator b63dc678de Daily bump.
From-SVN: r62295
2003-02-03 00:16:25 +00:00
GCC Administrator ed01f3eea6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r62294.2
2003-02-03 00:16:24 +00:00
Christian Cornelssen 92bd6af5dc Makefile.in (libiberty_topdir): New subst.
* Makefile.in (libiberty_topdir): New subst.
	(mkinstalldirs): Redefine in terms of the above.
	* configure.in: AC_SUBST it.
	* configure: Regenerate.

From-SVN: r62288
2003-02-02 22:15:38 +01:00
Jakub Jelinek 0d5c9565cd re PR preprocessor/9465 (tradcpp0 segfaults on nul bytes)
PR preprocessor/9465
	* tradcpp.c (fixup_newlines): Use memchr instead of strchr.

From-SVN: r62280
2003-02-02 13:59:58 +01:00
GCC Administrator 741c309e59 Daily bump.
From-SVN: r62263
2003-02-02 00:16:26 +00:00
GCC Administrator 39f4efdd0e Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r62262.2
2003-02-02 00:16:25 +00:00
Loren J. Rittle 904d0abf20 Correct ChangeLog entry.
From-SVN: r62237
2003-02-01 05:36:33 +00:00
John David Anglin 2f6f290782 pa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes from prologue to epilogue.
* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
	updating of total_code_bytes from prologue to epilogue.
	(get_last_nonnote_insn): New function.

From-SVN: r62234
2003-02-01 04:50:32 +00:00
GCC Administrator 56e9aa40d2 Daily bump.
From-SVN: r62220
2003-02-01 00:16:25 +00:00
Loren J. Rittle c976099b74 re PR target/9506 (ABI breakage: structure return)
PR c/9506
	* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
	* gcc.dg/struct-ret-libc.c: New test.

From-SVN: r62206
2003-01-31 22:06:29 +00:00
No Author f525d3f5e3 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r62205
2003-01-31 22:06:29 +00:00
Paolo Carlini ddd861b2c5 Further tweaks for Bison-1.875.
2003-01-31  Paolo Carlini  <pcarlini@unitus.it>

	Further	tweaks for Bison-1.875.
	* gcc.dg/cpp/assert_trad2.c: Test for "(parse|syntax) error".
	* gcc.dg/cpp/direct2s.c: Likewise.
	* g++.dg/lookup/using2.C: Likewise.
	* g++.dg/parse/angle-bracket.C: Likewise.
	* g++.dg/template/typename3.C: Likewise.

From-SVN: r62176
2003-01-31 11:11:32 +00:00
GCC Administrator 524caa2bec Daily bump.
From-SVN: r62165
2003-01-31 00:16:28 +00:00
Roger Sayle 04aa9d2bd2 config.guess: Updated to 2003-01-30's version.
* config.guess: Updated to 2003-01-30's version.
	* config.sub: Updated to 2003-01-28's version.

From-SVN: r62158
2003-01-30 22:32:36 +00:00
Andreas Schwab 4a2d469428 m68k.md (tablejump+2): Don't sign extend an address register.
2003-01-30  Andreas Schwab  <schwab@suse.de>

	* config/m68k/m68k.md (tablejump+2): Don't sign extend an address
	register.
        * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
        * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.

From-SVN: r62147
2003-01-30 16:57:24 +00:00
Joel Sherrill 3f786021f8 Fixed incorrectly formatted entries.
From-SVN: r62144
2003-01-30 16:44:47 +00:00
Ralf Corsepius 1400c26485 re PR target/9316 (powerpc-rtems/extending multilibs)
2003-01-30	Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	PR target/9316
	* config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
	* config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
	* config/rs6000/t-rtems: New file. multilib variants to match OS.
	* config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
	rs6000/t-ppcgas so we get the desired multilibs.

From-SVN: r62136
2003-01-30 14:03:42 +00:00
GCC Administrator a789af69c5 Daily bump.
From-SVN: r62117
2003-01-30 00:16:27 +00:00
Franz Sirl 782daf93d5 ppc_closure.S: Recode to fit shared libs.
2003-01-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* src/powerpc/ppc_closure.S: Recode to fit shared libs.

From-SVN: r62114
2003-01-29 23:56:50 +00:00
Joel Sherrill 4fc5b7cf59 ChangeLog, ChangeLog: Moved misplaced entry.
2002-01-29	Joel Sherrill <joel@OARcorp.com>

	* ChangeLog, ada/ChangeLog: Moved misplaced entry.

From-SVN: r62102
2003-01-29 17:54:16 +00:00
Joel Sherrill 00323b08cf 5rosinte.ads: Add SIGXCPU.
2003-01-29	Joel Sherrill <joel@OARcorp.com>

	* 5rosinte.ads: Add SIGXCPU.
	* 5rtpopsp.adb: New file.
	* Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
	* Makefile.in: Recognize more RTEMS targets and add the RTEMS
	specific file 5rtpopsp.adb.
	* adaint.h: Add include of <stdio.h> when target is RTEMS.  This
	is likely needed for all newlib targets.
	* init.c: Add RTEMS specific version of __gnat_initialize().

From-SVN: r62094
2003-01-29 17:34:09 +00:00
Joel Sherrill 7f4bd74845 re PR bootstrap/9296 ([*-rtems] gthr-rtems regression)
2003-01-29	Joel Sherrill <joel@OARcorp.com>

	* gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
	depended on it being defined until now. This was tracked as PR9296.

From-SVN: r62089
2003-01-29 15:57:53 +00:00
Joel Sherrill eaf76a2574 re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue)
2003-01-13	Joel Sherrill <joel@OARcorp.com>

	* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
	RTEMS code knows which C++ initialization style the toolset
	configuration is using. This was tracked as PR9295.

From-SVN: r62088
2003-01-29 15:55:28 +00:00
Joel Sherrill 3ed8b7cf35 re PR bootstrap/9293 ([m68k-elf/rtems] config/m68k/t-crtstuff bug)
2003-01-29	Joel Sherrill <joel@OARcorp.com>

	* config/m68k/t-crtstuff: Replace spaces with tabs, add
	 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
	This issue was tracked as PR9293.

From-SVN: r62087
2003-01-29 15:52:58 +00:00
Joel Sherrill d2b7331b5c re PR bootstrap/9292 (hppa1.1-rtems configurery problems)
2003-01-29	Joel Sherrill <joel@OARcorp.com>

	* config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
	RTEMS threads.
	* config/pa/rtems.h (LIB_SPEC): Use -N when linking.
	This issue was tracked as PR9292.

From-SVN: r62085
2003-01-29 15:52:11 +00:00
Christian Cornelssen 9a7008f4e1 Make-lang.in (gnattools, [...]): Complete indentation fixes.
* Make-lang.in (gnattools, ada.install-common):
Complete indentation fixes.
(ada.install-common): Now really remove the erroneous and
redundant gnatchop installation commands.

From-SVN: r62067
2003-01-29 10:13:21 +00:00
GCC Administrator 8ab61b0249 Daily bump.
From-SVN: r62055
2003-01-29 00:16:29 +00:00
GCC Administrator 25c889bb4e Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r62054.2
2003-01-29 00:16:28 +00:00
Christian Cornelssen b42f080f47 install.texi: Add documentation for installation into tooldirs and with DESTDIR.
* doc/install.texi: Add documentation for installation into
tooldirs and with DESTDIR.

From-SVN: r62046
2003-01-28 23:15:43 +00:00
Alexandre Oliva 621d752ac9 configure.in (toolexecdir, [...]): Set and AC_SUBST.
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

From-SVN: r62041
2003-01-28 22:59:05 +00:00
Laurent Guerby cb0279ddea deleted
From-SVN: r62038
2003-01-28 22:30:00 +00:00
Laurent Guerby d315017cfa re PR ada/8344 (mips-rtems build problem)
2003-01-28  Laurent Guerby <guerby@acm.org>

	PR ada/8344
	* final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
        * Makefile.in: match previous change.

From-SVN: r62037
2003-01-28 22:28:24 +00:00
Alexandre Oliva 1413cd1b23 Make-lang.in (ada.install-common): Let $(DESTDIR)$(bindir) be created if necessary.
* Make-lang.in (ada.install-common): Let $(DESTDIR)$(bindir)
be created if necessary.  Remove erroneous and redundant
gnatchop installation commands.  Test for gnatdll before
attempting to install it.  Use initial tab instead of spaces
in continuation lines.
(ada.uninstall): Uninstall gnat instead of gnatcmd.
Also uninstall gnatfind, gnatxref, gnatlbr, and gnatdll
from all plausible locations.

From-SVN: r62027
2003-01-28 22:02:54 +00:00
Alexandre Oliva fad6bb7fa9 Make-lang.in (ada.install-common, [...]): Prepend $(DESTDIR) to the destination directory in all (un)installation commands.
* Make-lang.in (ada.install-common, ada.uninstall):
Prepend $(DESTDIR) to the destination directory in all
(un)installation commands.
* Makefile.in (install-gnatlib): Ditto.  Rewrite $(LN)
commands to support DESTDIR with "ln" as well as with
"ln -s".

From-SVN: r62026
2003-01-28 22:01:59 +00:00
Christian Cornelssen 671ccbec5b Make-lang.in (ada.install-common, [...]): Prepend $(DESTDIR) to the destination directory in all (un)installation commands.
* Make-lang.in (ada.install-common, ada.uninstall):
Prepend $(DESTDIR) to the destination directory in all
(un)installation commands.
* Makefile.in (install-gnatlib): Ditto.  Rewrite $(LN)
commands to support DESTDIR with "ln" as well as with
"ln -s".

From-SVN: r62025
2003-01-28 22:01:59 +00:00
Christian Cornelssen 6c769619ed Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-cpp, uninstall-cpp, installdirs, install-common)
(install-driver, install-info, install-man)
(install-headers, install-include-dir, install-headers-tar)
(install-headers-cpio, install-headers-cp, install-collect2)
(uninstall): Prepend $(DESTDIR) to destination paths in all
(un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4 (SHLIB_INSTALL): Prepend $$(DESTDIR)
to $$(slibdir) in the installation commands.
* config/arm/t-netbsd (SHLIB_INSTALL): Likewise.
* config/mips/t-iris6 (SHLIB_INSTALL): Likewise.
* config/pa/t-hpux-shlib (SHLIB_INSTALL): Likewise.
* config/rs6000/t-aix43 (SHLIB_INSTALL): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_INSTALL): Likewise.
* config/t-slibgcc-sld (SHLIB_INSTALL): Likewise.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.

From-SVN: r62023
2003-01-28 21:57:41 +00:00
Christian Cornelssen 5b579ee2b1 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
(info-subdir, install-info-subdir, clean-info-subdir)
(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
(clean-subdir, distclean-subdir, maintainer-clean-subdir):
Pass $(FLAGS_TO_PASS).

From-SVN: r62022
2003-01-28 21:54:11 +00:00
Christian Cornelssen 148d6f46d4 Makefile.in (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(MAKEDIRS): Prepend $(DESTDIR) to installdir names.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).

From-SVN: r62020
2003-01-28 21:53:32 +00:00
Christian Cornelssen afc51a6520 * Make-lang.in (c++.install-common, c++.install-man)
(c++.uninstall): Prepend $(DESTDIR) to destination paths
in all (un)installation commands.
(c++.install-common): Rewrite $(LN) commands to support
DESTDIR with "ln" as well as with "ln -s".

From-SVN: r62018
2003-01-28 21:53:12 +00:00
Christian Cornelssen bd9e9319e2 Make-lang.in (ada.install-common, [...]): Prepend $(DESTDIR) to the destination directory in all (un)installation commands.
* Make-lang.in (ada.install-common, ada.uninstall):
Prepend $(DESTDIR) to the destination directory in all
(un)installation commands.
* Makefile.in (install-gnatlib): Ditto.  Rewrite $(LN)
commands to support DESTDIR with "ln" as well as with
"ln -s".

From-SVN: r62017
2003-01-28 21:53:03 +00:00
Christian Cornelssen f412f39f9b * Make-lang.in (f77.install-common, f77.install-info)
(f77.install-man, f77.uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.

From-SVN: r62016
2003-01-28 21:52:58 +00:00
Christian Cornelssen 5c2012483f * Make-lang.in (java.install-common, java.uninstall)
(java.install-info, java.install-man): Prepend $(DESTDIR)
to destination paths in all (un)installation commands.

From-SVN: r62015
2003-01-28 21:52:53 +00:00
Christian Cornelssen b5a0255db1 Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
(install, uninstall): Prepend $(DESTDIR) to destination
paths in all (un)installation commands.

From-SVN: r62014
2003-01-28 21:52:30 +00:00
Christian Cornelssen c763a321d6 Makefile.in (mkinstalldirs): New variable.
* Makefile.in (mkinstalldirs): New variable.
(FLAGS_TO_PASS): Also pass DESTDIR.
(install_to_libdir, install_to_tooldir): Add $(mkinstalldirs)
command.  Prepend $(DESTDIR) to destination paths.
Cd to destination directory for post-install work.

From-SVN: r62012
2003-01-28 21:51:46 +00:00
Christian Cornelssen 5cafc8224f Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
(install-libs, install-headers): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.

From-SVN: r62011
2003-01-28 21:51:33 +00:00
Christian Cornelssen e9438d8b93 Makefile.am (install-data-local): Prepend $(DESTDIR) to destination paths in all (un)installation commands.
* include/Makefile.am (install-data-local): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands.  Use ${c_base_builddir} and ${std_builddir}
as destination subdirectories to achieve consistency with
preceding mkinstalldirs commands.  No effect because both
variables contain "." only.
* include/Makefile.in: Regenerate.

From-SVN: r62010
2003-01-28 21:51:30 +00:00
Nathan Sidwell 3f31886f24 re PR c++/9433 (SegFault in dynamic_cast)
libstdc++-v3:
	PR c++/9433
	* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
	with bases which are very ambiguous.
gcc/testsuite:
	PR c++/9433
	* g++.dg/abi/dcast1.C: New test.

From-SVN: r61986
2003-01-28 17:25:50 +00:00
No Author a1c7dbc291 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r61985
2003-01-28 17:25:50 +00:00
Gerald Pfeifer 1944f2839e backport: [multiple changes]
2003-01-28  Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
        Backport patches

  2002-10-04  Loren J. Rittle  <ljrittle@acm.org>

          * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.

  2002-08-01  Stan Shebs  <shebs@apple.com>
              Andreas Tobler  <toa@pop.agri.ch>

          * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
          plays nice with Darwin headers.
          (_BSD_RUNE_T_DEFINED_): Likewise.

From-SVN: r61965
2003-01-28 12:41:52 +00:00
Jeffrey D. Oldham 5f6eae89d0 re PR c++/47 (nested classes broken)
2003-01-27  Jeffrey D. Oldham  <oldham@codesourcery.com>

	PR c++/47
	* g++.old-deja/g++.other/lookup24.C: New test.

From-SVN: r61947
2003-01-28 03:21:09 +00:00
Alexandre Oliva 2d1ac702f6 Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use /`$$CC -print-multi-os-directory`.
* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
/`$$CC -print-multi-os-directory`.

From-SVN: r61929
2003-01-28 01:44:47 +00:00
Alexandre Oliva 7937d6d92c configure.in (toolexecdir, [...]): Set and AC_SUBST.
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
Set and AC_SUBST.  Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
(toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
* Makefile.in, configure: Rebuilt.

From-SVN: r61928
2003-01-28 01:44:39 +00:00
Alexandre Oliva 4e644b4d7a configure.in (toolexecdir, [...]): Set and AC_SUBST.
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.

From-SVN: r61924
2003-01-28 01:44:36 +00:00
Alexandre Oliva 2f46c413e9 * GCC 3.2.1 Released.
From-SVN: r61922
2003-01-28 01:44:15 +00:00
Alexandre Oliva 32f73bd44c Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* configure: Rebuilt.

From-SVN: r61921
2003-01-28 01:44:05 +00:00
Alexandre Oliva 639bc10487 aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* configure: Rebuilt.

From-SVN: r61920
2003-01-28 01:44:04 +00:00
GCC Administrator 804cc8dbc2 Daily bump.
From-SVN: r61909
2003-01-28 00:16:25 +00:00
GCC Administrator 9200641e20 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r61908.2
2003-01-28 00:16:24 +00:00
Gabriel Dos Reis 76c0097337 fix typo.
From-SVN: r61904
2003-01-27 23:20:43 +00:00
Gabriel Dos_Reis 51a9144398 * c-parse.in: Remove '%expect 31' directive in objc mode.
From-SVN: r61903
2003-01-27 23:17:14 +00:00
Richard Earnshaw d9ac64cdd3 function.c (purge_addressof_1): After pushing anaddressed register onto the stack, simplify the result.
2003-01-27  Richard Earnshaw <rearnsha@arm.com>

        * function.c (purge_addressof_1): After pushing anaddressed register
         onto the stack, simplify the result.

From-SVN: r61900
2003-01-27 20:31:57 +00:00
Eric Botcazou 6a64c48892 * gcc.c-torture/execute/20030125-1.c: Remove.
From-SVN: r61895
2003-01-27 17:53:32 +00:00
Alexandre Oliva ff1197c00f acinclude.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...
* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* aclocal.m4, configure: Rebuilt.

From-SVN: r61894
2003-01-27 17:30:42 +00:00
Eric Botcazou d561050a52 combine.c (nonzero_bits): Revert 2003-01-25 change.
* combine.c (nonzero_bits): Revert 2003-01-25 change.
	(num_sign_bit_copies): Likewise.

From-SVN: r61891
2003-01-27 17:25:14 +00:00
Volker Reichelt 4390ead9e9 * doc/passes.texi: Fix typo.
From-SVN: r61879
2003-01-27 10:35:10 +00:00
GCC Administrator 2e0d183aa2 Daily bump.
From-SVN: r61868
2003-01-27 00:16:26 +00:00
GCC Administrator c376669ff0 Daily bump.
From-SVN: r61810
2003-01-26 00:16:26 +00:00
Bruce Korb f4ff17ca60 wrapper guard must be a function of *both* the file name and the fix name
From-SVN: r61781
2003-01-25 17:25:13 +00:00
Bruce Korb 39e9c6e9fe wrapper guard must be a function of *both* the file name and the fix name
From-SVN: r61780
2003-01-25 17:10:48 +00:00
Eric Botcazou 297dbd7b02 re PR rtl-optimization/9279 ([ARM, Sparc] combine bug)
PR optimization/9279

	Merge from mainline:

	2002-07-10  Roger Sayle  <roger@eyesopen.com>

	PR c/2454
	* combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
	to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.

From-SVN: r61778
2003-01-25 16:02:11 +00:00
No Author 2e66947353 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r61777
2003-01-25 16:02:11 +00:00
Kaveh Ghazi d762034fcd [multiple changes]
2003-01-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends
	on gcc/cp/cfns.gperf and gcc/java/keyword.h depends on
	gcc/java/keyword.gperf

2003-01-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
	depending on gcc/intl/plural.y.

2003-01-25  Richard Henderson  <rth@redhat.com>

	* gcc_update: Remove libchill.

From-SVN: r61776
2003-01-25 15:51:53 +00:00
Paolo Carlini ceab2d4df6 Tweaks for Bison-1.875.
2003-01-25  Paolo Carlini  <pcarlini@unitus.it>

	Tweaks for Bison-1.875. From the NEWS file:
 	"- `parse error' -> `syntax error'
	Bison now uniformly uses the term `syntax error'"
	* gcc.dg/cpp/19990413-1.c: Test for "(parse|syntax) error".
	* gcc.dg/cpp/digraph2.c: Likewise.
	* gcc.dg/cpp/direct2.c: Likewise.
	* gcc.dg/cpp/paste4.c: Likewise.
	* gcc.dg/c90-restrict-1.c: Likewise.
	* gcc.dg/c99-func-2.c: Likewise.
	* gcc.dg/noncompile/920721-2.c: Likewise.
	* gcc.dg/noncompile/930622-2.c: Likewise.
	* gcc.dg/noncompile/940112-1.c: Likewise.
	* gcc.dg/noncompile/950921-1.c: Likewise.
	* gcc.dg/noncompile/951123-1.c: Likewise.
	* gcc.dg/noncompile/971104-1.c: Likewise.
	* gcc.dg/noncompile/990416-1.c: Likewise.

From-SVN: r61775
2003-01-25 15:36:33 +00:00
Jan Hubicka ecfb03cfc9 re PR rtl-optimization/9258 (ICE in compensate_edge, at reg-stack.c:2589)
PR fortran/9258
        * global.c (struct allocno): Add no_stack_reg.
        (global_conflicts): Set no_stack_reg.
        (find_reg): Use it.

From-SVN: r61770
2003-01-25 14:42:49 +00:00
GCC Administrator 0a261911d9 Daily bump.
From-SVN: r61749
2003-01-25 00:16:27 +00:00
Volker Reichelt 7d479aab65 * doc/passes.texi: Fix typo.
From-SVN: r61710
2003-01-24 16:49:10 +00:00
John David Anglin 57aaa09ab6 pa.md (call_internal_reg, [...]): If TARGET_GAS and not TARGET_SOM...
* pa.md (call_internal_reg, call_value_internal_reg): If TARGET_GAS and
	not TARGET_SOM, use $PIC_pcrel$0 rather than symbol difference for long
	PIC calls to $$dyncall.
	* pa.c (output_call): Likewise.

From-SVN: r61699
2003-01-24 15:51:25 +00:00
GCC Administrator 1cfd1ab021 Daily bump.
From-SVN: r61684
2003-01-24 00:16:29 +00:00
Phil Edwards f0dc5008aa Bulk documentation merge (copy) from trunk.
2003-01-23  Phil Edwards  <pme@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/TODO, docs/doxygen/run_doxygen,
	docs/doxygen/stdheader.cc, docs/doxygen/style.css,
	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
	docs/html/configopts.html, docs/html/debug.html,
	docs/html/documentation.html, docs/html/explanations.html,
	docs/html/install.html, docs/html/17_intro/contribute.html,
	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
	docs/html/17_intro/porting.html, docs/html/17_intro/porting.texi,
	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
	docs/html/22_locale/messages.html, docs/html/24_iterators/howto.html,
	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
	docs/html/27_io/howto.html, docs/html/ext/lwg-active.html,
	docs/html/ext/lwg-defects.html, docs/html/ext/sgiexts.html,
	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.

From-SVN: r61680
2003-01-23 23:35:19 +00:00
Petur Runolfsson ba357bac4f re PR libstdc++/9322 (return value of basic_streambuf<>::getloc affected by locale::global)
2003-01-23  Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/9322
	* include/std/std_streambuf.h
	(basic_streambuf::basic_streambuf,
	basic_streambuf::~basic_streambuf,
	basic_streambuf::getloc, basic_streambuf::imbue):
	Remove _M_buf_locale_init use.
	* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
	* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
	* testsuite/27_io/streambuf_members.cc (test08):  Add.
	* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.

From-SVN: r61679
2003-01-23 23:16:36 +00:00
Franz Sirl 1670ede6be linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy regs->nip.
2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
	regs->nip. Fix rt_sigreturn frame layout. Add support for newer
	kernels.

	* config/rs6000/rs6000.c (rs6000_binds_local_p): New functiion.
	(rs6000_encode_section_info): Use it.

From-SVN: r61673
2003-01-23 22:19:43 +00:00
Benjamin Kosnik 15d9f946b6 linker-map.gnu: Synch with 3_3-branch.
2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Synch with 3_3-branch.

From-SVN: r61656
2003-01-23 17:17:53 +00:00
Volker Reichelt 16a4f8d693 re PR other/7341 (Hyperlink to gcov in gcc documentation doesn't work)
PR other/7341
	* invoke.texi (ftest-coverage): Fix broken cross-reference.
	Change @code to @command for gcov command.

	* gcc.texi: Adjust title of gcov section.
	* gcov.texi: Likewise.

From-SVN: r61648
2003-01-23 10:00:59 +00:00
Volker Reichelt 2d3bc847f1 re PR other/7448 (Typo in line 289 of "passes.texi" doc page)
PR other/7448
	* doc/passes.texi (fssa-ccp): Remove misplaced line.

From-SVN: r61646
2003-01-23 09:12:27 +00:00
Mark Mitchell 94f9d8c513 re PR c++/9328 (ICE with templates and namespace std members)
PR c++/9328
	* g++.dg/ext/typeof3.C: New test.

	PR c++/9328
	* error.c (dump_decl): For an OVERLOAD, just print the name of the
	function; it doesn't make sense to try to print its type.
	* semantics.c (finish_typeof): Issue errors about invalid uses.

From-SVN: r61634
2003-01-23 00:30:27 +00:00
No Author 55b4896cb4 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r61633
2003-01-23 00:30:27 +00:00
GCC Administrator 7ae77ebd10 Daily bump.
From-SVN: r61627
2003-01-23 00:16:27 +00:00
GCC Administrator f4daa952f7 Daily bump.
From-SVN: r61579
2003-01-22 00:16:28 +00:00
Jeffrey D. Oldham 38f6171146 re PR c++/47 (nested classes broken)
2003-01-21  Jeffrey D. Oldham  <oldham@codesourcery.com>

	PR c++/47
	* cp-tree.h (lookup_nested_field): Add declaration.
	* decl.c (lookup_name_real): Call lookup_nested_field.
	* search.c (lookup_nested_field): Add function.

From-SVN: r61562
2003-01-21 19:00:29 +00:00
Christian Ehrhardt 3427233dce re PR rtl-optimization/7507 (ICE (segfault) with -O2)
PR opt/7507
        * calls.c (fix_unsafe_tree): Split out from ...
        (expand_call): ... here.  Use it on the function address too.

From-SVN: r61554
2003-01-21 10:12:21 -08:00
GCC Administrator 67147eebae Daily bump.
From-SVN: r61519
2003-01-21 00:16:27 +00:00
Josef Zlomek 2cfbade431 * hashtab.c (htab_expand): Fix allocation of new entries.
From-SVN: r61510
2003-01-20 19:05:39 +00:00
GCC Administrator 7699a93c99 Daily bump.
From-SVN: r61493
2003-01-20 06:27:47 +00:00
John David Anglin 61f6635c4e pa-linux.h (DWARF2_UNWIND_INFO, [...]): Delete defines.
* pa-linux.h (DWARF2_UNWIND_INFO, INCOMING_RETURN_ADDR_RTX,
	DWARF_FRAME_RETURN_COLUMN): Delete defines.
	(FUNCTION_OK_FOR_SIBCALL): Define to 1.

        * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.

From-SVN: r61486
2003-01-19 19:07:34 +00:00
GCC Administrator c6e9cd1bb0 Daily bump.
From-SVN: r61468
2003-01-18 08:16:40 +00:00
Jim Wilson 3b9507985d dbxout.c (dbxout_fptype_value): New.
* dbxout.c (dbxout_fptype_value): New.
	(dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.

From-SVN: r61445
2003-01-17 16:49:26 +00:00
GCC Administrator 55158f9524 Daily bump.
From-SVN: r61434
2003-01-17 08:16:42 +00:00
GCC Administrator 93693aa662 Daily bump.
From-SVN: r61383
2003-01-16 08:16:40 +00:00
Stephane Carrez 1d740b1bcd m68hc11.md ("return"): Use emit_jump_insn to emit the return code.
* config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
	the return code.

From-SVN: r61349
2003-01-15 21:44:29 +01:00
GCC Administrator bb6713ec92 Daily bump.
From-SVN: r61314
2003-01-15 08:16:37 +00:00
GCC Administrator 7201baa6fd Daily bump.
From-SVN: r61268
2003-01-14 08:16:40 +00:00
GCC Administrator 7cfa153307 Daily bump.
From-SVN: r61241
2003-01-13 08:16:50 +00:00
GCC Administrator 13d3ff0883 Daily bump.
From-SVN: r61225
2003-01-12 08:16:35 +00:00
Alan Modra 5203822a9f * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
From-SVN: r61217
2003-01-12 09:14:36 +10:30
GCC Administrator 7f9614690d Daily bump.
From-SVN: r61193
2003-01-11 08:16:33 +00:00
Benjamin Kosnik 2fae2ccb01 re PR libstdc++/9269 (libstdc++ headers: explicit specialization of function must precede its first use)
2003-01-10  Benjamin Kosnik  <bkoz@redhat.com>
	    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>

	PR libstdc++/9269
	* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
	(basic_filebuf::underflow): Declare.
	Move definitions.

Co-Authored-By: Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>

From-SVN: r61188
2003-01-11 01:54:19 +00:00
Josef Zlomek 10faad7def 20030110-1.c: New test.
* gcc.c-torture/compile/20030110-1.c: New test.
Test for http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00519.html

From-SVN: r61157
2003-01-10 14:06:37 +00:00
No Author f709080317 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r61156
2003-01-10 14:06:37 +00:00
Josef Zlomek fc01bf76e1 jump.c (next_nonnote_insn_in_loop): New function.
* jump.c (next_nonnote_insn_in_loop): New function.
	(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
	next_nonnote_insn.
	(duplicate_loop_exit_test). Likewise.

From-SVN: r61152
2003-01-10 13:46:19 +00:00
Josef Zlomek 861b264c95 Makefile.in (optabs.o): Add dependencies on basic-block.h and hard-reg-set.h.
* Makefile.in (optabs.o): Add dependencies on basic-block.h and
	hard-reg-set.h.
	* basic-block.h (control_flow_insn_p): Fuction was exported.
	* cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
	* optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
	notes only when the region is contained in a single basic block.

From-SVN: r61149
2003-01-10 13:36:19 +00:00
GCC Administrator 142a5fe1af Daily bump.
From-SVN: r61143
2003-01-10 08:16:38 +00:00
Eric Botcazou 2c88ecb8e3 re PR inline-asm/8832 (traditional "asm volatile" code is illegally optimized)
PR inline-asm/8832
	* tree.h (expand_asm): New prototype.
	* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
	to do so.
	* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
	down to expand_asm.
	* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
	* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
	(volatile_refs_p) [ASM_INPUT]: Likewise.
	(side_effects_p) [ASM_INPUT]: Likewise.

From-SVN: r61108
2003-01-09 13:18:46 +00:00
No Author 1fb46f2f90 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r61107
2003-01-09 13:18:46 +00:00
Eric Botcazou 8a71385cdd re PR c/8032 (GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays)
PR c/8032
	* c-typeck.c (process_init_element) [RECORD_TYPE]: For
	an empty element, do not advance the pointer to unfilled
	fields if there are pending initializers.

From-SVN: r61096
2003-01-09 09:33:04 +00:00
No Author 38ec8631ae This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r61095
2003-01-09 09:33:04 +00:00
GCC Administrator 82342b16af Daily bump.
From-SVN: r61087
2003-01-09 08:16:45 +00:00
GCC Administrator 2a13b75b3b Daily bump.
From-SVN: r61032
2003-01-08 08:16:42 +00:00
Janis Johnson 892e7ea839 re PR other/8947 (Please add a Warning about "-malign-double" in docs)
2003-01-07  Janis Johnson  <janis187@us.ibm.com>

	PR other/8947
	* doc/invoke.texi (-malign-double): Explain that the option breaks
	binary compatibility.

From-SVN: r61028
2003-01-08 01:17:11 +00:00
Benjamin Kosnik 8ed975d7e6 re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind operation..)
2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
            Sunil Davasam  <sunil.k.davasam@intel.com>

        PR libstdc++/9076
        * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
        DW_CFA_same_value, read next and ignore.

Co-Authored-By: Sunil Davasam <sunil.k.davasam@intel.com>

From-SVN: r61012
2003-01-07 20:36:11 +00:00
Richard Henderson 24c8d93cd7 * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
From-SVN: r61009
2003-01-07 12:21:35 -08:00
Benjamin Kosnik 937765076c re PR libstdc++/8707 (make distclean fails)
2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8707
	* Makefile.am (distclean-multi): Fix.
	* Makefile.in: Regenerate.

From-SVN: r61005
2003-01-07 17:32:09 +00:00
GCC Administrator 0509f1f5e1 Daily bump.
From-SVN: r60984
2003-01-07 08:16:40 +00:00
Benjamin Kosnik b51af00191 locale_facets.h (messages): Move ctor, dtor definitions to..
2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (messages): Move ctor, dtor
	definitions to..
	(__timepunct): Same.
	* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
	definitions. Conditionalize for GNU systems.
	* config/locale/generic/messages_members.h (messages): Add dtor, ctor
	definitions.
	* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
	definitions. Conditionalize for GNU systems.
	* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
	definitions.
	* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
	* src/locale.cc: Define.
	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
	Use it.
	* config/locale/gnu/time_members.h: Use it.
	* config/locale/gnu/messages_members.h: Use it.
	* config/linker-map.gnu: Add locale::facets details.
	* include/Makefile.am (target_headers_extra): Add time_members.h.
	* include/Makefile.in: Regenerate.
	* acinclude.m4: Export CTIME_H.
	* aclocal.m4: Regenerate.
	* configure: Regnerate.

From-SVN: r60977
2003-01-07 03:45:22 +00:00
No Author 75fd79b51b This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60976
2003-01-07 03:45:22 +00:00
Paolo Carlini e5795bd984 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
* src/codecvt.cc
	(codecvt<char, char, mbstate_t>::do_in, do_out):
	Tweak parameters to avoid unused parameter warnings.

From-SVN: r60948
2003-01-06 18:55:38 +00:00
Paolo Carlini f4b2ba0956 re PR libstdc++/9151 (std::setprecision limited to 16 digits when outputting a double to a stream)
2003-01-06  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/9151
	* include/bits/locale_facets.cc (num_put::_M_convert_float):
	Limit __prec to digits10 + 2, not digits10 + 1, taking into
	account the possibility of %{g,G} conversion specifiers
	inside _S_format_float.
	* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.

From-SVN: r60941
2003-01-06 15:51:49 +00:00
Kaveh R. Ghazi c2c76a4bdb libstdc++-v3-dg.exp (libstdc++-v3-init): Additionally handle files one level deeper in glob patterns.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
	Additionally handle files one level deeper in glob patterns.
	* testsuite/libstdc++-v3.dg/dg.exp: Likewise.

	* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
	* testsuite/27_io/istream_extractor_arith/01.cc,
	testsuite/27_io/istream_extractor_arith/02.cc,
	testsuite/27_io/istream_extractor_arith/03.cc,
	testsuite/27_io/istream_extractor_arith/06.cc,
	testsuite/27_io/istream_extractor_arith/07.cc,
	testsuite/27_io/istream_extractor_arith/08.cc,
	testsuite/27_io/istream_extractor_arith/09.cc,
	testsuite/27_io/istream_extractor_arith/10.cc,
	testsuite/27_io/istream_extractor_arith/11.cc,
	testsuite/27_io/istream_extractor_arith/12.cc,
	testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
	* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
	sparc*-*-solaris2*.

From-SVN: r60938
2003-01-06 14:29:19 +00:00
No Author 3dbbef114d This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60937
2003-01-06 14:29:19 +00:00
GCC Administrator a7abda0b58 Daily bump.
From-SVN: r60927
2003-01-06 08:18:40 +00:00
Paolo Carlini 2d3b0a3558 re PR libstdc++/9168 (codecvt<char, char, mbstate_t> overwrites output buffers)
2003-01-05  Paolo Carlini <pcarlini@unitus.it>

	PR libstdc++/9168
	* src/codecvt.cc
	(codecvt<char, char, mbstate_t>::do_in, do_out):
	Implement the resolution of DR19 (TC).
	* testsuite/22_locale/codecvt_members_char_char.cc
	(test01): Tweak.

From-SVN: r60910
2003-01-05 08:24:56 +00:00
GCC Administrator 0adbe34036 Daily bump.
From-SVN: r60905
2003-01-05 08:16:33 +00:00
GCC Administrator b2f1877b41 Daily bump.
From-SVN: r60873
2003-01-04 08:16:35 +00:00
GCC Administrator 910626a8a4 Daily bump.
From-SVN: r60821
2003-01-03 08:18:46 +00:00
GCC Administrator 39d064494e Daily bump.
From-SVN: r60775
2003-01-02 08:16:32 +00:00
Neil Booth 05c0c2c63a re PR preprocessor/8880 (__WCHAR_TYPE__ macro incorrectly set to "long int" with -fshort-wchar)
PR preprocessor/8880
	* gcc.c (cpp_unique_options): Handle -fshort-wchar later so it
	overrides any target CPU specs.

From-SVN: r60752
2003-01-01 16:24:28 +00:00
GCC Administrator 69041bc120 Daily bump.
From-SVN: r60733
2003-01-01 08:16:33 +00:00
GCC Administrator fd6e601da0 Daily bump.
From-SVN: r60678
2002-12-31 08:16:37 +00:00
GCC Administrator be9d66d2fb Daily bump.
From-SVN: r60622
2002-12-30 08:16:34 +00:00
GCC Administrator 2940fbe95a Daily bump.
From-SVN: r60593
2002-12-29 08:17:15 +00:00
John David Anglin b103b2ea92 pa.h (TARGET_SOM): Define if not defined.
2002-12-28  John David Anglin  <dave.anglin@nrc.ca>

	* pa.h (TARGET_SOM): Define if not defined.
	* som.h (OBJ_SOM): Rename to TARGET_SOM.
	* pa.c (pa_output_function_prologue): Don't accumulate the total code
	bytes in the translation unit when using gas, som and not the portable
	runtime, or when using function sections.

From-SVN: r60589
2002-12-28 23:27:08 +00:00
GCC Administrator 948ed9f2d5 Daily bump.
From-SVN: r60563
2002-12-28 08:16:42 +00:00
GCC Administrator 1d51f38a0b Daily bump.
From-SVN: r60539
2002-12-27 08:16:34 +00:00
Nathan Sidwell 17b77dc544 re PR c++/8503 (strange behaviour of function types)
cp:
	PR c++/8503
	Remove DR 295 implementation.
	* pt.c (check_cv_quals_for_unify): Disable function & method cases.
	* tree.c (cp_build_qualified_type_real): Likewise. Don't warn
	about ignoring volatile qualifiers.
testsuite:
	* g++.dg/template/qualttp20.C: Adjust expected errors.
	* g++.old-deja/g++.jason/report.C: Likewise.
	* g++.old-deja/g++.other/qual1.C: Likewise.

From-SVN: r60517
2002-12-26 12:58:06 +00:00
GCC Administrator ff1392a19e Daily bump.
From-SVN: r60509
2002-12-26 08:16:39 +00:00
GCC Administrator 7bbb35b862 Daily bump.
From-SVN: r60495
2002-12-25 08:17:16 +00:00
GCC Administrator 1222953bf0 Daily bump.
From-SVN: r60468
2002-12-24 08:16:45 +00:00
GCC Administrator 6e240cbddc Daily bump.
From-SVN: r60426
2002-12-23 08:16:44 +00:00
GCC Administrator 5df770dda2 Daily bump.
From-SVN: r60400
2002-12-22 08:16:54 +00:00
Eric Botcazou 5402998384 re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
PR optimization/8599
	* doloop.c (doloop_modify_runtime): Fix loop count computation
	for preconditioned unrolled loops.

From-SVN: r60393
2002-12-21 20:31:15 +00:00
Eric Botcazou 64b2e87f83 re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
PR optimization/8599
	* doloop.c (doloop_modify_runtime): Revert 2002-11-22 change.
	* loop.c (loop_invariant_p): Likewise.

From-SVN: r60392
2002-12-21 20:25:44 +00:00
GCC Administrator 5d2f795c35 Daily bump.
From-SVN: r60382
2002-12-21 08:16:36 +00:00
GCC Administrator a2bf4dd00d Daily bump.
From-SVN: r60359
2002-12-20 08:16:57 +00:00
Eric Botcazou 736c576bba re PR rtl-optimization/8988 (gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code that segfaults)
PR optimization/8988
	* loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
	the biv when eliminating.

From-SVN: r60329
2002-12-19 20:27:56 +00:00
GCC Administrator e41079bfce Daily bump.
From-SVN: r60297
2002-12-19 08:16:55 +00:00
Kaveh R. Ghazi c121480a7b vector_capacity.cc (test03): Move ...
* testsuite/23_containers/vector_capacity.cc (test03): Move ...
	* testsuite/23_containers/vector_resize.cc: ...here as a new file.
	Pass in -lmalloc for irix6.
	* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.

From-SVN: r60274
2002-12-19 01:49:44 +00:00
Kriang Lerdsuwanakij 7aae555be6 * parse.y (bad_parm): Add missing argument to error function call.
From-SVN: r60250
2002-12-18 15:03:01 +00:00
Kriang Lerdsuwanakij fc71c1723f re PR c++/8442 (rejects nested template classes)
PR c++/8442
	* decl2.c (handle_class_head): Verify if the looked up name is a
	type or template.
	* pt.c (convert_template_argument): Fix type or template template
	parameter decision logic.

	* g++.dg/template/type2.C: New test.
	* g++.dg/template/ttp3.C: Change expected error message.

From-SVN: r60249
2002-12-18 14:58:35 +00:00
GCC Administrator 57f3b8f389 Daily bump.
From-SVN: r60240
2002-12-18 08:16:53 +00:00
Jakub Jelinek a9d164caa0 re PR rtl-optimization/8794 (optimization improperly eliminates certain expressions)
PR opt/8794
	* combine.c (force_to_mode) [MINUS]: Only replace with (not Y) if all
	bits in fuller_mask (not just mask) are set in C.

	* gcc.c-torture/execute/20021118-3.c: New test.

From-SVN: r60210
2002-12-17 14:52:38 +01:00
GCC Administrator 593d242432 Daily bump.
From-SVN: r60201
2002-12-17 08:16:41 +00:00
GCC Administrator 3a4fa326b4 Daily bump.
From-SVN: r60168
2002-12-16 08:16:38 +00:00
GCC Administrator 90f6b2bf00 Daily bump.
From-SVN: r60150
2002-12-15 08:16:37 +00:00
GCC Administrator 8fee590185 Daily bump.
From-SVN: r60121
2002-12-14 08:16:35 +00:00
Dale Johannesen b2e38e4428 Fix test for LP64, move to gcc.c-torture/compile (per Kaveh Ghazi)
From-SVN: r60114
2002-12-14 00:56:36 +00:00
No Author c805b483e0 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60113
2002-12-14 00:56:36 +00:00
Joe Buck bff5963509 parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for anonymous structs.
* parse.y (class_head_defn): Set CLASSTYPE_DECLARED_CLASS for
	anonymous structs.

From-SVN: r60110
2002-12-14 00:09:28 +00:00
Gabriel Dos Reis bc18af8038 re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.

From-SVN: r60105
2002-12-13 21:54:46 +00:00
GCC Administrator 18b40f2bc1 Daily bump.
From-SVN: r60092
2002-12-13 08:16:30 +00:00
John David Anglin 5c8f0cd310 pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
	(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
	BIGGEST_ALIGNMENT.
	(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
	(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.

From-SVN: r60084
2002-12-12 22:37:08 +00:00
Eric Botcazou 473ef42ae0 * gcc.c-torture/compile/20021212-1.c: New test.
From-SVN: r60071
2002-12-12 11:21:41 +00:00
No Author 315d259a32 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60070
2002-12-12 11:21:41 +00:00
Eric Botcazou be6da734ed Link PR opt/8334 to its fix.
From-SVN: r60069
2002-12-12 11:12:58 +00:00
GCC Administrator 8f13252d14 Daily bump.
From-SVN: r60062
2002-12-12 08:16:30 +00:00
Paolo Carlini 13eb604022 re PR libstdc++/8887 (locale)
2002-12-11  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8887
	* config/locale/generic/time_members.cc
	(__timepunct<char>::_M_initialize_timepunct): Fix typos
	in _M_date_format and _M_date_era_format string literals.

From-SVN: r60051
2002-12-12 00:30:16 +00:00
GCC Administrator eb1f97b24e Daily bump.
From-SVN: r60026
2002-12-11 08:16:29 +00:00
Mark Mitchell 846fe43d56 re PR c++/8372 (ICE on explicit call of destructor)
PR c++/8372
	* pt.c (tsubst_copy): Handle destructor names more correctly.

	PR c++/8372
	* g++.dg/template/dtor1.C: New test.

From-SVN: r60017
2002-12-10 22:32:42 +00:00
No Author 18393a61fb This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r60016
2002-12-10 22:32:42 +00:00
Janis Johnson 5414d6a182 re PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
2002-12-10  Janis Johnson  <janis187@us.ibm.com>

	PR other/8882
	* doc/tm.texi (PUSH_ARGS): Remove misplaced line.

From-SVN: r60012
2002-12-10 21:01:54 +00:00
Mark Mitchell 282655490d memconst.C: Use old-deja, not dg, error markers.
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
	markers.

From-SVN: r59998
2002-12-10 14:46:32 +00:00
Jakub Jelinek a63e8c56ce * g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
From-SVN: r59995
2002-12-10 12:40:26 +01:00
GCC Administrator 17376344dd Daily bump.
From-SVN: r59986
2002-12-10 08:16:29 +00:00
Gabriel Dos Reis 3e1fb0e194 * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
From-SVN: r59984
2002-12-10 07:39:51 +00:00
Mark Mitchell 04a96e5e5c re PR c++/8153 (ICE with static const member in class)
PR c++/8153
	PR c++/8036
	* NEWS: Document removal of in-class initialization extension for
	static data members of non-arithmetic, non-enumeration type.
	* decl.c (check_static_variable_definition): Do not allow that
	extension.
	* decl2.c (grokfield): Do not call digest_init when processing
	templates.

	PR c++/8153
	PR c++/8036
	* g++.dg/template/static1.C: New test.
	* g++.dg/template/static2.C: New test.
	* g++.old-deja/g++.ext/memconst.C: New test.

From-SVN: r59982
2002-12-10 07:16:06 +00:00
No Author 166a11e716 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59981
2002-12-10 07:16:06 +00:00
Richard Henderson be60e12550 i386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line continuation in p2 and p3 cases.
* config/i386/i386.h (CPP_CPU_DEFAULT_SPEC): Fix typo wrt line
        continuation in p2 and p3 cases.

From-SVN: r59973
2002-12-09 16:40:11 -08:00
GCC Administrator 4bad30ebba Daily bump.
From-SVN: r59957
2002-12-09 08:16:32 +00:00
Kaveh R. Ghazi 1a7bf67015 conpr-2.C: Expect failure on solaris2.
* g++.dg/special/conpr-2.C: Expect failure on solaris2.
	* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
	* g++.dg/special/initp1.C: Likewise.

From-SVN: r59952
2002-12-09 00:55:41 +00:00
Mark Mitchell e3255f62a3 * g++.dg/template/varmod1.C: Fix typo.
From-SVN: r59951
2002-12-09 00:54:17 +00:00
GCC Administrator d5dea567a7 Daily bump.
From-SVN: r59931
2002-12-08 08:16:22 +00:00
No Author 8750e560f6 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59922
2002-12-07 18:47:55 +00:00
GCC Administrator 6891a71251 Daily bump.
From-SVN: r59906
2002-12-07 08:16:32 +00:00
GCC Administrator 441626c4ad Daily bump.
From-SVN: r59883
2002-12-06 08:16:36 +00:00
Dale Johannesen 5b1a1d5359 tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
2002-12-05  Dale Johannesen  <dalej@apple.com>

        * tree.c (unsafe_for_reeval):  Consider callee child of CALL_EXPR.

From-SVN: r59877
2002-12-06 00:58:46 +00:00
No Author d8d94eee18 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59876
2002-12-06 00:58:46 +00:00
Benjamin Kosnik 367cf8c891 [multiple changes]
2002-12-05  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Put _S_force_new into GLIBCPP_3.2.2.
	* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.

2002-12-05  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@integrable-solutions.net>

	PR libstdc++/8230
	* include/bits/stl_alloc.h: Use builtin_expect for the most
	obvious limit checks.
	(__default_alloc_template::allocate): Check for null, throw
	bad_alloc.
	* testsuite/20_util/allocator_members.cc (test02): Add.
	* testsuite/23_containers/vector_capacity.cc (test03): Add.

2002-12-05  Loren J. Rittle  <ljrittle@acm.org>
	    Brad Spencer  <spencer@infointeractive.com>
	    (provided alternate patch and improvements)

	PR libstdc++/8708
	* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
	new environment variable which replaces all uses of __USE_MALLOC
	macro.
	* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
	(__mem_interface): Remove all references to old internal typedef.
	* include/backward/alloc.h (__USE_MALLOC): Remove it and all
	guarded code.
	* include/bits/c++config (__USE_MALLOC): Update related error
	message and comment.
	* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
	guarded code.  Update all related comments.
	(__mem_interface): Unconditionally replace it with __new_alloc.
	However, leave the typedef around in case anyone used it.
	(__default_alloc_template<>::_S_force_new): New class static.
	(__default_alloc_template<>::allocate, deallocate): Add
	run-time controlled feature similar to what __USE_MALLOC code
	path had provided.
	* src/stl-inst.cc (__USE_MALLOC): Remove it and all
	guarded code.
	* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
	Add documentation on GLIBCPP_FORCE_NEW environment variable.
	* testsuite/ext/allocators.cc: Likewise.

From-SVN: r59873
2002-12-05 23:48:57 +00:00
Kaveh R. Ghazi 809f706ed1 * error.c (dump_expr): Fix format specifier warning.
From-SVN: r59868
2002-12-05 22:24:53 +00:00
Danny Smith 2713c7506f cygwin.h (SUBTARGET_PROLOGUE): Replace with PROFILE_HOOK.
* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
	PROFILE_HOOK.
	* config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.

From-SVN: r59866
2002-12-05 20:30:32 +00:00
Nick Clifton 145e91f02e (GO_IF_LEGITIMATE_ADDRESS): Check for frame pointer and arg pointer by examining the register number.
(GO_IF_LEGITIMATE_ADDRESS): Check for frame pointer and arg pointer by
examining the register number.  (GNATS case 6172).

From-SVN: r59863
2002-12-05 18:34:11 +00:00
Paolo Carlini 38b614ef48 re PR libstdc++/8790 (Use of non thread-safe strtok in src/localename.cc)
2002-12-05  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan Myers  <ncm@cantrip.org>

	PR libstdc++/8790
	* src/localename.cc
	(locale::_Impl::_Impl(const char*, size_t)):
	Avoid strtok for thread safety.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>

From-SVN: r59856
2002-12-05 13:04:43 +00:00
GCC Administrator a6b12f3250 Daily bump.
From-SVN: r59850
2002-12-05 08:16:26 +00:00
Matthias Klose 86b1ec1d65 * doc/invoke.texi: Remove last reference to -a.
From-SVN: r59835
2002-12-04 23:24:21 +00:00
Loren J. Rittle 937da96a49 re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)
PR libstdc++/7445
	* src/locale.cc (std::locale::classic()): Weaken locking protocol.

From-SVN: r59834
2002-12-04 22:24:05 +00:00
Eric Botcazou 4cf90c0b68 * gcc.c-torture/compile/20021204-1.c: New test.
From-SVN: r59831
2002-12-04 20:31:43 +00:00
No Author 36cc63428f This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59830
2002-12-04 20:31:43 +00:00
Eric Botcazou be1668a60a re PR c/7622 (tree inliner fallout (regression relative to 2.95))
PR c/7622
	* c-semantics (genrtl_scope_stmt): Do not output inlined
	nested functions that contain no code.

From-SVN: r59829
2002-12-04 20:28:33 +00:00
Jakub Jelinek a68ba83e72 fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one of the operands into MINUS_EXPR if...
* fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
	of the operands into MINUS_EXPR if code is PLUS_EXPR.

	* gcc.c-torture/execute/20020805-1.c: New test.

From-SVN: r59824
2002-12-04 20:28:27 +01:00
Gabriel Dos Reis 4f62962e7e re PR c++/8799 (ICE: Error reporting routines re-entered.)
PR C++/8799
        * error.c (dump_expr): Don't ever try to dump a non-existent
        expression.

From-SVN: r59815
2002-12-04 11:37:03 +00:00
GCC Administrator 103d99209a Daily bump.
From-SVN: r59803
2002-12-04 08:16:32 +00:00
Phil Edwards cef2b0b62e streambuf.tcc (basic_streambuf::sputbackc): Prefix "this->" to call to pbackfail.
2002-12-03  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
	"this->" to call to pbackfail.

From-SVN: r59774
2002-12-03 16:13:03 +00:00
GCC Administrator b5fbbb6ffd Daily bump.
From-SVN: r59762
2002-12-03 08:16:24 +00:00
Mark Mitchell 0b2bea0c3b re PR c++/8615 (ICE in tree_low_cst, at tree.c:3484)
PR c++/8615
	* error.c (dump_expr): Handle character constants with
	TREE_OVERFLOW set.

	PR c++/8615
	* g++.dg/template/char1.C: New test.

From-SVN: r59760
2002-12-03 06:53:11 +00:00
No Author 21de1cd1ed This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59759
2002-12-03 06:53:11 +00:00
Paolo Carlini 96c1fe6a09 revert: [multiple changes]
2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
            Jonathan Lennox  <lennox@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs):
	Revert previous fix for the interactive half of
	libstdc++/6745, use _M_buf_size_opt to set dynamically
	the correct buffer size.

2002-12-02  Jonathan Lennox  <lennox@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs): verify
	__sbin->gptr() + __bufsize < __sbin->egptr() before using.
	* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
	(test05): Use test_buffer_4. Delete unused ostringstream
	variables.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6745 (continued)
	* include/bits/streambuf.tcc (__copy_streambufs):
	Deal with interactive input by using isatty as in the
	fix for libstdc++/8399.

2002-12-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.

2002-12-02  Paolo Carlini  <pcarlini@unitus.it>
            Loren J. Rittle <ljrittle@acm.org>

	PR libstdc++/8399
	* acinclude.m4
	(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
	check for unistd.h functions.
	(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
	in unistd.h.
	* configure.in: Call here.
	* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
	Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
	input __in_size = 1 even when sync_with_stdio is false;
	otherwise fall back to __in_size = 1.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.

From-SVN: r59744
2002-12-02 22:05:21 +00:00
Bob Wilson 8abbcdaded xtensa.c (xtensa_emit_call): Use a static buffer.
* config/xtensa/xtensa.c (xtensa_emit_call): Use a static buffer.
        * config/xtensa/xtensa.h (MAX_WCHAR_TYPE_SIZE): Delete.

From-SVN: r59742
2002-12-02 21:30:12 +00:00
Benjamin Kosnik 95c16bfe36 acconfig.h (HAVE_DRAND48): Add.
2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

	* acconfig.h (HAVE_DRAND48): Add.
	(HAVE_GETPAGESIZE): Add.
	(HAVE_SETENV): Add.
	(HAVE_SIGSETJMP): Add.
	* config.h.in: Regenerate.
	* configure: Regenerate.

From-SVN: r59739
2002-12-02 21:20:07 +00:00
Benjamin Kosnik 38c05b07da re PR libstdc++/8230 (Buggy allocator behaviour)
2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/8230
        * include/bits/stl_vector.h (vector::reserve): Throw length_error if
        requested size is bigger than max_size().
        * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
        * testsuite/23_containers/vector_capacity.cc (test02): Add.

From-SVN: r59734
2002-12-02 20:01:54 +00:00
Benjamin Kosnik 38a03f1661 configure.in (libtool_VERSION): Update to 5:2:0.
2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libtool_VERSION): Update to 5:2:0.
	* configure: Regenerate.

From-SVN: r59721
2002-12-02 18:03:38 +00:00
GCC Administrator 517f641c88 Daily bump.
From-SVN: r59708
2002-12-02 08:16:29 +00:00
Mark Mitchell 802ec0c6b3 re PR c++/5919 (ICE when passing variable array to template function)
PR c++/5919
	* g++.dg/template/varmod1.C: New test.

	PR c++/5919
	* pt.c (unify): Use variably_modified_type_p to test validity of
	template argument types.

From-SVN: r59700
2002-12-01 20:52:55 +00:00
No Author f5320aa7bf This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59699
2002-12-01 20:52:55 +00:00
Mark Mitchell 685d4f0abf re PR c++/8727 (compiler confused by inheritance from an anonymous struct)
PR c++/8727
	* g++.dg/inherit/typeinfo1.C: New test.

	PR c++/8663
	* g++.dg/inherit/typedef1.C: New test.

	PR c++/8727
	* cp-tree.h (lang_type_class): Add typeinfo_var.
	(CLASSTYPE_TYPEINFO_VAR): New macro.
	* rtti.c (get_tinfo_decl): Use it.

	PR c++/8663
	* init.c (expand_member_init): Always get the main variant of a
	base class.

From-SVN: r59697
2002-12-01 20:40:38 +00:00
No Author 805ee4b50e This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59696
2002-12-01 20:40:38 +00:00
Mark Mitchell 97a8c5e422 re PR c++/8332 (strlen/template interaction causes ICE)
PR c++/8332
	PR c++/8493
	* decl.c (cxx_init_decl_processing): Use size_type_node, not
	c_size_type_node.
	* decl2.c (coerce_new_type): Likewise.
	* except.c (do_allocate_exception): Likewise.
	* typeck.c (c_sizeof): Likewise.
	(c_sizeof_nowarn): Likewise.

	* builtin-types.def (BT_SIZE): Use size_type_node.
	* builtins.c (fold_builtin): Make the builtin strlen returns a
	size_t, not a sizetype.
	* c-common.c (c_alignof): Use size_type_node, not c_size_type_node.
	(c_alignof_expr): Likewise.
	(c_common_nodes_and_builtins): Likewise.
	* c-common.h (CTI_C_SIZE_TYPE): Remove.
	(c_size_type_node): Likewise.
	* c-format.c (T_ST): Use size_type_node, not c_size_type_node.
	* tree.h (TI_SIZE_TYPE): New enumeral.
	(size_type_node): Likewise.

	PR c++/8332
	PR c++/8493
	* g++.dg/template/strlen1.C: New test.

From-SVN: r59692
2002-12-01 18:19:14 +00:00
No Author c9613a447a This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59691
2002-12-01 18:19:14 +00:00
GCC Administrator c89fee93a6 Daily bump.
From-SVN: r59675
2002-12-01 08:16:25 +00:00
Mark Mitchell 1638ce7de1 re PR c++/8214 (character conversion problem)
PR c++/8214
	* g++.dg/init/string1.C: New test.

	PR c++/8214
	* typeck.c (convert_for_assignment): Do not use
	decl_constant_value on the operand.

From-SVN: r59671
2002-12-01 03:58:53 +00:00
No Author 1c119d2e74 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59670
2002-12-01 03:58:53 +00:00
GCC Administrator d5aa1a4442 Daily bump.
From-SVN: r59653
2002-11-30 08:16:25 +00:00
GCC Administrator 108411290f Daily bump.
From-SVN: r59627
2002-11-29 08:16:32 +00:00
GCC Administrator 6847f1757f Daily bump.
From-SVN: r59599
2002-11-28 08:16:29 +00:00
GCC Administrator 9d361ee4b6 Daily bump.
From-SVN: r59563
2002-11-27 08:16:53 +00:00
Neil Booth bb0e9447b5 re PR preprocessor/8524 (_Pragma within macros is improperly expanded)
PR preprocessor/8524
	* cpplib.c (run_directive): Remove previous kludge to _Pragma.
	Add a new one in its place, which hopefully works.
	(skip_rest_of_line): Change test for bottom-of-context-stack.
testsuite:
	* gcc.dg/cpp/_Pragma5.c: New test.

From-SVN: r59534
2002-11-26 20:40:46 +00:00
David Edelsohn ec2b46751d - Fix typo
From-SVN: r59524
2002-11-26 11:18:48 -05:00
David Edelsohn dc3d3dd4e4 * testsuite/abi_check.cc: Remove guards kludge.
From-SVN: r59521
2002-11-26 11:02:52 -05:00
David Edelsohn fe4cded8aa re PR middle-end/8362 (hard reg not substituted for all pseudos on PowerPC)
* config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
        (rs6000_override_options): Save original flag_pic value.
        (rs6000_encode_section_info): More accurate test for "local" symbol.

        PR 8362
        * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
        * config/rs6000/rs6000.md (ldmsi[3-8]): New patterns.

From-SVN: r59520
2002-11-26 10:59:58 -05:00
GCC Administrator 9e2b4bfd5e Daily bump.
From-SVN: r59501
2002-11-26 08:16:40 +00:00
Christian Ehrhardt 42370c15bb re PR c/8639 (simple integer arithmetic expression broken)
PR c/8639
        * fold-const.c (extract_muldiv): Don't propagate division unless
        both arguments are multiples of C.

From-SVN: r59471
2002-11-25 14:41:58 -08:00
GCC Administrator 2d339de623 Daily bump.
From-SVN: r59450
2002-11-25 08:16:27 +00:00
Eric Botcazou 6c789e46a0 re PR rtl-optimization/8275 (ICE in simplify_subreg, at simplify-rtx.c:2452)
PR optimization/8275

	Merge from mainline:
	2002-09-19 �Dale Johannesen <dalej@apple.com>

	* combine.c (make_extraction): Don't create
	invalid subreg.

From-SVN: r59440
2002-11-24 22:14:19 +00:00
Eric Botcazou 264c32edd9 * gcc.c-torture/compile/20021124-1.c: New test.
From-SVN: r59439
2002-11-24 22:09:59 +00:00
Eric Botcazou f5038ee7f9 loop-2e.x: Let the testcase XFAIL for all x86 processors.
* gcc.c-torture/execute/loop-2e.x: Let the testcase
	XFAIL for all x86 processors.
	* gcc.c-torture/execute/loop-3c.x: Likewise.

From-SVN: r59438
2002-11-24 22:06:04 +00:00
GCC Administrator 055922441a Daily bump.
From-SVN: r59424
2002-11-24 08:16:55 +00:00
Marek Michalkiewicz 879acb60a7 [multiple changes]
2002-11-23  Marek Michalkiewicz  <marekm@amelek.gda.pl>

	2002-09-26  Theodore A. Roth  <troth@verinet.com>
	* config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
	* config/avr/avr.md: Ditto.

From-SVN: r59418
2002-11-23 22:16:53 +00:00
Eric Botcazou ad5a798d59 * gcc.c-torture/compile/20021123-4.c: New test.
From-SVN: r59415
2002-11-23 08:38:27 +00:00
Eric Botcazou 8d97a73440 re PR c/8588 (ICE in extract_insn, at recog.c:2148)
PR c/8588
	* optabs.c (expand_binop): Convert CONST_INTs in shift
	operations too.

From-SVN: r59413
2002-11-23 08:36:25 +00:00
Eric Botcazou 5066422418 20021123-2.c: New test.
* gcc.c-torture/compile/20021123-2.c: New test.
	* gcc.c-torture/compile/20021123-3.c: New test.

From-SVN: r59412
2002-11-23 08:22:13 +00:00
Eric Botcazou 51931f3220 re PR c/8518 (ICE when compiling mplayer)
PR c/8518
	* c-decl.c (duplicate_decls): Outline the second definition
	of an extern inline function in all cases.

From-SVN: r59409
2002-11-23 08:20:02 +00:00
GCC Administrator feb0a752c8 Daily bump.
From-SVN: r59404
2002-11-23 08:16:24 +00:00
Eric Botcazou b1069ddd3b * gcc.c-torture/compile/20021123-1.c: New test.
From-SVN: r59400
2002-11-23 08:10:22 +00:00
Eric Botcazou d9afc0b797 re PR c/8439 (empty struct causes crash)
PR c/8439
	* recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
	if there is something new to be simplified.

From-SVN: r59398
2002-11-23 08:01:21 +00:00
Toon Moene 89119fd6f8 c-decl.c (c_init_decl_processing): Move generation of decls for g77_integer_type_node and friends from here ...
2002-11-22  Toon Moene  <toon@moene.indiv.nluug.nl>

	* c-decl.c (c_init_decl_processing): Move generation of
	decls for g77_integer_type_node and friends from here ...
	* c-common.c (c_common_nodes_and_builtins): ... to here.

From-SVN: r59393
2002-11-23 00:12:02 +00:00
Toon Moene 5c9fedb8bb invoke.texi: Explain the purpose of -fmove-all-movables...
2002-11-22  Toon Moene  <toon@moene.indiv.nluug.nl>

	* invoke.texi: Explain the purpose of -fmove-all-movables,
	-freduce-all-givs and -frerun-loop-opts better.

From-SVN: r59392
2002-11-22 23:57:18 +00:00
Eric Botcazou 1fc04be141 * gcc.dg/i386-unroll-1.c: New test.
From-SVN: r59389
2002-11-22 21:24:25 +00:00
No Author 905c52b0b6 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r59388
2002-11-22 21:24:25 +00:00
Eric Botcazou e6ec8432ac re PR rtl-optimization/8599 (loop unroll bug with -march=k6-3)
PR optimization/8599

	Merge from mainline:
	2002-11-04 �Dale Johannesen �<dalej@apple.com>

	* doloop.c (doloop_modify_runtime): �Fix loop count computation
	for unrolled loops.
	* loop.c (loop_invariant_p): �Support calling from unroller.

From-SVN: r59387
2002-11-22 21:20:04 +00:00
Daniel Jacobowitz 0b9cc80c5a sh.md (ashrdi3+1, ashrdi3+2): Predicate on reload_completed.
* config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
        reload_completed.

From-SVN: r59384
2002-11-22 19:58:06 +00:00
Bob Wilson e1deeb725b xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
* config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
        * config/xtensa/xtensa.c (struct machine_function): Add
        incoming_a7_copied flag.
        (xtensa_copy_incoming_a7): Define.
        (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
        * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.

From-SVN: r59382
2002-11-22 19:27:42 +00:00
Mark Mitchell b6bb8207c1 Update version numbers
From-SVN: r59380
2002-11-22 17:54:04 +00:00
GCC Administrator 8f951f07e2 Daily bump.
From-SVN: r59369
2002-11-22 08:16:28 +00:00
GCC Administrator ce966998c2 Daily bump.
From-SVN: r59331
2002-11-21 08:16:32 +00:00
GCC Administrator e453d3a0f6 Daily bump.
From-SVN: r59290
2002-11-20 08:16:27 +00:00
Mark Mitchell 5d3737549f Mark ChangeLog
From-SVN: r59267
2002-11-19 17:50:19 +00:00
Mark Mitchell 16d9579795 Mark ChangeLog
From-SVN: r59266
2002-11-19 17:22:54 +00:00
GCC Administrator ab29dd52fb Daily bump.
From-SVN: r59251
2002-11-19 08:16:43 +00:00
Mark Mitchell 955886ba48 Update version
From-SVN: r59249
2002-11-19 08:04:52 +00:00
Mark Mitchell c4c1d6e7f4 Mark ChangeLog
From-SVN: r59248
2002-11-19 08:04:28 +00:00
Gerald Pfeifer ff86e2607b * MAINTAINERS: Complete James Dennett's entry.
From-SVN: r59223
2002-11-18 15:11:14 +00:00
GCC Administrator 73e2936e94 Daily bump.
From-SVN: r59206
2002-11-18 08:17:12 +00:00
Eric Botcazou 0d8d7dfb46 MAINTAINERS (Write After Approval): Add myself.
2002-11-18  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r59204
2002-11-18 07:28:24 +00:00
GCC Administrator 5938ead9fb Daily bump.
From-SVN: r59187
2002-11-17 08:16:49 +00:00
Jakub Jelinek 775a657b08 Fix.
From-SVN: r59185
2002-11-17 06:37:36 +01:00
Jakub Jelinek b7c549da92 linker-map.gnu: Export _S_construct even if size_t is unsigned long.
* config/linker-map.gnu: Export _S_construct even if size_t is
	unsigned long.

From-SVN: r59184
2002-11-17 06:14:01 +01:00
Gabriel Dos Reis 9f0c8f4327 forgot to commit.
From-SVN: r59159
2002-11-16 12:39:06 +00:00
GCC Administrator 5097ac041b Daily bump.
From-SVN: r59153
2002-11-16 08:16:43 +00:00
Jan Hubicka 15e5c7dd09 jump.c (tablejump_p): New.
* jump.c (tablejump_p): New.
	* cfgcleanup.c (try_optimize_cfg): Do not merge blocks across tablejump.
	* rtl.h (tablejump_p): Declare.

From-SVN: r59149
2002-11-16 01:55:47 +00:00
Graham Stott 0d6466e4ca flow.c (life_analysis): Update LABEL_NUSES before purging dead jumptables.
* flow.c (life_analysis): Update LABEL_NUSES before purging
        dead jumptables.

From-SVN: r59146
2002-11-16 00:46:44 +00:00
GCC Administrator 8703b5c917 Daily bump.
From-SVN: r59120
2002-11-15 08:16:28 +00:00
Mike Stump 8ebcd8adbc Update various Apple people from information on mainline.
From-SVN: r59110
2002-11-14 19:01:03 +00:00
Gabriel Dos Reis 556da18702 MAINTAINERS: Remove from write-after-approval-list, uniformize email.
* MAINTAINERS: Remove from write-after-approval-list, uniformize
        email.

From-SVN: r59109
2002-11-14 18:30:35 +00:00
Stuart Hastings 484211e39a Add myself to write-after-approval list, 3.2 branch.
From-SVN: r59105
2002-11-14 17:26:36 +00:00
GCC Administrator d302b786d4 Daily bump.
From-SVN: r59099
2002-11-14 08:16:31 +00:00
Janis Johnson 4393a004b0 install.texi (Testing): Document extra Java testing.
2002-11-13  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi (Testing): Document extra Java testing.
	* doc/sourcebuild.texi (Test Suites): Document libgcj testing.

From-SVN: r59087
2002-11-13 21:17:09 +00:00
Benjamin Kosnik e8855edac1 linker-map.gnu: Export all _S_construct.
2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Export all _S_construct.

From-SVN: r59081
2002-11-13 18:42:41 +00:00
GCC Administrator 5a4fd13684 Daily bump.
From-SVN: r59067
2002-11-13 08:16:34 +00:00
Franz Sirl a20b3dd5e2 install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.

From-SVN: r59058
2002-11-12 21:13:27 +00:00
Gerald Pfeifer ce21849d0e contrib.texi (Contributors): Use GCJ instead of gcj to refer to that entire project.
* doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
	to that entire project.

From-SVN: r59049
2002-11-12 13:06:12 +00:00
Rainer Orth a25c699503 t-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
	directories.

From-SVN: r59046
2002-11-12 11:14:07 +00:00
GCC Administrator 02d8417079 Daily bump.
From-SVN: r59041
2002-11-12 08:16:34 +00:00
Tom Tromey 13390032ad dostime.c (dos2unixtime): Mask for seconds is 0x1f.
* dostime.c (dos2unixtime): Mask for seconds is 0x1f.  Correctly
	compute month.
	(unix2dostime): Handle years before 1980.  Correctly compute month
	and day of month.

From-SVN: r59029
2002-11-11 22:22:31 +00:00
Janis Johnson 3e6082c51a contrib.texi: Merge in the list from the libstdc++ web pages.
2002-11-11  Janis Johnson  <janis187@us.ibm.com>

	* doc/contrib.texi: Merge in the list from the libstdc++ web pages.

From-SVN: r59025
2002-11-11 21:05:13 +00:00
Franz Sirl 95d43544ad re PR c/8467 (Bug in sibling call optimization)
2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/8467
	* gcc.c-torture/execute/20021111-1.c

From-SVN: r59023
2002-11-11 20:55:31 +00:00
Franz Sirl 7c12a71b98 re PR c/8467 (Bug in sibling call optimization)
2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/8467
	* stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
	mode of DECL_RTL case.

From-SVN: r59022
2002-11-11 20:52:30 +00:00
Nathan Sidwell 1b2f07038e re PR c++/7788 (g++-3.2 internal error: Segmentation fault)
cp:
	PR c++/7788
	* rtti.c (unemitted_tinfo_decl_p): Check it has a field.
testsuite:
	PR c++/7788
	* g++.dg/rtti/crash1.C: New test.

From-SVN: r59021
2002-11-11 12:42:17 +00:00
GCC Administrator a70f4b6ae9 Daily bump.
From-SVN: r59015
2002-11-11 08:16:25 +00:00
Neil Booth b5c7f3a233 re PR preprocessor/4890 (inconsistent int-to-pointer warning)
PR preprocessor/4890
	* tradcpp.c (output_line_command): When leaving a file,
	system_include_depth has not yet been decremented.

From-SVN: r59010
2002-11-11 06:38:48 +00:00
Joel Sherrill a3e9e85e15 t-crtstuff (crti.o): Use this...
* config/m68k/t-crtstuff (crti.o): Use this...
	($(T)crti.o): ... instead.
	(crtn.o): Use this...
	($(T)crtn.o): ... instead.

From-SVN: r59007
2002-11-11 06:01:39 +00:00
Ralf Corsepius cd3d0108ee * config/mips/mips.md (movdi_usd): Use %z1 in place of %1.
From-SVN: r59006
2002-11-11 05:57:14 +00:00
Graham Stott 1e85f1e87f re PR middle-end/8502 (wrong code generated for switch statement)
PR 8502
        * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
        jumps post reload.

Co-Authored-By: Jan Hubicka <jh@suse.cz>

From-SVN: r59003
2002-11-11 03:36:01 +00:00
GCC Administrator dace15d711 Daily bump.
From-SVN: r58973
2002-11-10 08:16:28 +00:00
GCC Administrator 4eba4fde6d Daily bump.
From-SVN: r58945
2002-11-09 08:16:27 +00:00
H.J. Lu d22909ba59 Fix c/5351 and optimization/7591.
2002-11-08  H.J. Lu <hjl@gnu.org>

	Fix c/5351 and optimization/7591.

	* calls.c (store_one_arg): Remove ATTRIBUTE_UNUSED on
	variable_size. Mark any slots used for the argument as in-use
	only if we can't pass all arguments to a library call in
	registers.

From-SVN: r58937
2002-11-08 14:12:37 -08:00
Neil Booth 896153ba57 * MAINTAINERS: Fix email address.
From-SVN: r58936
2002-11-08 21:21:10 +00:00
GCC Administrator e6abd5baa3 Daily bump.
From-SVN: r58915
2002-11-08 08:16:31 +00:00
Hans-Peter Nilsson 8fef9094d1 wint_t-1.c, [...]: Remove excess-errors markers.
* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
	markers.

From-SVN: r58906
2002-11-07 21:17:18 +00:00
H.J. Lu 7fa10316c4 Fix bootstrap/8146 and gcc.c-torture/execute/20020307-2.c with -march=i686.
2002-11-07  H.J. Lu <hjl@gnu.org>

	Fix bootstrap/8146 and
	gcc.c-torture/execute/20020307-2.c with -march=i686.

	* calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
	* expr.c (PUSH_ARGS_REVERSED): Likewise.

	* config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.

From-SVN: r58898
2002-11-07 09:46:18 -08:00
Tom Tromey 1584ee2027 dostime.c: Rewrote from scratch.
* dostime.c: Rewrote from scratch.
	* dostime.h (dostime): Removed.

From-SVN: r58893
2002-11-07 14:09:37 +00:00
GCC Administrator 3f527c25ad Daily bump.
From-SVN: r58880
2002-11-07 08:16:28 +00:00
Aldy Hernandez 287863fe50 Fix c/8252.
2002-11-04  Aldy Hernandez  <aldyh@redhat.com>

	Fix c/8252.

	* config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
	vectors from PRE_INC/DEC.

From-SVN: r58878
2002-11-07 07:04:20 +00:00
David Edelsohn 0a750cd075 Add PR number
From-SVN: r58874
2002-11-06 19:42:18 -05:00
David Edelsohn 1895e75ccc * testsuite/abi_check.cc: Add guards to prevent -mpower ICE.
From-SVN: r58872
2002-11-06 19:24:48 -05:00
Richard Henderson 95bfa753c8 re PR rtl-optimization/7520 (internal compiler error in verify_local_live_at_start)
PR optimization/7520
        * cfganal.c (flow_active_insn_p): New.
        (forwarder_block_p): Use it.

From-SVN: r58871
2002-11-06 16:22:48 -08:00
Janis Johnson cda3921eba contrib.texi: Merge in the list from the Java web pages.
2002-11-06  Janis Johnson  <janis187@us.ibm.com>

	* doc/contrib.texi: Merge in the list from the Java web pages.

From-SVN: r58870
2002-11-07 00:06:21 +00:00
David O'Brien d6bf000f88 freebsd.h: Fix typo.
2002-11-06  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/freebsd.h: Fix typo.

From-SVN: r58866
2002-11-06 21:30:59 +00:00
GCC Administrator 11f162c4a9 Daily bump.
From-SVN: r58852
2002-11-06 08:16:25 +00:00
Jonathan Wakely 77264f2f6b std_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to c_str() thus avoiding assigning the unnecessary NULL-terminator.
2002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>

	* include/std/std_sstream.h
	(basic_stringbuf::str(const __string_type&)):
	Prefer data() to c_str() thus avoiding assigning the
	unnecessary NULL-terminator.

From-SVN: r58846
2002-11-06 00:22:38 +00:00
Benjamin Kosnik 7aa53f7b2e re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit)
2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8258
	* include/bits/istream.tcc (istream::readsome): Don't set eofbit
	for null buffer.
	(istream::operator>>(_CharT*)): Use traits_type.
	(istream::ws): Same.
	(istream::operator>>(string)): Same.
	* testsuite/27_io/istream_unformatted.cc (test11): Add.

From-SVN: r58845
2002-11-06 00:08:37 +00:00
Benjamin Kosnik 9b05193288 re PR libstdc++/7219 (_GLIBCPP_DEPRECATED on (ios_base::streamoff and ios_base::streampos types))
2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7219
	* include/bits/ios_base.h (ios_base::streampos): Add.
	(ios_base::streamoff): Add.
	* testsuite/27_io/ios_base_type.cc: New.

From-SVN: r58841
2002-11-05 23:48:45 +00:00
Paolo Carlini 45fcde6230 re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument)
2002-11-05  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8466
	* include/std/std_sstream.h
	(basic_stringbuf::str(const __string_type&)):
	Cannot use simple assignment since the COW-nature of v3
	basic_string is not taken into account in basic_stringbuf.
	* testsuite/27_io/stringstream_members.cc: Add test04 from PR.

From-SVN: r58839
2002-11-05 23:35:40 +00:00
Bob Wilson ef23121191 * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
From-SVN: r58836
2002-11-05 21:33:24 +00:00
Adam Nemet d0d449096a * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r58826
2002-11-05 18:31:20 +00:00
Nick Clifton 619d24ca55 Fix typo in my email address.
From-SVN: r58819
2002-11-05 09:00:13 +00:00
GCC Administrator 21683b7f3f Daily bump.
From-SVN: r58814
2002-11-05 08:16:25 +00:00
Benjamin Kosnik ae206c9600 [multiple changes]
2002-11-04  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Export string operator+.
	Export __default_alloc_template::_S_force_new.
	* testsuite/abi_check.cc: Output tweaks.

2002-11-04  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/8172
        * src/string-inst.cc: Add instantiation.

2002-11-04  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>

	PR libstdc++/8197
	* config/link-map.gnu: Export math stubbs.

2002-11-04  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8318
	* include/std/std_iostream.h: Tweak.
	* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
	* include/std/std_iomanip.h: Same.
	* include/bits/stringfwd.h: Same.
	* include/bits/basic_string.tcc: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/fstream.tcc: Same.
	* include/bits/basic_ios.tcc: Same.
	* include/bits/streambuf.tcc: Same.
	* include/bits/locale_facets.tcc: Same.

From-SVN: r58805
2002-11-05 00:51:35 +00:00
Paolo Carlini 58a496d961 MAINTAINERS (Write After Approval): Remove myself.
2002-11-05  Paolo Carlini  <pcarlini@unitus.it>

	* MAINTAINERS (Write After Approval): Remove myself.
	(Various Maintainers: c++ runtime libs): Add myself.

From-SVN: r58803
2002-11-05 00:09:32 +00:00
Aldy Hernandez e2800a7ac6 backport: re PR other/8451 (altivec ice in gcc 3.2)
2002-11-04  Aldy Hernandez  <aldyh@redhat.com>

        Backport patch to fix PR c/8451.

        2002-04-25  Richard Henderson  <rth@redhat.com>

        * expmed.c (extract_bit_field): Fall through to generic code rather
        than aborting on subreg special case.

From-SVN: r58796
2002-11-04 18:39:45 +00:00
GCC Administrator f3fdfbdc65 Daily bump.
From-SVN: r58788
2002-11-04 08:16:24 +00:00
Roger Sayle 1a3ef03061 getopt.h: Avoid prototyping getopt with no arguments in C++.
* getopt.h:  Avoid prototyping getopt with no arguments in C++.

Co-Authored-By: DJ Delorie <dj@redhat.com>

From-SVN: r58775
2002-11-03 23:45:49 +00:00
GCC Administrator 00a7f091d7 Daily bump.
From-SVN: r58767
2002-11-03 08:16:23 +00:00
Zack Weinberg c7a7a302da PR c/7353 redux
PR c/7353 redux
cp:
	* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
	* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
	Add some more cases.

From-SVN: r58747
2002-11-02 10:28:50 +00:00
GCC Administrator 7c7f5d04ee Daily bump.
From-SVN: r58741
2002-11-02 08:16:24 +00:00
Mark Mitchell c5cee832e4 re PR c++/8391 (infinite loop in cp/decl2.c(finish_file))
PR c++/8391
	* toplev.c (rest_of_compilation): Do not refuse to output code for
	an inline function in a local class.

	PR c++/8391
	* g++.dg/opt/local1.C: New test.

From-SVN: r58733
2002-11-02 00:57:26 +00:00
David O'Brien e0a82d932d freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
2002-11-01  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
	Add comment.

Approved by:  Mark Mitchell <mark@codesourcery.com>
              Message-ID: <15490000.1036182355@warlock.codesourcery.com>

From-SVN: r58731
2002-11-01 22:21:31 +00:00
David O'Brien a37d07694a freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define __enable_execute_stack function.
2002-11-01  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
	__enable_execute_stack function.

Approved by:  Mark Mitchell <mark@codesourcery.com>
              Message-ID: <79240000.1036086868@warlock.codesourcery.com>

From-SVN: r58726
2002-11-01 19:48:06 +00:00
Benjamin Kosnik 050e78a6c3 re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !)
2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8348
	* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
	(istream::seekg): Same.
	* testsuite/27_io/istream_seeks.cc (test06): New.

From-SVN: r58719
2002-11-01 16:27:30 +00:00
John Carter f373c58f9a re PR libstdc++/7961 (compare( char *) implemented incorrectly.)
2002-11-01  John Carter  <john.carter@tait.co.nz>

	PR libstdc++/7961
	* include/bits/basic_string.tcc
	(compare(const _CharT* __s)): Don't access __s past its length.

From-SVN: r58718
2002-11-01 15:25:27 +00:00
Richard Earnshaw 8df3a09cef re PR target/7856 ([arm] invalid offset in constant pool reference)
PR target/7856
* arm.c (use_return_insn): Don't use a return insn if there are
saved integer regs, but LR is not one of them.

From-SVN: r58715
2002-11-01 14:40:23 +00:00
Gabriel Dos Reis 04cbc98101 re PR c++/2521 (ICE in build_ptrmemfunc, at cp/typeck.c:6087)
PR C++/2521
        * typeck.c (build_x_unary_op): Handle pointer-to-member.

From-SVN: r58714
2002-11-01 13:12:24 +00:00
GCC Administrator 9697839bb4 Daily bump.
From-SVN: r58707
2002-11-01 08:16:23 +00:00
Hans-Peter Nilsson 8fa4db28e8 re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
PR other/3337
	PR bootstrap/6763
	PR bootstrap/8122
	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.

From-SVN: r58702
2002-11-01 04:59:13 +00:00
Hans-Peter Nilsson 66f58fa7d4 testsuite_hooks.h (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.

From-SVN: r58701
2002-11-01 04:54:04 +00:00
Jan Hubicka 64a7cc13e8 i386.c (override_options): Set defaults for flag_omit_frame_pointer...
* i386.c (override_options): Set defaults for flag_omit_frame_pointer,
	flag_asynchronous_unwind_tables, flag_pcc_struct_return.
	* i386.c (optimization_options): Set flag_omit_frame_pointer,
	flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
	Do not clear -momit-leaf-frame-pointer when profiling.
	(ix86_frame_pointer_required): Frame pointer is allways required when
	profiling.

From-SVN: r58685
2002-10-31 18:39:32 +00:00
GCC Administrator 7b020377b6 Daily bump.
From-SVN: r58669
2002-10-31 08:16:25 +00:00
Mark Mitchell 1a8ce27bed re PR c++/8160 (ICE in build_modify_expr, at cp/typeck.c:5494: Array initialization)
PR c++/8160
	* g++.dg/template/complit1.C: New test.

	PR c++/8149
	* g++.dg/template/typename4.C: Likewise.

	PR c++/8160
	* typeck2.c (process_init_constructor): Call complete_array_type.

	PR c++/8149
	* decl.c (make_typename_type): Issue errors about invalid results.

From-SVN: r58662
2002-10-31 00:02:35 +00:00
Mark Mitchell 9b4bf4c839 re PR c++/8333 (c++ emits double .globals for symbols [ regression from 3.0.4 ])
PR c++/8333
	* varasm.c (asm_output_aligned_bss): Do not call
	ASM_GLOBALIZE_LABEL.

From-SVN: r58657
2002-10-30 19:20:18 +00:00
GCC Administrator 1f885d4ca0 Daily bump.
From-SVN: r58648
2002-10-30 08:16:24 +00:00
Mark Mitchell 03e8975034 re PR c++/8287 (GCC3.2: Destructor called for non-constructed local object)
PR c++/8287
	* decl.c (finish_destructor_body): Create the label to jump to
	when returning from a destructor here.
	(finish_function_body): Rather than here.

	* g++.dg/init/dtor2.C: New test.

From-SVN: r58642
2002-10-29 23:51:12 +00:00
Mark Mitchell cd35cc87a5 re PR c++/7363 (bogus __alignof__ implementation)
PR c++/7363
	* semantics.c (finish_alignof): Call complete_type before calling
	c_alignof.
	* decl2.c (build_expr_from_tree): Use
	finish_sizeof/finish_alignof.

	* g++.dg/template/alignof1.C: New test.

From-SVN: r58634
2002-10-29 21:12:36 +00:00
Janis Johnson 71f9914855 invoke.texi (-profile-arcs): Remove references to -a and -ax.
2002-10-29  Janis Johnson  <janis187@us.ibm.com>

	* doc/invoke.texi (-profile-arcs): Remove references to -a and -ax.

From-SVN: r58626
2002-10-29 16:35:04 +00:00
Eric Botcazou 7e28bdf34c expr.c (expand_expr): Don't use simplify_binary_operation; check for zero operands explicitly.
* expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
        check for zero operands explicitly.

From-SVN: r58622
2002-10-29 06:17:33 -08:00
GCC Administrator afaf3148f4 Daily bump.
From-SVN: r58615
2002-10-29 08:16:29 +00:00
Paolo Carlini 931e1c9f5b re PR libstdc++/8347 (empty vector range used in string construction causes core dump.)
2002-10-29  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8347
	* include/bits/basic_string.tcc
	(string::_S_construct(_InIter, _InIter, const _Alloc&,
	forward_iterator_tag)): Do not throw logic error if
	__beg == NULL && __end == __beg.
	(string::string(const _CharT*, const _Alloc&)): Tweak.
	* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.

From-SVN: r58610
2002-10-29 08:08:40 +00:00
Andris Pavenis f9e4d2ddab re PR fortran/8308 (gcc-3.x does not compile files with suffix .r (RATFOR))
2002-10-28  Andris Pavenis  <pavenis@latnet.lv>
            Toon Moene  <toon@moene.indiv.nluug.nl>

	PR fortran/8308
	* lang-specs.h: Correct ratfor specs.
	* news.texi: Document this fix.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>

From-SVN: r58605
2002-10-28 21:53:38 +00:00
Dale Johannesen f33c40c93d re PR target/7133 (PPC: unrecognizable insn)
2002-10-21  Dale Johannesen  <dalej@apple.com>

	PR target/7133
	* config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
	unsafe math reversals correctly for RTL generation.
	(output_cbranch):  Replace rs6000_reverse_condition call
	by its former definition.

From-SVN: r58604
2002-10-28 20:39:53 +00:00
Kaveh Ghazi 73e51da4d4 20021014-1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/20021014-1.c: Bypass errors on solaris2 and irix6.

       * gcc.dg/20021014-1.c: Use dg-error, not dg-build.
       * gcc.dg/20021014-1.c: Expect build failure on mmix-*-*.

From-SVN: r58601
2002-10-28 18:17:22 +00:00
GCC Administrator 11a1222475 Daily bump.
From-SVN: r58590
2002-10-28 08:16:27 +00:00
Jan Hubicka 447f4150f2 re PR target/6890 (xmmintrin.h, _MM_TRANSPOSE4_PS is broken)
PR target/6890
	* xmmintrin.h (_MM_TRANSPOSE4_PS): New.

From-SVN: r58581
2002-10-27 09:28:12 +00:00
Jan Hubicka a7493df34a * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
From-SVN: r58580
2002-10-27 09:24:50 +00:00
GCC Administrator e0d88b7993 Daily bump.
From-SVN: r58572
2002-10-27 07:16:26 +00:00
GCC Administrator 76c4d3558b Daily bump.
From-SVN: r58557
2002-10-26 07:16:33 +00:00
Jim Wilson c1fe36e425 Fix C++ FE problem with attribute alias.
* decl.c (duplicate_decls): Don't call decl_attributes.

From-SVN: r58544
2002-10-25 15:38:05 -07:00
Zack Weinberg 68a3e7e1aa re PR c++/6994 (ICE in find_function_data)
PR middle-end/6994
	* c-objc-common.c (inline_forbidden_p): Can not inline
	functions containing structures or unions containing VLAs.
	* tree-inline.c (walk_tree): For all class 't' nodes, walk
	TYPE_SIZE and TYPE_SIZE_UNIT. #undef WALK_SUBTREE_TAIL at end.
	(copy_tree_r): Copy types if they are variably modified.

	* hooks.c (hook_tree_bool_false): New.
	* hooks.h: Prototype it.
	* langhooks.h (struct lang_hooks_for_tree_inlining): Add
	var_mod_type_p.
	* langhooks-def.h: Default for tree_inlining.var_mod_type_p is
	hook_tree_bool_false.

	* tree.c (variably_modified_type_p): Moved here from
	cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
	language-specific cases.  Due to this, must weaken some 'if
	and only if' checks to merely 'if'.
	* tree.h: Prototype variably_modified_type_p.

cp:
	* cp-lang.c (cp_var_mod_type_p): New: C++ hook for
	variably_modified_type_p.
	* cp-tree.h: Remove prototype of variably_modified_type_p.
	* tree.c (variably_modified_type_p): Remove; now implemented
	in language-independent code.

	PR c++/7266
	* decl.c (grokdeclarator): Check that TREE_OPERAND 0 of a
	SCOPE_REF is not null before dereferencing it.

testsuite:
	* g++.dg/ext/vla1.C, gcc.dg/vla-2.c,
	g++.dg/template/typename3.C: New tests.

From-SVN: r58542
2002-10-25 22:11:19 +00:00
No Author 28f97059a6 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58541
2002-10-25 22:11:19 +00:00
David Edelsohn 6bb7ca76bb - Fix typo in last change.
From-SVN: r58534
2002-10-25 11:32:46 -04:00
David Edelsohn ad3e893dfc re PR c++/7228 (ICE when using member template and template function)
PR c++/7228
        * cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
        lang_type structure exists before accessing field.
        (SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
        (CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
        (SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
        * class.c (check_field_decls): Use new macros.
        * typeck2.c (process_init_constructor): Remove redundant check for
        existence of lang_type structure.

From-SVN: r58533
2002-10-25 11:20:30 -04:00
GCC Administrator 78fd139e9d Daily bump.
From-SVN: r58523
2002-10-25 07:17:04 +00:00
Mark Mitchell 5b5d98610b class.c (check_field_decls): Fix typo.
* class.c (check_field_decls): Fix typo.

[[Split portion of a mixed commit.]]

From-SVN: r58516.1
2002-10-24 23:43:47 +00:00
Tom Tromey 59cb3af292 Primes.java: Removed.
* libjava.lang/Primes.java: Removed.
	* libjava.lang/Primes.out: Removed.

From-SVN: r58506
2002-10-24 21:11:22 +00:00
Jakub Jelinek 0c6da4e47f re PR target/6981 (wrong code in 64-bit manipulation on x86)
* config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
	PR target/6981
	* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
	* gcc.c-torture/execute/20021024-1.c: New test.

From-SVN: r58497
2002-10-24 19:11:56 +02:00
Richard Henderson 2a3cea2b6c re PR rtl-optimization/7944 (gcc 3.2: Internal compiler error in find_reloads_toplev, at reload.c:4462)
PR opt/7944
        * reload.c (find_reloads_toplev): Use simplify_gen_subreg; mode
        of X is not important when simplifying subregs of constants.
	* g++.dg/opt/reload1.C: New.

From-SVN: r58489
2002-10-24 01:59:50 -07:00
GCC Administrator aa4cf06d22 Daily bump.
From-SVN: r58482
2002-10-24 07:16:32 +00:00
Mark Mitchell ec876266b6 re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
PR c++/8067
	* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
	related variables.

	PR c++/8067
	* g++.dg/lookup/pretty1.C: New test.

From-SVN: r58479
2002-10-24 00:03:16 +00:00
No Author 311eae7b2c This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58478
2002-10-24 00:03:16 +00:00
Mark Mitchell 215f160090 re PR c++/7679 (The compiler crashes wen a right parentesis is missing)
PR c++/7679
	* spew.c (next_token): Do not return an endless stream of
	END_OF_SAVED_INPUT tokens.
	(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
	the cached token stream.
	(snarf_defarg): Likewise.

	PR c++/7679
	* g++.dg/parse/inline1.C: New test.

From-SVN: r58473
2002-10-23 21:56:55 +00:00
No Author 064b31adb8 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58472
2002-10-23 21:56:55 +00:00
Robert Lipe 7828586d07 config.gcc (i[34567]86-*-sco3.2v5*): Fix tm_file.
2002-10-23  Robert Lipe  <robertlipe@usa.net>

        * config.gcc (i[34567]86-*-sco3.2v5*): Fix tm_file.

From-SVN: r58461
2002-10-23 17:28:29 +00:00
Jakub Jelinek 8c779081c1 num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
	and decimal_point arguments of find.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.

From-SVN: r58455
2002-10-23 17:47:17 +02:00
Roger Sayle 63d85716ae re PR c/761 (Undocumented options, part 1)
PR c/761
	* doc/invoke.texi: Fix some overfull hboxes in "make dvi".
	Document --version, -fno-sched-interblock, -fno-sched-spec,
	-fsched-spec-load, -fsched-spec-load-dangerous,
	-fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.

From-SVN: r58451
2002-10-23 13:38:28 +00:00
Ulrich Weigand 513d7ed220 s390.md ("*movdi_64"): Fix op_type attribute.
* config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
	("*movdf_64"): Likewise.
	("*lshrdi3_64"): Likewise.

From-SVN: r58449
2002-10-23 10:46:00 +00:00
GCC Administrator 0322255e2d Daily bump.
From-SVN: r58437
2002-10-23 07:16:25 +00:00
Mark Mitchell 1202486383 spew.c (snarf_parenthesized_expression): New function.
* spew.c (snarf_parenthesized_expression): New function.
	(snarf_block): Use it.

	* g++.dg/parse/stmtexpr3.C: New test.

From-SVN: r58430
2002-10-23 00:31:20 +00:00
No Author e2c1c0e8c3 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58429
2002-10-23 00:31:20 +00:00
Jakub Jelinek 51b066ad24 Makefile.am (check-abi, [...]): Use @glibcpp_srcdir@ instead of ${top_srcdir}.
* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
	instead of ${top_srcdir}.
	* Makefile.in: Rebuilt.

From-SVN: r58419
2002-10-22 23:50:47 +02:00
No Author 2d6bdff303 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58407
2002-10-22 09:06:46 +00:00
Nathan Sidwell 0badb078c1 re PR c++/7209 (Faulty array dereferencing)
PR c++/7209
	* fold_const.c (fold_binary_op_with_conditional_arg): Always
	build compound_expr if we used save_expr.
testsuite:
	* g++.dg/expr: New directory.
	* g++.dg/expr/cond1.C: New test.

From-SVN: r58406
2002-10-22 09:06:19 +00:00
GCC Administrator edea8b5691 Daily bump.
From-SVN: r58399
2002-10-22 07:16:28 +00:00
Phil Edwards 3e1747a7fb configure.in: Use target, not target_alias, when matching triplet patterns.
2002-10-21  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Use target, not target_alias, when matching triplet
	patterns.
	* configure:  Regenerate.

From-SVN: r58378
2002-10-21 19:35:41 +00:00
Zack Weinberg ab503fa474 920923-1.c: Prevent spurious regressions with bison 1.50 or later.
* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
	bison 1.50 or later.

From-SVN: r58375
2002-10-21 19:06:16 +00:00
Matthias Klose 4055bdc6a1 [multiple changes]
2002-10-21  Matthias Klose  <doko@debian.org>

        * Backport, without whitespace change:

        2002-06-10  Akim Demaille  <akim@epita.fr>
        * parse.y (interface_type_list, class_member_declaration)
        (unary_expression_not_plus_minus): Remove duplicate %type.
        Whitespace changes.

        2002-06-13  Akim Demaille  <akim@epita.fr>
        * parse.y (class_declaration, interface_declaration): Make sure
        all their rules have an action, in order to avoid meaningless `$$
        = $1' and their type clashes.

        * parse.y (catch_clause): Terminate with `;'.

From-SVN: r58373
2002-10-21 18:40:12 +00:00
Matthias Klose 9a68409d71 [multiple changes]
2002-10-21  Matthias Klose  <doko@debian.org>

        * Backport, without whitespace change:
        2002-06-19 Akim Demaille  <akim@epita.fr>
        * parse.y (TYPENAME): Rename as tTYPENAME to avoid the clash with
        decl.h's TYPENAME.
        * spew.c, lex.c: Adjust.
        * parse.y (explicit_instantiation): Add empty action to override
        the default $$ = $1 where it introduces a type clash.

From-SVN: r58372
2002-10-21 18:38:39 +00:00
Matthias Klose d3dc327399 [multiple changes]
2002-10-21  Matthias Klose  <doko@debian.org>

        * Backport, without whitespace change:
        2002-06-19 Akim Demaille  <akim@epita.fr>
        * c-parse.in (initelt: identifier ':' initval): Add an empty
        action to fix a type clash.
        (aliasdecl, classdef): Add the missing closing `;'.

From-SVN: r58371
2002-10-21 18:37:41 +00:00
Mark Mitchell f2ec1f0a57 re PR c++/8218 (Excessively large amount of memory used with classes with large array members)
PR c++/8218
	* cp-tree.h (lang_type_class): Add contains_empty_class_p.
	(CLASSTYPE_CONTAINS_EMPTY_CLASS_P): New macro.
	* class.c (check_bases): Update CLASSTYPE_CONTAINS_EMPTY_CLASS_P.
	(check_field_decls): Likewise.
	(layout_class_type): Likewise.
	(finish_struct_1): Initialize it.
	(walk_subobject_offsets): Use it to prune searches.

From-SVN: r58357
2002-10-21 09:29:12 +00:00
GCC Administrator c4f11dbea6 Daily bump.
From-SVN: r58350
2002-10-21 07:16:36 +00:00
GCC Administrator d24ed40329 Daily bump.
From-SVN: r58326
2002-10-20 07:16:27 +00:00
Jan Hubicka 9b196fe872 mmintrin.h (__m64): typedef it to v2si.
* mmintrin.h (__m64): typedef it to v2si.
	(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
	_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
	_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
	_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
	_mm_or_si64, _mm_xor_si64): Add neccesary casts.
	* xmmintrin.h (_mm_setzero_si64): Likewise.

From-SVN: r58317
2002-10-19 17:20:57 +00:00
Jan Hubicka 51d68d5ad4 re PR target/7693 (Typo in i386 mmintrin.h header)
* mmintrin.h (__m64): typedef it to v2si.
	(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
	_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
	_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
	_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
	_mm_or_si64, _mm_xor_si64): Add neccesary casts.
	* xmmintrin.h (_mm_setzero_si64): Likewise.

	PR target/7693
	Patch by Shawn Wagner
	* mmintrin.h: Replace pi64 by si64.

From-SVN: r58308
2002-10-19 13:51:34 +00:00
GCC Administrator baee3f4fdf Daily bump.
From-SVN: r58301
2002-10-19 07:16:27 +00:00
Zack Weinberg 188a949b5e re PR c/7353 (Compiler dies on known working code (as of gcc 3.0))
PR c/7353
	* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized-
	typedef extension at __typeof__.

From-SVN: r58298
2002-10-19 03:17:43 +00:00
Nathan Sidwell 4d054123bf re PR c++/7676 (Member template function overloading problem)
cp:
	PR c++/7676
	* class.c (add_method): Compare template parms too.
testsuite:
	* g++.dg/overload/member2.C: New test.

From-SVN: r58281
2002-10-18 08:17:57 +00:00
No Author d909ffcfd0 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58280
2002-10-18 08:17:57 +00:00
Mark Mitchell a19d1340dd mangle.c (globals): Add entity and need_abi_warning.
* mangle.c (globals): Add entity and need_abi_warning.
	(write_prefix): Likewise.
	(write_template_prefix): Likewise.
	(start_mangling): Add entity parameter.
	(finish_mangling): Warn about names whose mangling will change.
	(mangle_decl_string): Adjust.
	(mangle_type_string): Likewise.
	(mangle_special_for_type): Likewise.
	(mangle_ctor_vtbl_for_type): Likewise.
	(mangle_thunk): Likewise.
	(mangle_guard_variable): Likewise.
	(mangle_ref_init_variable): Likewise.

	* g++.dg/abi/mangle11.C: New test.
	* g++.dg/abi/mangle14.C: New test.
	* g++.dg/abi/mangle17.C: New test.

From-SVN: r58279
2002-10-18 08:11:44 +00:00
GCC Administrator f6af28d05f Daily bump.
From-SVN: r58272
2002-10-18 07:16:28 +00:00
Mark Mitchell c2d39386f8 re PR c++/7584 (Erroneous ambiguous base error on using declaration)
PR c++/7584
	* class.c (handle_using_decl): Allow the declaration used to be
	from an ambiguous base.

	PR c++/7584
	* g++.dg/inherit/using3.C: New test.

From-SVN: r58264
2002-10-17 22:37:49 +00:00
No Author 9b98fd0b3c This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58263
2002-10-17 22:37:49 +00:00
Jan Hubicka aadcb748a7 re PR c++/6419 (ICE in make_decl_rtl for "longest" c++ attribute)
PR c++/6419
	* expr.c (expand_expr): Use DECL_RTL_SET_P.

From-SVN: r58254
2002-10-17 17:17:51 +00:00
Jan Hubicka 53e04db93b re PR rtl-optimization/7630 (gcc 3.2 breaks on Mozilla 1.0's JS sources with -march=pentium4)
PR opt/7630
	* reload.c (reload_inner_reg_of_subreg): New argument output;
	(push_reload): Update call.

From-SVN: r58250
2002-10-17 16:52:27 +00:00
GCC Administrator 4077af4347 Daily bump.
From-SVN: r58240
2002-10-17 07:16:25 +00:00
Benjamin Kosnik aac88295c5 [multiple changes]
2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

        * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
        _M_name_timepunct.
        (__timepunct::~__timepunct): Deallocate, remove specialization
        declarations.
        (messages::messages): Allocate _M_name_messages.
        (messages::~messages): Deallocate.
        (messages_byname): Same.
        * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
        Remove.
        * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
        Remove.

        * docs/html/install.html: Add eqs_MX, en_PH to required locales list.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
	c_locale_impl.
	* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
	* docs/html/abi.txt: Update.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/static_members.cc (test02): Less provincial.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/static_members.cc (test02): Disable for
	systems without named locale support.
	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
	running the testsuites in "C" environment.
	Add new tests.
	* docs/html/22_locale/locale.html: Update.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/abi_check.cc (hash<string>): Specialize.
	Simplify. Check compatible symbol versions.
	* config/linker-map.gnu: Clarify, explicitly export
	std::codecvt::c* symbols.

	* testsuite/22_locale/static_members.cc (test02): Avoid null strings.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/static_members.cc (test02): Fix.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* acconfig.h (_GLIBCPP_SYMVER): Add.
	(_GLIBCPP_ASM_SYMVER): Add.
	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
	hack around m4 issues with quoting '@'.
	* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
	* src/globals.cc (__gnu_cxx): Same.

	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
	(GLIBCPP_3.2): Don't export locale::_S_*.
	* src/ios.cc: Move globals into __gnu_cxx. Make old exported
	symbols match.
	* src/locale.cc: Same.
	* src/localename.cc: Same.

2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>

	* src/locale.cc: Fix comments, move ctors together.
	* testsuite/22_locale/static_members.cc (test03): Add.

2002-10-16  Paolo Carlini  <pcarlini@unitus.it>
	    Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/localefwd.h (class locale): Add static member
	_S_num_extra_categories, encoding the number of additional
	categories.
	Change _S_num_categories to _S_categories_size.
	(class locale::_Impl): Add _M_c_cats.
	(class locale::_Impl::_M_names): Change to array of chars.
	(class locale::_Impl::_M_check_same_name): Use
	_S_extra_categories_size, tweak.
	(locale::locale(const locale&, _Facet*)): Ditto.
    	* src/locale.cc (locale::locale(const char* )): Rewrite to deal
	with the environment in a POSIX-compliant way while being thread
	safe.
	(locale::name()): Update to output POSIX environment strings.
	* src/localename.cc
	(locale::_Impl::_Impl(const _Impl&, size_t): Use
	_S_categories_size_*, tweak.
	(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
	(locale::_Impl::_Impl(const char*, size_t)): Name each category
	individually.
	(locale::_Impl::_M_replace_categories): Use strcpy.

	* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
	Change default argument to NULL from _S_c_locale.
	(timepunct::_M_initialize_timepunct): Same.
	_S_c_locale cleanups.
	* src/codecvt.c: _S_c_locale simplification.
	* src/ctype.c: Same.
	* src/globals.cc: Add fake_name.
	* src/locale-inst.cc: Remove extra includes.
	* src/locale.cc: Remove extra includes.
	Add _S_extra_categories_size definition.
	Correct "C" initialization.
	(locale::facet::facet): Don't initialize _S_c_locale.
	(locale::facet::_M_remove_reference): Adjust.
	* src/localename: Use facet_vec, facet_name.
	(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
	facet ref counts to one. Initialize _S_c_locale.
	(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
	counts when installing unilaterally.

	* config/locale/generic/c_locale.cc: Add _S_categories definition.
	* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
	* config/locale/generic/time_members.cc: _S_c_locale cleanup.

	* config/locale/gnu/c_locale.cc: Add _S_categories definition.
	(_S_destroy_c_locale): Move checks against _S_c_locale here.
	* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
	* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
	calls, _S_c_locale usage.
	* config/locale/gnu/monetary_members.cc: Same, tweaks.
	* config/locale/gnu/monetary_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.
	* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().

	* docs/html/22_locale/locale.html: Add bits about global locales
	and "C" setlocale.

	* testsuite/22_locale/facet.cc (test02): Add.
	* testsuite/22_locale/static_members.cc (test02): Add.
	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.

From-SVN: r58233
2002-10-17 02:04:18 +00:00
Mark Mitchell 6f2f3e3510 re PR c++/7478 (internal compiler error on static_cast inside template)
PR c++/7478
	* cvt.c (convert_to_reference): Allow references as the incoming
	type.

	PR c++/7478
	* g++.dg/template/ref1.C: New test.

From-SVN: r58229
2002-10-17 00:15:39 +00:00
Mark Mitchell e66522b3bd re PR c++/8134 (ICE in force_store_init_value on legal code)
PR c++/8134.
	* tree.c (zero_init_p): Always return 1.

	PR c++/8134
	* g++.dg/init/pm1.C: XFAIL it.

From-SVN: r58220
2002-10-16 19:36:29 +00:00
Mark Mitchell af3b1b47fb re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)
PR c++/7524
	* method.c (do_build_assign_ref): Use cp_build_qualified_type, not
	build_qualified_type.

	PR c++/7524
	* g++.dg/init/array7.C: New test.

From-SVN: r58216
2002-10-16 18:53:29 +00:00
J"orn Rennecke 70ad811d93 calls.c (expand_call): Take current_function_pretend_args_size into account when...
* calls.c (expand_call): Take current_function_pretend_args_size
        into account when setting argblock for sibcalls.

From-SVN: r58211
2002-10-16 18:15:54 +00:00
Jan Hubicka de333e72a2 re PR target/7396 (ix86: cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSE intriniscs are broken)
PR target/7396
	* i386.c (builtin_description):Drop cmpg[te]s[sd].
	* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
	swapped alternative.

From-SVN: r58210
2002-10-16 17:45:27 +00:00
GCC Administrator 95baf99634 Daily bump.
From-SVN: r58190
2002-10-16 07:16:26 +00:00
Jakub Jelinek 408ecd64f2 * fold-const.c (fold): Fix a typo.
From-SVN: r58181
2002-10-16 00:10:00 +02:00
Ulrich Weigand 72986f64f6 re PR target/7370 (ICE in fixup_var_refs_1 on s390x)
PR target/7370
	* gcc.c-torture/compile/20021015-1.c: New test.

	PR target/8232
	* gcc.c-torture/compile/20021015-2.c: New test.

From-SVN: r58174
2002-10-15 18:38:25 +00:00
Ulrich Weigand dfa7dd0f02 re PR target/7370 (ICE in fixup_var_refs_1 on s390x)
PR target/7370
	* config/s390/s390.md ("*addsi3_inv"): New pattern.

	PR target/8232
	* config/s390/s390.md ("cmpstrsi"): Convert length operand
	from SImode to Pmode.

From-SVN: r58171
2002-10-15 18:34:36 +00:00
Janis Johnson 3a15d3ac80 install.texi: Formatting changes for conformance to HTML 4.01.
2002-10-15  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi: Formatting changes for conformance to HTML 4.01.

From-SVN: r58167
2002-10-15 16:16:58 +00:00
Ulrich Weigand d2cdd7e5c9 * gcc.c-torture/execute/20021015-1.c: New test.
From-SVN: r58162
2002-10-15 14:45:48 +00:00
No Author 054ac0f4db This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58161
2002-10-15 14:45:48 +00:00
Ulrich Weigand 6b4f2a99b7 re PR rtl-optimization/7409 (loop optimization)
PR opt/7409
	* loop.c (loop_regs_scan): Mark registers used for function
	argument passing as MAY_NOT_OPTIMIZE.

From-SVN: r58160
2002-10-15 14:42:52 +00:00
GCC Administrator 3665e8a7ea Daily bump.
From-SVN: r58151
2002-10-15 07:16:23 +00:00
Neil Booth e37b065ae1 re PR preprocessor/7862 (Interrupting gcc -MD removes .d file but not .o)
2002-10-14  Neil Booth  <neil@daikokuya.co.uk>

        PR preprocessor/7862
        PR preprocessor/8190
        * gcc.c (cpp_unique_options): Don't delete .d files.
        Remove stray whitespace.

From-SVN: r58140
2002-10-14 17:55:26 -04:00
Jakub Jelinek a7b3c2f4ae i386.h (ASM_OUTPUT_REG_PUSH, [...]): Handle TARGET_64BIT.
* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
	Handle TARGET_64BIT.

	* gcc.dg/20021014-1.c: New test.

From-SVN: r58138
2002-10-14 23:24:25 +02:00
No Author ae52e355c5 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58137
2002-10-14 21:24:25 +00:00
Mark Mitchell 4cf8475f41 re PR rtl-optimization/6631 (Miscompiled structure access)
PR optimization/6631
	* Makefile.in (function.o): Depend on langhooks.h.
	* alias.c (objects_must_conflict_p): Check honor_readonly when
	examining TYPE_READONLY.
	* function.c (assign_stack_temp_for_type): Likewise.

	PR optimization/6631
	* g++.dg/opt/const2.C: New test.

From-SVN: r58134
2002-10-14 21:04:33 +00:00
Mark Mitchell ff6b8fb4fa re PR c++/7176 (g++ confused by friend and static member with same name)
PR c++/7176
	* lex.c (do_identifier): Add another option for the parsing
	parameter.
	* parse.y (do_id): Use it.

	PR c++/7176
	* g++.dg/parse/friend1.C: New test.
	* g++.old-deja/g++.pt/memtemp64.C: Adjust.

From-SVN: r58119
2002-10-14 07:46:30 +00:00
GCC Administrator 81424d4f9b Daily bump.
From-SVN: r58111
2002-10-14 07:16:31 +00:00
GCC Administrator 97ec00fd27 Daily bump.
From-SVN: r58094
2002-10-13 07:16:23 +00:00
John David Anglin 425c0b1d15 tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and TREE_VEC_LENGTH to ensure values...
* tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and
	TREE_VEC_LENGTH to ensure values are promoted before doing subtraction.

From-SVN: r58089
2002-10-12 18:08:37 +00:00
GCC Administrator 3d9f8dd0ee Daily bump.
From-SVN: r58082
2002-10-12 07:16:22 +00:00
Janis Johnson f565eaa3df compat.texi: Add info about C++ libraries.
2002-10-11  Janis Johnson  <janis187@us.ibm.com>

	* doc/compat.texi: Add info about C++ libraries.

From-SVN: r58076
2002-10-12 00:01:18 +00:00
Mark Mitchell 791238161d re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
PR c++/5661
	* g++.dg/ext/vlm1.C: New test.
	* g++.dg/ext/vlm2.C: Likewise.

	PR c++/5661
	* cp-tree.h (variably_modified_type_p): New function.
	(grokdeclarator) Tighten check for variably modified types as
	fields.
	* pt.c (convert_template_argument): Do not allow variably modified
	types as template arguments.
	* tree.c (variably_modified_type_p): New function.

From-SVN: r58070
2002-10-11 22:42:21 +00:00
No Author 2344a56783 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58069
2002-10-11 22:42:21 +00:00
Gabriel Dos Reis 26398ea18d std_limits.h (__glibcpp_char_digits10): Fix Typo.
* include/std/std_limits.h (__glibcpp_char_digits10): Fix Typo.
        (__glibcpp_char_digits10): Likewise.

From-SVN: r58061
2002-10-11 20:20:47 +00:00
Jason Molenda f0abf670a5 init.c (build_field_list): Provide uses_unions_p with a default value.
2002-10-11  Jason Molenda  <jmolenda@apple.com>

	* init.c (build_field_list): Provide uses_unions_p with a default
	value.

From-SVN: r58057
2002-10-11 18:10:59 +00:00
Gabriel Dos Reis 55d06e29aa Leave diagnostics as is.
From-SVN: r58055
2002-10-11 18:05:43 +00:00
Gabriel Dos Reis ca5786fd5b PRs C++/6803, C++/7721 and C++/7803
PRs C++/6803, C++/7721 and C++/7803
        * decl.c (grokdeclarator): Gracefully handle template-name as
        decl-specifier.

From-SVN: r58054
2002-10-11 18:00:46 +00:00
Jonathan Lennox d4692cc7e1 PR libstdc++/8071, libstdc++/8127, c++/6745
2002-10-10  Jonathan Lennox  <lennox@cs.columbia.edu>

        PR libstdc++/8071, libstdc++/8127, c++/6745
        * streambuf.tcc (__copy_streambufs): Handle cases where
        __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
        * testsuite/27_io/ostream_inserter_other.cc (test05): Add.

From-SVN: r58049
2002-10-11 08:15:58 +00:00
GCC Administrator 3562a7a32d Daily bump.
From-SVN: r58044
2002-10-11 07:16:26 +00:00
Jan Hubicka ebf8572d47 re PR target/5610 (Not clear how to get FP operations to use SSE)
PR target/5610
	* invoke.texi (-msse-math): Kill
	(-msse): Add note to mfpmath=sse.

From-SVN: r58020
2002-10-10 17:48:51 +00:00
Jan Hubicka 17b3de4f4b re PR rtl-optimization/7951 (ICE on -march=pentium4 -O2 -mfpmath=sse)
PR ice/7951
	* reload1.c (emit_input_reload_insns): Use constrain_operands
	instead of constraint_accepts_reg_p to verify optimization.
	(constraint_accepts_reg_p): Kill

From-SVN: r58016
2002-10-10 15:40:20 +00:00
Jan Hubicka b4e07af57f re PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)
PR target/7723
	* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.

From-SVN: r58013
2002-10-10 15:07:16 +00:00
GCC Administrator cad7bafa4c Daily bump.
From-SVN: r58005
2002-10-10 07:16:22 +00:00
Zack Weinberg 2297583bb8 re PR c/7353 (Compiler dies on known working code (as of gcc 3.0))
PR c/7353
gcc:
	* c-decl.c (start_decl): Unconditionally issue error for
	'typedef foo = bar'.
	(finish_decl): Remove special case for TYPE_DECL with initializer.

	* doc/extend.texi: Delete "Naming Types" section.  Change all
	cross-references to that section to refer to "Typeof" instead.
	Add the useful safe-max()-macro example from "Naming Types" to
	"Typeof", rewritten using that extension.

gcc/cp:
	* decl.c (start_decl): Unconditionally issue error for
	'typedef foo = bar'.
	(cp_finish_decl): Remove special case for TYPE_DECL with initializer.
	(grokdeclarator): Remove redundant error for 'typedef foo = bar'.

gcc/testsuite:
	* g++.dg/ext/typedef-init.C: New test.
	* gcc.dg/typedef-init.c: New test.

From-SVN: r57997
2002-10-09 21:31:03 +00:00
No Author 6959d4f74b This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57996
2002-10-09 21:31:03 +00:00
Richard Henderson dd2aae0c92 i386.c (ix86_register_move_cost): Increase cost for secondary_memory_needed pairs.
* config/i386/i386.c (ix86_register_move_cost): Increase cost
        for secondary_memory_needed pairs.

From-SVN: r57988
2002-10-09 10:52:44 -07:00
Jan Hubicka a09b2981d6 re PR rtl-optimization/7792 (ICE with -march=athlon-xp -O2)
PR opt/7912
	PR opt/7390
	* i386.c (athlon_cost): Fix the move costs.

From-SVN: r57986
2002-10-09 17:12:26 +00:00
GCC Administrator 4af07fccce Daily bump.
From-SVN: r57972
2002-10-09 07:16:25 +00:00
Alan Modra 926e8f0ff1 * libgcc2.c (__floatdisf): Properly cure double rounding.
From-SVN: r57967
2002-10-09 10:03:12 +09:30
Mark Mitchell 803a915c9f re PR c++/7754 (ICE SIGSEGV on union with template parameter)
PR c++/7754
	* decl2.c (finish_anon_union): Do not expand anonymous unions when
	procesing template functions.
	* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
	type. Call layout_decl.
	(tsubst_expr, case DECL_STMT): Handle anonymous unions.

From-SVN: r57962
2002-10-08 22:53:21 +00:00
Gabriel Dos Reis 94234e14c1 re PR c++/7484 (warning with -Wmissing-declarations)
PR doc/7484
	* doc/invoke.texi (Option Summary): List
	-Wmissing-declarations as a C only option.

From-SVN: r57959
2002-10-08 22:28:36 +00:00
Jakub Jelinek 694df2c95b t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.
2002-10-08  Jakub Jelinek  <jakub@redhat.com>

	* config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
	mno-app-regs|mcmodel=medany.
	(MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
	(MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
	(CRTSTUFF_T_CFLAGS): Define.

From-SVN: r57955
2002-10-08 14:58:53 -07:00
GCC Administrator dd1cfa8a0c Daily bump.
From-SVN: r57914
2002-10-08 07:16:22 +00:00
Kaveh R. Ghazi 9af4278002 * Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
From-SVN: r57905
2002-10-07 20:47:05 +00:00
Richard Henderson c24b0c5d95 * decl2.c: Complete reversion of c++/7754.
From-SVN: r57896
2002-10-07 02:54:27 -07:00
Eric Botcazou b1a70c6bba re PR c/7411 (cistore.c:392: Internal compiler error in instantiate_virtual_regs_1, at function.c:3974)
PR c/7411
 * expr.c (expand_expr) [PLUS]: Simplify after the operands
 have been expanded in EXPAND_NORMAL mode.

Co-Authored-By: Volker Reichelt <reichelt@igpm.rwth-aachen.de>

From-SVN: r57884
2002-10-07 00:39:20 -07:00
No Author 1deb217cc9 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57883
2002-10-07 07:39:20 +00:00
GCC Administrator 20d5398825 Daily bump.
From-SVN: r57877
2002-10-07 07:18:06 +00:00
Kaveh R. Ghazi 04f327f31c Makefile.am (all-multi): Fix multilib parallel build.
boehm-gc:
	* Makefile.am (all-multi): Fix multilib parallel build.
libf2c:
	* Makefile.in (all): Fix multilib parallel build.
libffi:
	* Makefile.am (all-multi): Fix multilib parallel build.
libiberty:
	* Makefile.in (all): Fix multilib parallel build.
libjava:
	* Makefile.am (all-multi): Fix multilib parallel build.
libobjc:
	* Makefile.in (all): Fix multilib parallel build.
libstdc++-v3:
	* Makefile.am (all-multi): Fix multilib parallel build.
zlib:
	* Makefile.am (all-multi): Fix multilib parallel build.

From-SVN: r57874
2002-10-07 04:37:05 +00:00
Richard Henderson 83efa2b59b * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
From-SVN: r57872
2002-10-06 21:21:05 -07:00
Roger Sayle 05baa28de0 re PR rtl-optimization/6627 (-fno-align-functions regression from 2.95)
PR optimization/6627
	* toplev.c (force_align_functions_log): New global variable.
	* flags.h (force_align_functions_log): Add extern prototype.
	* varasm.c (assemble_start_function): Use it to force minimum
	function alignment.
	* config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
	minimum function alignment to one byte.
	(TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
	the least significant bit of vtable member function pointers.
	* tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
	here from cp/cp-tree.h.

	* cp/cp-tree.h (enum ptrmemfunc_vbit_where_t): Delete definition
	from here, and move it to tree.h.
	* cp/decl.c (cxx_init_decl_processing): If storing the vbit
	in function pointers, ensure that force_align_functions_log
	is atleast one.

	* java/lang.c (java_init): If storing the vbit in function
	pointers, ensure that force_align_functions_log is atleast
	one to aid compatability with g++ vtables.

From-SVN: r57869
2002-10-06 23:02:12 +00:00
Neil Booth f2e03a98d3 * gcc.dg/cpp/_Pragma4.c: New test.
From-SVN: r57863
2002-10-06 09:46:45 +00:00
Neil Booth 8afab8c678 Debian BTS Bug #157416
Debian BTS Bug #157416
	* cpplib.c (destringize_and_run): Kludge around getting
	tokens from in-progress macros.
	(_cpp_do__Pragma): Simplify.

From-SVN: r57862
2002-10-06 09:12:19 +00:00
Frank Ch. Eigler 5806ca248e * Forgotten.
From-SVN: r57861
2002-10-06 09:02:41 +00:00
Frank Ch. Eigler afc7e0871b * cppinit.c (init_standard_includes, parse_option): Use strncmp.
From-SVN: r57860
2002-10-06 08:21:21 +00:00
GCC Administrator 661dcc3af1 Daily bump.
From-SVN: r57855
2002-10-06 07:16:25 +00:00
Jakub Jelinek 85f52bb4dd gcc.c (set_multilib_dir): Don't access *end.
* gcc.c (set_multilib_dir): Don't access *end.
	Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
	(print_multilib_info): Don't show paths starting with ".:".
	* genmultilib: Add new option, "yes" if multilibs are enabled.
	Update comments.  If multilibs not enabled, print .:${osdirout}
	for each directory.  If multilibs are enabled, always print
	${dirout}:${osdirout}, even if the two are the same.
	* Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
	Pass all MULTILIB_* variables to genmultilib even if
	--disable-multilib but MULTILIB_OSDIRNAMES is not empty.

	* gcc.c (print_multi_os_directory): New variable.
	(option_map): Support --print-multi-os-directory.
	(struct prefix_list): Add os_multilib field.
	(multilib_os_dir): New variable.
	(static_specs): Add multilib_options.
	(find_a_file): Add multilib argument.  Search in GCC or OS multilib
	subdirs if non-zero.
	(read_specs, execute): Update callers.
	(find_file): Likewise.  Don't prefix name with multilib_dir, instead
	pass 1 as multilib option.
	(display_help): Include --print-multi-os-directory.
	(add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
	(process_command): Update callers.  Handle --print-multi-os-directory.
	(do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
	set.
	(main): Update find_a_file and add_prefix callers.
	Handle print_multi_os_directory.
	(struct mdswitchstr): New.
	(mdswitches, n_mdswitches): New variables.
	(used_arg): Add MULTILIB_DEFAULT switches too if they are not
	present on the command line nor their mutually incompatible
	switches.
	(default_arg): Optimize.
	(set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
	array.
	(print_multilib_info): Only print GCC multilib dir name, not OS
	multilib dirname.
	* genmultilib: Add osdirnames parameter.  Output multilib_options
	variable.  If osdirnames is specified, output dirnames as
	dirname:osdirname.
	* mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
	and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
	to compute libgcc_s soname and install path.
	* Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
	SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
	(s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
	argument.

	* config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
	(SHLIB_SLIBDIR_SUFFIXES): Remove.
	* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
	ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
	(STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
	and -m64.
	* config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
	(SHLIB_SLIBDIR_SUFFIXES): Remove.
	* config/sparc/sol2-bi.h (STARTFILE_SPEC32, STARTFILE_SPEC64): Remove.
	(STARTFILE_ARCH_SPEC): Remove.
	(STARTFILE_SPEC): Add values-X*.o here.
	* config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
	(SHLIB_SLIBDIR_SUFFIXES): Remove.
	* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
	(STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between m32 and
	!m32.
	* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
	(SHLIB_SLIBDIR_SUFFIXES): Remove.

From-SVN: r57853
2002-10-05 23:32:10 +02:00
Neil Booth 214935b425 re PR preprocessor/8120 (cpp concatenation doesn't work as described)
PR preprocessor/8120
	* doc/cpp.texi: Update documentation of bad use of ##.

From-SVN: r57842
2002-10-05 09:36:28 +00:00
GCC Administrator 2eec644851 Daily bump.
From-SVN: r57836
2002-10-05 07:16:24 +00:00
H.J. Lu f287d171bd pt.c (tsubst_decl, [...]): Back out the last change.
2002-10-04  H.J. Lu  (hjl@gnu.org)

	* pt.c (tsubst_decl, case VAR_DECL): Back out the last change.
	(tsubst_expr, case DECL_STMT): Likewise.

From-SVN: r57825
2002-10-04 11:27:08 -07:00
GCC Administrator 64597e4296 Daily bump.
From-SVN: r57806
2002-10-04 07:16:27 +00:00
Mark Mitchell 9b629e2592 re PR c++/7754 (ICE SIGSEGV on union with template parameter)
PR c++/7754
	* decl2.c (finish_anon_union): Do not expand anonymous unions when
	procesing template functions.
	* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
	type. Call layout_decl.
	(tsubst_expr, case DECL_STMT): Handle anonymous unions.

From-SVN: r57803
2002-10-04 05:25:15 +00:00
No Author 74b0b2debe This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57802
2002-10-04 05:25:15 +00:00
Jan Hubicka 271d721cab * i386.h (CPP_SPECS): fix defines for -msse, -msse2, -mpentium2,3.
From-SVN: r57789
2002-10-03 21:16:11 +00:00
Jan Hubicka 0f500bdc5c toplev.c (rest_of_compilation): Dump loops before clobbering the structure.
* toplev.c (rest_of_compilation): Dump loops before clobbering
	the structure.

        * expr.c (force_operand): Use expand_simple_* to handle more
        cases.

	* i386.c (q_regs_operand): Use ANY_QI_REG_P.

	* i386.c (override_options): Fix stack alignment.
	(classify_argument): Handle variable sized types.
	(ix86_expand_int_movcc): Avoid RTL sharing problem.

	* i386.md (prefetch_sse_rex, prefetch_3dnow_rex): New.
	(prefetch): Properly handle 64bit case.

	* i386.c (classify_argument): Properly compute word size of the analyzed object.

	* jump.c (reg_or_subregno): New function.
	* rtl.h (reg_or_subregno): Declare
	* unroll.c (find_splittable_givs): Handle subregs.

        Richard Sandiford  <rsandifo@redhat.com>:

        * expr.c (force_operand): Fix reversed move.

	Andreas Jaeger  <aj@suse.de>:

	* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): New.

	Janis Johnson  <janis187@us.ibm.com>:

	* loop.c (emit_prefetch_instructions): Several small fixes.

From-SVN: r57784
2002-10-03 19:40:46 +00:00
GCC Administrator 1f4b1109fd Daily bump.
From-SVN: r57767
2002-10-03 07:16:25 +00:00
Mark Mitchell 20b632e5f1 re PR c++/7188 (Segfault with template class and recursive (incorrect) initalizer list.)
PR c++/7188.
	* init.c (expand_member_init): Allow a FIELD_DECL to be passed in
	directly.
	* pt.c (tsubst_initializer_list): Use expand_member_init.

	PR c++/7188.
	* testsuite/g++.dg/template/meminit1.C: New test.

From-SVN: r57763
2002-10-03 06:55:01 +00:00
No Author 1ace39b247 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57762
2002-10-03 06:55:01 +00:00
J"orn Rennecke 39fca41b5e loop.c (scan_loop): Don't mark separate insns out of a libcall for moving.
Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * loop.c (scan_loop): Don't mark separate insns out of a libcall
        for moving.
        (move_movables): Abort if we see the first insn of a libcall.

Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * gcc.c-torture/execute/loop-14.c: New test.

From-SVN: r57744
2002-10-02 18:08:00 +00:00
GCC Administrator 3033a29c9b Daily bump.
From-SVN: r57732
2002-10-02 07:16:28 +00:00
David S. Miller 1c4e00e262 re PR middle-end/7151 ([sparc] ICE when compiling for UltraSPARC)
2002-09-30  David S. Miller  <davem@redhat.com>

	PR middle-end/7151
	* config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
	(movdi reg/reg split): Match only on sparc32, and v9 when int regs.

From-SVN: r57722
2002-10-01 20:47:05 -07:00
David S. Miller 5765b16f48 reload1.c (gen_reload:SECONDARY_MEMORY_NEEDED): Handle SUBREG.
2002-10-01  David S. Miller  <davem@redhat.com>
	    Jan Hubicka <jh@suse.cz>

	* reload1.c (gen_reload:SECONDARY_MEMORY_NEEDED): Handle SUBREG.
	* reload.c (push_reload:SECONDARY_MEMORY_NEEDED): Likewise.

Co-Authored-By: Jan Hubicka <jh@suse.cz>

From-SVN: r57721
2002-10-01 20:40:35 -07:00
Phil Edwards e2e4a99337 Makefile.am (check-abi): Add @ to rule.
2002-10-01  Phil Edwards  <pme@gcc.gnu.org>

	* Makefile.am (check-abi):  Add @ to rule.
	* Makefile.in:  Regenerated.

From-SVN: r57716
2002-10-02 01:06:40 +00:00
Phil Edwards b84f424c84 re PR libstdc++/8096 (deque::at() throws std::range_error instead of std::out_of_range)
2002-10-01  Phil Edwards  <pme@gcc.gnu.org>

	PR libstdc++/8096
	* include/bits/stl_deque.h (deque::_M_range_check):  Throw
	out_of_range, not range_error.

From-SVN: r57714
2002-10-02 00:58:52 +00:00
GCC Administrator 0545e401ca Daily bump.
From-SVN: r57677
2002-10-01 07:16:24 +00:00
Bob Wilson 93c6fefdff xtensa.h (REG_CLASS_NAMES, [...]): Add new RL_REGS register class.
* config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
        Add new RL_REGS register class.
        (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
        Call xtensa_preferred_reload_class for both input and output reloads.
        * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
        (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
        instead of either AR_REGS or GR_REGS classes.
        (xtensa_secondary_reload_class): Use new RL_REGS class.
        * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.

From-SVN: r57667
2002-09-30 20:34:09 +00:00
John David Anglin fde6f62282 [multiple changes]
2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.

2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
	at head.
	(remove_dup_nonsys_dirs): New function.
	(remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
	(merge_include_chains): Remove non-system include directories from
	quote and bracket include chains when they duplicate equivalent system
	directories.
	* doc/cpp.texi (-I): Update.
	* doc/cppopts.texi (-I): Update.
	* doc/install.texi (--with-local-prefix): Further document usage of
	this option.
	* doc/invoke.texi (-I): Update.

From-SVN: r57658
2002-09-30 17:35:45 +00:00
Richard Earnshaw e79babc306 arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
* arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
(MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
that we have a SImode access, and only then if reload hasn't completed;
for all other cases, use LO_REGS.

From-SVN: r57645
2002-09-30 11:54:00 +00:00
GCC Administrator dda66c57c2 Daily bump.
From-SVN: r57639
2002-09-30 07:16:32 +00:00
David S. Miller 39853e1882 linux64.h (STARTFILE_SPEC32, [...]): Kill hardcoded paths.
2002-09-29  David S. Miller  <davem@redhat.com>

	* config/sparc/linux64.h (STARTFILE_SPEC32, ENDFILE_SPEC32): Kill
	hardcoded paths.

From-SVN: r57636
2002-09-29 22:45:04 -07:00
GCC Administrator 6b59ac48b2 Daily bump.
From-SVN: r57618
2002-09-29 07:16:25 +00:00
Paolo Carlini e7423e2707 locale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased (oct or hex) zero.
2002-09-28  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Deal correctly with grouped, showbased (oct or hex) zero.
	* testsuite/22_locale/num_put_members_char.cc: Add test05.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.

From-SVN: r57615
2002-09-28 15:30:50 +00:00
GCC Administrator 779f74f96b Daily bump.
From-SVN: r57604
2002-09-28 07:16:23 +00:00
Zack Weinberg d2603a9647 re PR preprocessor/8055 (PATCH: cpp0 dies with SIG11 when building FreeBSD kernel)
2002-09-27  Alexander N. Kabaev <ak03@gte.com>

	PR preprocessor/8055
	* cppmacro.c (stringify_arg): Do not overflow the buffer
	with the terminating NUL when the argument to be stringified
	has no tokens.
	* gcc.dg/cpp/20020927-1.c: New.

From-SVN: r57601
2002-09-28 00:32:16 +00:00
No Author 46709fe1ad This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57600
2002-09-28 00:32:16 +00:00
GCC Administrator 061baeb6f2 Daily bump.
From-SVN: r57581
2002-09-27 07:16:52 +00:00
David S. Miller 70940978a0 trunctfdf.c: New.
2002-09-26  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/compile/trunctfdf.c: New.

From-SVN: r57579
2002-09-26 21:15:32 -07:00
No Author 1dac9e1ec0 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57578
2002-09-27 04:15:32 +00:00
David S. Miller 1822f38b5f Add missing PR number to changelog entry.
From-SVN: r57575
2002-09-26 21:10:52 -07:00
David S. Miller 915ecdf20e re PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long double and optimization)
2002-09-26  David S. Miller  <davem@redhat.com>

	PR optimization/7335
	* calls.c (emit_library_call_value_1): Passing args by reference
	converts a CONST function into a PURE one.

From-SVN: r57574
2002-09-26 21:09:07 -07:00
Kaveh R. Ghazi 9f233c0328 * lib/target-supports.exp (check_weak_available): Handle solaris2.
From-SVN: r57570
2002-09-27 02:13:06 +00:00
Richard Henderson 555b7a7234 sched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.
* sched-deps.c (sched_analyze_insn): Make clobber insns depend
        on call insns.

From-SVN: r57568
2002-09-26 18:13:28 -07:00
No Author 57268cd711 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57567
2002-09-27 01:13:28 +00:00
Alan Modra 72c2c436f0 * gcc.c-torture/execute/loop-15.c: New.
From-SVN: r57560
2002-09-27 08:42:17 +09:30
No Author 9cde28e503 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57559
2002-09-26 23:12:17 +00:00
Alan Modra bb4a668c09 doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.
* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
	by absolute loop increment, not loop increment.

From-SVN: r57558
2002-09-27 08:40:38 +09:30
David S. Miller cb2af28ec8 re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
	extend.

From-SVN: r57537
2002-09-26 03:20:03 -07:00
David S. Miller 685ac1679b re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* gcc.c-torture/execute/shiftdi.c: New test.

From-SVN: r57536
2002-09-26 03:19:11 -07:00
No Author 52d3264584 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57535
2002-09-26 10:19:11 +00:00
GCC Administrator d996fdac59 Daily bump.
From-SVN: r57527
2002-09-26 07:16:24 +00:00
Adam Megacz a8f3e54786 Fixed misformatted ChangeLog entry
From-SVN: r57506
2002-09-25 17:56:43 +00:00
Phil Edwards e148d48c24 Bulk documentation merge (copy) from trunk.
2002-09-25  Phil Edwards  <pme@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/run_doxygen, docs/html/Makefile, docs/html/abi.txt,
	docs/html/configopts.html, docs/html/documentation.html,
	docs/html/explanations.html, docs/html/install.html,
	docs/html/makedoc.awk, docs/html/17_intro/C++STYLE,
	docs/html/17_intro/RELEASE-NOTES, docs/html/17_intro/contribute.html,
	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
	docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
	docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
	docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
	docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.

From-SVN: r57504
2002-09-25 17:52:22 +00:00
GCC Administrator a7a6325add Daily bump.
From-SVN: r57489
2002-09-25 07:16:33 +00:00
GCC Administrator 1f94cb618d Daily bump.
From-SVN: r57463
2002-09-24 07:16:27 +00:00
Adam Megacz 45f913d2ce 2002-08-23 Adam Megacz <adam@xwt.org>
* Removed extraneous ABORT()

From-SVN: r57459
2002-09-24 00:59:04 +00:00
GCC Administrator 4f5f730edd Daily bump.
From-SVN: r57427
2002-09-23 07:16:31 +00:00
GCC Administrator 49fe721812 Daily bump.
From-SVN: r57401
2002-09-22 07:16:26 +00:00
Phil Edwards f0242cf8f4 abi_check.cc: Pull shell fragments out into...
2002-09-21  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/abi_check.cc:  Pull shell fragments out into...
	* config/abi/extract_symvers:  ...here.  New file.
	* Makefile.am (check_abi):  Change to match.
	(new-abi-baseline):  New target.
	* Makefile.in:  Regenerated.

From-SVN: r57396
2002-09-21 19:17:56 +00:00
GCC Administrator f34eded1b8 Daily bump.
From-SVN: r57382
2002-09-21 07:16:23 +00:00
Jeroen Dobbelaere 47c88244ec Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
* config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
Add clobber of the condition code register.

From-SVN: r57348
2002-09-20 14:01:24 +00:00
GCC Administrator 1ade412360 Daily bump.
From-SVN: r57338
2002-09-20 07:16:22 +00:00
Hans-Peter Nilsson 58b98d067d * gcc.c-torture/execute/ieee/mzero3.c: New test.
From-SVN: r57334
2002-09-20 03:09:39 +00:00
No Author 6ca3e01a6a This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57333
2002-09-20 03:09:39 +00:00
GCC Administrator 5bcbe059b5 Daily bump.
From-SVN: r57297
2002-09-19 07:16:22 +00:00
Richard Earnshaw 7722db8c6b re PR rtl-optimization/7967 (optimization produces wrong code (ARM))
PR optimization/7967
* arm.md (ne_zeroextractsi): Add clobber of the condition code
register.

From-SVN: r57279
2002-09-18 14:05:38 +00:00
GCC Administrator 62292e0008 Daily bump.
From-SVN: r57269
2002-09-18 07:16:25 +00:00
Richard Henderson 8f39bfa011 sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove RTX_UNCHANGING_P markers for successful tail-recursive replacement.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
        RTX_UNCHANGING_P markers for successful tail-recursive replacement.

From-SVN: r57259
2002-09-17 14:20:26 -07:00
GCC Administrator 03436a6161 Daily bump.
From-SVN: r57237
2002-09-17 07:16:36 +00:00
Richard Henderson dfaade4186 re PR rtl-optimization/7515 (invalid inlining)
PR opt/7515
        * c-objc-common.c (c_cannot_inline_tree_fn): Don't auto-inline
        functions that don't bind locally.

From-SVN: r57230
2002-09-16 22:01:53 -07:00
Alan Modra eec7d8a4d5 backport: re PR rtl-optimization/7130 (miscompiled code for gcc-3.1 on powerpc-unknown-linux-gnu with -funroll-all-loops)
Merge from mainline.
	2002-07-20  Alan Modra  <amodra@bigpond.net.au>
	PR optimization/7130
	* loop.h (struct loop_info): Add "preconditioned".
	* unroll.c (unroll_loop): Set it.
	* doloop.c (doloop_modify_runtime): Correct count for unrolled loops.

	2002-06-24  Alan Modra  <amodra@bigpond.net.au>
	PR optimization/6984
	* doloop.c (doloop_valid_p): Correct comment.
	(doloop_modify_runtime <abs_inc != 1>): Simplify.
	(doloop_modify_runtime <do-while>): Don't emit code when NE.

From-SVN: r57225
2002-09-17 12:55:06 +09:30
Loren J. Rittle 2d605ca8f5 stl_rope.h (rope<>): Qualify dependent names with `typename'.
libstdc++/7922
	* include/ext/stl_rope.h (rope<>): Qualify dependent names
	with `typename'.

From-SVN: r57224
2002-09-17 02:21:37 +00:00
Benjamin Kosnik a26fb9510f codecvt.h: Remove __s.
2002-09-16  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/codecvt.h: Remove __s.
	* config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt
	usage, substitute _S_c_locale.

From-SVN: r57219
2002-09-17 00:51:50 +00:00
Jeff Law 673587ca43 * libgcc2.c: Do not include machmode.h.
From-SVN: r57218
2002-09-16 16:51:12 -06:00
Jason Merrill 9768605441 winnt.c (ix86_handle_dll_attribute): Set DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
* config/i386/winnt.c (ix86_handle_dll_attribute): Set
	DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
	(i386_pe_mark_dllimport): Not here.

Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>

From-SVN: r57217
2002-09-16 22:24:43 +00:00
GCC Administrator 45a608d0ec Daily bump.
From-SVN: r57182
2002-09-16 07:16:40 +00:00
GCC Administrator 721ee2887f Daily bump.
From-SVN: r57155
2002-09-15 07:16:25 +00:00
Hans-Peter Nilsson fee30fe9c7 target.c (ffetarget_memcpy_): Don't test nonexistent HOST_BYTES_BIG_ENDIAN, HOST_BITS_BIG_ENDIAN.
* target.c (ffetarget_memcpy_): Don't test nonexistent
	HOST_BYTES_BIG_ENDIAN, HOST_BITS_BIG_ENDIAN.  Check
	HOST_WORDS_BIG_ENDIAN against both WORDS_BIG_ENDIAN and
	BYTES_BIG_ENDIAN.

From-SVN: r57150
2002-09-14 20:27:12 +00:00
Kazu Hirata 66031d7a4b * MAINTAINERS: Update my email address.
From-SVN: r57141
2002-09-14 12:23:25 +00:00
Stephane Carrez c279599b38 * MAINTAINERS: Update my email address.
From-SVN: r57139
2002-09-14 14:09:58 +02:00
Stephane Carrez 78b20ba112 m68hc11.md ("movdi_internal"): Allow any offsetable memory operand when source is 0 (K constraint).
* config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
	memory operand when source is 0 (K constraint).
	("movsi_internal"): Likewise.
	("movdf_internal"): Likewise.
	("movsf_internal"): Likewise.

From-SVN: r57137
2002-09-14 14:06:58 +02:00
GCC Administrator c1910f9917 Daily bump.
From-SVN: r57129
2002-09-14 07:16:24 +00:00
Alan Modra 37d2be3e48 backport: tm.texi (DBX_OUTPUT_NFUN): Describe.
Merge from mainline.
	2002-09-14  Alan Modra  <amodra@bigpond.net.au>
	* doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
	* dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
	* config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.

	2002-08-27  David Edelsohn  <edelsohn@gnu.org>
	* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.

	2002-08-02  Alan Modra  <amodra@bigpond.net.au>
	* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
	(DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
	* config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
	HOST_BITS_PER_WIDE_INT == 64.

	2002-07-27  Alan Modra  <amodra@bigpond.net.au>
	* config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
	label reference when NO_PROFILE_COUNTERS.

	2002-07-11  Alan Modra  <amodra@bigpond.net.au>
	* config/rs6000/linux64.h (ASM_SPEC): Define.

From-SVN: r57124
2002-09-14 09:56:39 +09:30
Alan Modra bcee7ede59 re PR rtl-optimization/7120 (Run once loop should *always* be unrolled)
2002-06-30  Alan Modra  <amodra@bigpond.net.au>
	PR optimization/7120
	* unroll.c (loop_iterations): Handle EQ loops.

From-SVN: r57100
2002-09-13 17:34:22 +09:30
GCC Administrator 9fd2da54cb Daily bump.
From-SVN: r57095
2002-09-13 07:16:23 +00:00
Alan Modra 04668773ae PR other/7114, target/5967
2002-07-18  Alan Modra  <amodra@bigpond.net.au>
	PR other/7114, target/5967
	* config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
	adjustments to first_reg for profiling case.
	(output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
	Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
	Save static chain reg to sp + 12 on ABI_AIX_NODESC.
	* config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
	(ASM_OUTPUT_REG_POP): Define.
	* config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
	(ASM_OUTPUT_REG_POP): Undef.

From-SVN: r57093
2002-09-13 16:23:05 +09:30
Alan Modra 42526a4a8f backport: PR c/7150, target/7380
Merge from mainline.
	2002-07-24  Alan Modra  <amodra@bigpond.net.au>
	PR c/7150, target/7380
	* config/rs6000/rs6000.md: Remove scratch reg on insns using
	addze and similar (plus (comparison r1 r2) r3) insns.  Add
	missing scratch reg in one case.  Formatting fixes.

From-SVN: r57091
2002-09-13 14:52:59 +09:30
Benjamin Kosnik c8be5fee1f [multiple changes]
2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>

	* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
	directory.
	* libmath/Makefile.in: Regenerate.
	* src/Makefile.am: Tweak comment.
	* src/Makefile.in: Regenerate.

	* config/locale/gnu/c_locale.h: Remove warnings.
	Inject __uselocale into __gnu_cxx.
	* config/locale/generic/c_locale.h: Match.

2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (__convert_from_v): Remove.
	* config/locale/gnu/c_locale.h (__convert_from_v): Add.
	* config/locale/generic/c_locale.h (__convert_from_v): Add.

2002-09-12  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (__convert_from_v):
        Use __uselocale instead of setlocale for glibc 2.3+.

From-SVN: r57088
2002-09-13 02:25:49 +00:00
Alan Modra 5c086c2639 rs6000.c (rs6000_emit_load_toc_table): Remove "if" nesting.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
	nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
	* config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.

From-SVN: r57087
2002-09-13 11:31:48 +09:30
Benjamin Kosnik f996ef8923 Makefile.am (sources): Edit.
2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am (sources): Edit.
	(target_sources): New.
	(target_sources_extra): New.
	* src/Makefile.in: Regenerate.
	* acinclude.m4: Set CCODECVT_CC.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/locale.cc: Move ctype definitions...
	* src/ctype.cc: ...here. New file.
	* src/locale.cc: Move codecvt definitions...
	* src/codecvt.cc: ...here.
	* config/generic/codecvt_members.cc: ...and here.
	* config/gnu/codecvt_members.cc: ...and here.
	* include/bits/codecvt.h: Tweak.
	* include/bits/locale_facets: Tweak.

	* src/bitset.cc: Correct license text.
	* src/concept-inst.cc: Same.
	* src/strstream.cc: Same.
	* src/vterminate.cc: Same.

From-SVN: r57085
2002-09-13 01:21:42 +00:00
No Author a017a8579b This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57084
2002-09-13 01:21:42 +00:00
Janis Johnson 986394ac18 [multiple changes]
2002-09-12  Janis Johnson  <janis187@us.ibm.com>

	* doc/compat.texi: New file with new chapter, Binary Compatibility.

and this, which should have been added yesterday:

2002-09-11  Janis Johnson  <janis187@us.ibm.com>

	* Makefile.in (TEXI_GCC_FILES): Add compat.texi.
	* doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
	include its file, compat.texi.
	* doc/trouble.texi (Interoperation): Update information about C++ ABI
	issues.
	* doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
	(-fpcc-struct-return, -freg-struct-return, -fshort-enums,
	-fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
	Warn that these options can break ABI compatibility.
	(Many places): Fix overfull hboxes.

	* doc/extend.texi: Fix a broken link; fix overfull hboxes.
	* doc/install.texi: Fix a typo, some formatting directives, and
	overfull hboxes.
	* doc/c-tree.texi: Fix overfull hboxes.
	* doc/cppopts.texi: Ditto.
	* doc/makefile.texi: Ditto.
	* doc/rtl.texi: Ditto.
	* doc/standards.texi: Ditto.
	* doc/tm.texi: Ditto.

From-SVN: r57069
2002-09-12 16:46:12 +00:00
Jason Merrill 1180597503 calls.c (store_one_arg): Use size_in_bytes to determine the amount of space to push.
* calls.c (store_one_arg): Use size_in_bytes to determine the
        amount of space to push.

From-SVN: r57063
2002-09-12 09:53:39 -04:00
Jakub Jelinek 312b329e16 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
From-SVN: r57062
2002-09-12 15:45:53 +02:00
GCC Administrator 79f9bbebb3 Daily bump.
From-SVN: r57052
2002-09-12 07:16:24 +00:00
Alan Modra 333f9a9753 emit-rtl.c (set_mem_size): New function.
* emit-rtl.c (set_mem_size): New function.
	* expr.h (set_mem_size): Declare.
	* config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
	(expand_block_move): Instead, use adjust_address and
	replace_equiv_address to generate proper aliasing info.
	Move common code out of conditionals.  Localize vars.

From-SVN: r57048
2002-09-12 11:57:14 +09:30
Alexander Kabaev eb53eed587 Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
Wed Apr 24 13:48:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
        * loop.c (canonicalize_condition): Use gen_int_mode.

From-SVN: r57040
2002-09-11 15:04:05 -07:00
Janis Johnson 685e966329 Makefile.in (TEXI_GCC_FILES): Add compat.texi.
2002-09-11  Janis Johnson  <janis187@us.ibm.com>

	* Makefile.in (TEXI_GCC_FILES): Add compat.texi.
	* doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
	include its file, compat.texi.
	* doc/compat.texi: New file with new chapter, Binary Compatibility.
	* doc/trouble.texi (Interoperation): Update information about C++ ABI
	issues.
	* doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
	(-fpcc-struct-return, -freg-struct-return, -fshort-enums,
	-fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
	Warn that these options can break ABI compatibility.
	(Many places): Fix overfull hboxes.

	* doc/extend.texi: Fix a broken link; fix overfull hboxes.
	* doc/install.texi: Fix a typo, some formatting directives, and
	overfull hboxes.
	* doc/c-tree.texi: Fix overfull hboxes.
	* doc/cppopts.texi: Ditto.
	* doc/makefile.texi: Ditto.
	* doc/rtl.texi: Ditto.
	* doc/standards.texi: Ditto.
	* doc/tm.texi: Ditto.

From-SVN: r57033
2002-09-11 16:40:29 +00:00
GCC Administrator ed3bd43853 Daily bump.
From-SVN: r57024
2002-09-11 07:16:22 +00:00
GCC Administrator ed69156852 Daily bump.
From-SVN: r56996
2002-09-10 07:16:29 +00:00
Danny Smith 1002cb2b6b locale_facets.tcc (__convert_from_v): Replace strdup with ISO malloc and strcpy.
* include/bits/locale_facets.tcc (__convert_from_v):
	Replace strdup with ISO malloc and strcpy.

From-SVN: r56992
2002-09-10 02:51:49 +00:00
Benjamin Kosnik e8597b0b8f misc-inst.cc: Remove some instantiations.
2002-09-09  Benjamin Kosnik  <bkoz@redhat.com>

	* src/misc-inst.cc: Remove some instantiations.

	* testsuite/abi_check.cc: Make output results more verbose.

	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.

From-SVN: r56982
2002-09-09 20:58:40 +00:00
GCC Administrator 4be00f21a0 Daily bump.
From-SVN: r56963
2002-09-09 07:16:21 +00:00
Alan Modra 280d9f0ed0 reload.c (find_reloads <p constraint>): Pass operand_mode to find_reloads_address.
* reload.c (find_reloads <p constraint>): Pass operand_mode to
	find_reloads_address.

From-SVN: r56947
2002-09-08 18:40:12 +09:30
GCC Administrator 053e6ccdfd Daily bump.
From-SVN: r56940
2002-09-08 07:16:24 +00:00
Scott Snyder 0a34025fe6 re PR target/7374 (__builtin_fabsl broken on alpha)
2002-09-07  Scott Snyder  <snyder@fnal.gov>

	PR target/7374
	* config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.

From-SVN: r56938
2002-09-08 05:30:19 +00:00
Richard Henderson 2b87480a6c Mark PR.
From-SVN: r56931
2002-09-07 20:45:16 -07:00
Glen Nakamura 4ef6b36773 sched-deps.c (sched_analyze_insn): Make sure to add insn to reg_last->sets after flushing the dependency lists to...
* sched-deps.c (sched_analyze_insn): Make sure to add insn
        to reg_last->sets after flushing the dependency lists to guarantee
        that subsequent clobbers will be dependent on it.

From-SVN: r56930
2002-09-07 20:43:38 -07:00
Jan Hubicka 496f36ad08 com.c (ffe_type_for_mode): Handle long double.
2002-09-07  Jan Hubicka  <jh@suse.cz>

        * com.c (ffe_type_for_mode): Handle long double.

From-SVN: r56922
2002-09-07 21:18:46 +02:00
Jakub Jelinek 8a2a643e41 messages_members.cc: Add specialization for messages<wchar_t>.
* config/locale/generic/messages_members.cc: Add specialization for
	messages<wchar_t>.
	* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.

From-SVN: r56919
2002-09-07 21:02:21 +02:00
GCC Administrator 553f52efa2 Daily bump.
From-SVN: r56910
2002-09-07 07:16:27 +00:00
Alan Modra 0125222b44 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
From-SVN: r56908
2002-09-07 11:04:28 +09:30
Jakub Jelinek 18540ed60c configure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.
* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
	sparc targets.
	* config/cpu/sparc/bits/atomicity.h: New file.
	* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
	* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.

[[Split portion of a mixed commit.]]

From-SVN: r56897.1
2002-09-06 20:32:08 +02:00
Jakub Jelinek 7538e32989 configure.target: Use cpu_include_dir="config/cpu/sparc" for all sparc targets.
* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
	sparc targets.
	* config/cpu/sparc/bits/atomicity.h: New file.
	* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
	* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.

From-SVN: r56895
2002-09-06 20:11:57 +02:00
Jakub Jelinek d6c24b7290 ctype_noninline.h [...]: Remove using _C_legacy::__ctype_*.
* config/os/gnu-linux/bits/ctype_noninline.h
	[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
	(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
	_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
	and return __ctype_b.
	(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
	_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
	initialize using __ctype_{b,tolower,toupper}.
	(ctype<char>::ctype(const mask*, bool, size_t)): If
	_GLIBCPP_C_LOCALE_GNU, initialize using
	_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
	switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.

From-SVN: r56892
2002-09-06 19:54:17 +02:00
Jakub Jelinek d05c335097 configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9 unconditionally when gcc_cv_as_flags64 checks are gone.
* configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
	unconditionally when gcc_cv_as_flags64 checks are gone.
	* configure: Rebuilt.

From-SVN: r56879
2002-09-06 12:58:48 +02:00
GCC Administrator 02cb8efdd7 Daily bump.
From-SVN: r56874
2002-09-06 07:16:22 +00:00
Loren J. Rittle 9f3ea9d8ce Move from mainline.
* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
	* src/Makefile.in: Regenerate (explicitly with --cygnus option).
	* testsuite/Makefile.in: Likewise.

From-SVN: r56872
2002-09-06 02:37:44 +00:00
Alan Modra c48c0fdf9d * gcc.c-torture/execute/extzvsi.c: New test.
From-SVN: r56870
2002-09-06 08:35:04 +09:30
No Author e68aff5003 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56869
2002-09-05 23:05:04 +00:00
Paolo Carlini ebada479f5 re PR libstdc++/7811 (default locale not taken from environment)
2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
	    Roland McGrath  <roland@redhat.com>

	PR libstdc++/7811
	* src/locale.cc (locale::locale(__s)): Use getenv instead
	of setenv for the environment locale.
	* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.

Co-Authored-By: Roland McGrath <roland@redhat.com>

From-SVN: r56866
2002-09-05 21:35:27 +00:00
No Author 1f085cdbab This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56852
2002-09-05 16:36:03 +00:00
Jakub Jelinek 4faf07d3d0 ia64-unknown-linux-gnu: Add.
* config/abi/ia64-unknown-linux-gnu: Add.
	* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
	* config/abi/alphaev67-unknown-linux-gnu: Add.
	* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.

From-SVN: r56849
2002-09-05 18:28:16 +02:00
Phil Edwards 26bec0b281 Makefile.am: Use LD_RUN_PATH when linking abi_check.
2002-09-05  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
	Fix spelling in comment.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
	than 'quote' and 'bslash'.

From-SVN: r56846
2002-09-05 16:10:08 +00:00
Jakub Jelinek bc35178929 ctype_members.cc (ctype<wchar_t>::do_widen(char)): Switch to _M_c_locale_ctype around btowc call.
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
	Switch to _M_c_locale_ctype around btowc call.
	(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
	Switch to _M_c_locale_ctype around mbsrtowcs call.
	(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
	wctob call.
	(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
	Switch to _M_c_locale_ctype around wcsrtombs call.

From-SVN: r56840
2002-09-05 09:53:14 +02:00
Jakub Jelinek dd4e05b75e monetary_members.cc (moneypunct<wchar_t, [...]): Use __uselocale instead of setlocale for glibc 2.3.
* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
	__uselocale instead of setlocale for glibc 2.3.

From-SVN: r56838
2002-09-05 09:50:45 +02:00
Jakub Jelinek 8c61f70ea9 c++locale_internal.h: New header.
* config/locale/generic/c++locale_internal.h: New header.
	* config/locale/gnu/c++locale_internal.h: New header.
	* config/locale/gnu/c_locale.cc: Include it.
	* config/locale/gnu/collate_members.cc: Include it.
	* config/locale/gnu/ctype_members.cc: Include it.
	* config/locale/gnu/messages_members.cc: Include it.
	* config/locale/gnu/monetary_members.cc: Include it.
	* config/locale/gnu/numeric_members.cc: Include it.
	* config/locale/gnu/time_members.cc: Include it.
	(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
	glibc.
	(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
	C locale.
	* acinclude.m4: Include string.h when testing strcoll_l.
	For glibc 2.3 provide __-prefixed prototypes.
	(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
	* aclocal.m4, configure: Rebuilt.

	* include/bits/locale_facets.h: Add declaration of specialization
	here.
	* config/locale/gnu/messages_members.cc: Add specialization for
	messages<wchar_t>.
	* config/locale/gnu/messages_members.h: Remove generic definition
	of do_get.

From-SVN: r56836
2002-09-05 09:45:12 +02:00
GCC Administrator 3c7c77aee0 Daily bump.
From-SVN: r56831
2002-09-05 07:16:22 +00:00
Eric Botcazou 140911c0ef * optabs.c (expand_binop): Convert CONST_INTs in all cases.
From-SVN: r56817
2002-09-04 15:29:13 -07:00
No Author cc85c428cd This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56816
2002-09-04 22:29:13 +00:00
Jason Thorpe d3a806fe12 * config/sparc/t-netbsd64: Disable multilib for now.
From-SVN: r56812
2002-09-04 21:34:47 +00:00
Jakub Jelinek 404d210010 * gcc.dg/typeof-2.c: New test.
From-SVN: r56791
2002-09-04 10:57:31 +02:00
Jakub Jelinek a2122b2815 decl.c (start_cleanup_fn): Clear interface_only before start_function, restore it afterwards.
* decl.c (start_cleanup_fn): Clear interface_only before
	start_function, restore it afterwards.

	* g++.dg/other/cxa-atexit1.C: New test.

From-SVN: r56789
2002-09-04 10:25:52 +02:00
GCC Administrator 7ecebe0788 Daily bump.
From-SVN: r56784
2002-09-04 07:16:22 +00:00
GCC Administrator 169e4eede2 Daily bump.
From-SVN: r56747
2002-09-03 07:16:25 +00:00
GCC Administrator c6ce0e60e2 Daily bump.
From-SVN: r56732
2002-09-02 07:16:24 +00:00
Alexandre Oliva 42be70e717 c-tree.h (skip_evaluation): Move declaration...
* c-tree.h (skip_evaluation): Move declaration...
* c-common.h: ... here.
* c-typeck.c (build_external_ref): Don't assemble_external nor
mark a tree as used if skip_evaluation is set.
* c-parse.in (typeof): New non-terminal to set skip_evaluation
around TYPEOF.
(typespec_nonreserved_nonattr): Use it.

From-SVN: r56727
2002-09-01 20:11:07 +00:00
Alexandre Oliva 127aee1b50 parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.
* parse.y (sizeof, alignof, typeof): New non-terminals to
increment skip_evaluation.  Replace terminals with them and
decrement skip_evaluation at the end of rules using them.
* decl2.c (mark_used): Don't assemble_external if
skipping evaluation.

From-SVN: r56726
2002-09-01 20:10:32 +00:00
Jakub Jelinek e3de29d9c5 typeof-1.c: New test.
* gcc.dg/typeof-1.c: New test.
* g++.dg/ext/typeof2.C: New test.

From-SVN: r56725
2002-09-01 20:10:07 +00:00
Marek Michalkiewicz e4a1292077 avr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0.
2002-08-13  Denis Chertykov  <denisc@overta.ru>
	* config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
	which can change CC0.

From-SVN: r56724
2002-09-01 18:46:20 +00:00
Jason Merrill 218104c798 * cp-lang.c (cp_expr_size): Don't abort.
From-SVN: r56719
2002-09-01 03:44:00 -04:00
GCC Administrator b9a3fba226 Daily bump.
From-SVN: r56714
2002-09-01 07:16:21 +00:00
GCC Administrator 80266d9662 Daily bump.
From-SVN: r56698
2002-08-31 07:16:26 +00:00
Alan Modra 0cbefc5996 target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or mmix.
* target.h (FFETARGET_32bit_longs): Don't define for powerpc64 or
	mmix.

From-SVN: r56681
2002-08-30 16:59:48 +09:30
GCC Administrator cd1f9d88a2 Daily bump.
From-SVN: r56676
2002-08-30 07:16:26 +00:00
Rodney Brown fae159b4f0 install.texi (Specific, [...]): Add "virtual memory exhausted" workarounds.
* doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
        memory exhausted" workarounds.

From-SVN: r56674
2002-08-29 19:36:19 -07:00
John David Anglin 70a1a12c9f * install.texi (hppa64-hp-hpux11*): Document installation procedure.
From-SVN: r56662
2002-08-29 19:36:41 +00:00
GCC Administrator 255fe1669c Daily bump.
From-SVN: r56648
2002-08-29 07:16:29 +00:00
Jason Merrill 3abbc7e74b c-common.c (c_expand_expr): If the last expression is a VAR_DECL with RTL that matches the target...
* c-common.c (c_expand_expr) [STMT_EXPR]: If the last expression is
        a VAR_DECL with RTL that matches the target, just return that RTL.

        * tree-inline.c (expand_call_inline): Make the statement
        expression we generate have a COMPOUND_STMT.

From-SVN: r56645
2002-08-28 17:17:12 -04:00
Joseph Myers 97442810b5 bugs.texi, news.texi: Update URLs for online news and bugs lists.
* bugs.texi, news.texi: Update URLs for online news and bugs
	lists.

From-SVN: r56636
2002-08-28 16:41:10 +01:00
GCC Administrator 25c8c33fa4 Daily bump.
From-SVN: r56630
2002-08-28 07:16:28 +00:00
Mark Mitchell b2750f75e4 invoke.texi: Document -Wabi.
2002-08-27  Mark Mitchell  <mark@codesourcery.com>

	* doc/invoke.texi: Document -Wabi.

2002-08-27  Mark Mitchell  <mark@codesourcery.com>

	* cp-tree.h (warn_abi): Declare it.
	* decl.c (warn_abi): Define it.
	(cxx_decode_option): Set it.
	* class.c (layout_virtual_bases): Warn about bugs in G++ that
	result in incorrect object layouts.
	(layout_class_type): Likewise.

2002-08-27  Mark Mitchell  <mark@codesourcery.com>

	* testsuite/g++.dg/abi/bitfield5.C: New test.
	* testsuite/g++.dg/abi/vbase10.C: Likewise.

From-SVN: r56623
2002-08-27 22:49:49 +00:00
No Author 4a1bd1768e This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56622
2002-08-27 22:49:49 +00:00
GCC Administrator e8eb5b4268 Daily bump.
From-SVN: r56592
2002-08-27 07:16:23 +00:00
Phil Edwards 51f1b1419e Makefile.am (check-abi): Specify current directory.
2002-08-26  Phil Edwards  <pme@gcc.gnu.org>

	* Makefile.am (check-abi):  Specify current directory.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
	abi_baseline_triplet in baseline_file.
	* Makefile.in, aclocal.m4, configure:  Regenerate.
	* configure.target:  Add abi_baseline_triplet with default.
	* testsuite/abi_check.cc:  More error checking.

From-SVN: r56585
2002-08-26 19:12:48 +00:00
GCC Administrator d78c26d0fe Daily bump.
From-SVN: r56577
2002-08-26 07:16:23 +00:00
Andre Leis bebf4bbeb1 David Billinghurst (David.Billinghurst@riotinto.com>
2002-08-25  Andre Leis <a.leis@gmx.net>
	    David Billinghurst (David.Billinghurst@riotinto.com>

	* sysdep.c (__gnat_ttyname): include <termios.h> on cygwin

Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>

From-SVN: r56575
2002-08-26 07:11:39 +00:00
Benjamin Kosnik 1eb4e3828b acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host variables.
2002-08-25  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
	GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
	variables.
	* aclocal.m4: Regenerate.
	* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
	native compiling.

From-SVN: r56569
2002-08-25 17:44:36 +00:00
GCC Administrator 761aece06b Daily bump.
From-SVN: r56564
2002-08-25 07:16:26 +00:00
GCC Administrator 6c757c7cba Daily bump.
From-SVN: r56550
2002-08-24 07:16:22 +00:00
David Edelsohn 2089ea2a6e rs6000.c (rs6000_select_section): Treat DEFAULT_ABI == ABI_AIX like PIC.
* config/rs6000/rs6000.c (rs6000_select_section): Treat
        DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
        default.
        (rs6000_unique_section): Likewise.

From-SVN: r56547
2002-08-23 23:12:26 -04:00
Jason Merrill f86edb5740 re PR c++/5607 (No pointer adjustment in covariant return types)
* langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
        * langhooks.c (lhd_expr_size): Define default.
        * langhooks.h (struct lang_hooks): Add expr_size.
        * explow.c (expr_size): Call it.
        (int_expr_size): New fn.
        * expr.h: Declare it.
        * expr.c (expand_expr) [CONSTRUCTOR]: Use it to calculate how
        much to store.
cp/
        PR c++/5607
        * search.c (check_final_overrider): No longer static.
        * class.c (update_vtable_entry_for_fn): Call it.
        * cp-tree.h: Adjust.

        * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
        (cp_expr_size): New fn.
        * call.c (convert_arg_to_ellipsis): Promote non-POD warning to error.
        * typeck.c (build_modify_expr): Don't use save_expr on an lvalue.

From-SVN: r56539
2002-08-23 08:00:43 -04:00
GCC Administrator cac456d1d9 Daily bump.
From-SVN: r56534
2002-08-23 07:16:23 +00:00
Benjamin Kosnik 916384291c Makefile.am (check-abi): New rule.
2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
	    Phil Edwards  <pme@gcc.gnu.org>
	    Ulrich Drepper  <drepper@redhat.com>

	* Makefile.am (check-abi): New rule.
	* Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
	(abi_check_SOURCES): Add.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/abi_check.cc: New file.
	* config/abi: Add.
	* config/abi/i686-pc-linux-gnu: Add.
	* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>

From-SVN: r56529
2002-08-23 02:43:05 +00:00
No Author 5d62d77b64 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56528
2002-08-23 02:43:05 +00:00
Alan Modra 53c2a3cc5b rs6000.c (output_mi_thunk): Don't determine insns for loading delta with num_insns_constant_wide.
* config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
	for loading delta with num_insns_constant_wide.  Calculate
	delta_low, delta_high without using a conditional.

From-SVN: r56526
2002-08-23 10:50:21 +09:30
GCC Administrator 23090cab5c Daily bump.
From-SVN: r56505
2002-08-22 07:16:28 +00:00
GCC Administrator 3a207fe419 Daily bump.
From-SVN: r56483
2002-08-21 07:16:25 +00:00
Benjamin Kosnik 1816c55d1c configure.in (libtool_VERSION): Update to 5:1:0.
2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libtool_VERSION): Update to 5:1:0.
	* configure: Regenerate.

From-SVN: r56463
2002-08-20 07:35:43 +00:00
GCC Administrator 5ab7866cc0 Daily bump.
From-SVN: r56457
2002-08-20 07:16:30 +00:00
Andreas Jaeger 709a232f3f i386.md (prefetch): Fix for 64bit mode.
* i386.md (prefetch): Fix for 64bit mode.
	(prefetch_sse_rex, prefetch_3dnow_rex): New patterns.

From-SVN: r56455
2002-08-20 09:08:59 +02:00
Andreas Jaeger 9ab2df448b re PR target/7531 (-mcmodel not documented for x86-64)
PR target/7531:
	* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.

From-SVN: r56454
2002-08-20 09:04:38 +02:00
Franz Sirl 71b485f2a2 [multiple changes]
2002-06-24  Jeff Law <law@redhat.com>

	* flow.c (propagate_one_insn): When removing an insn
	with a REG_LIBCALL note but not the entire libcall sequence,
	delete the associated REG_RETVAL note.

2002-06-04  Jeff Law <law@redhat.com.
	    David Edelsohn <edelsohn@gnu.org>
	    Michael Matz <matz@kde.org>

	* sched-int.h (struct deps): New field libcall_block_tail_insn.
	* sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
	* sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
	is set, then mark the current insn as being part of a libcall
	scheduling group.
	(sched_analyze): Set and clear libcall_block_tail_insn appropriately.

	* haifa-sched.c (schedule_block): Do not count USE or CLOBBER
	insns against the issue rate.

2002-05-30  Jeff Law <law@redhat.com>

	* flow.c (propagate_one_insn): Revise yesterday's patch.  Delete
	a dead insn with a REG_RETVAL note when the entire libcall is not
	dead and remove the associated REG_LIBCALL note at the same time.

2002-05-29  Jeff Law <law@redhat.com>

	* flow.c (propagate_one_insn): Do not remove a dead insn if it
	contains a REG_RETVAL note.

	* haifa-sched (sched_analyze): Remove another useless clearing
	of SCHED_GROUP_P I missed yesterday.

2002-05-28  David Edelsohn  <edelsohn@gnu.org>
	    Jeff Law <law@redhat.com>

	* optabs.c (expand_binop): Fix nwords sign warnings.
	generate pseudo for add_optab.

	* sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
	* haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.

From-SVN: r56444
2002-08-19 18:59:32 +00:00
David Edelsohn 76d6f76327 - Fix typo in argument ordering.
From-SVN: r56441
2002-08-19 13:00:21 -04:00
GCC Administrator 6facd91e5c Daily bump.
From-SVN: r56432
2002-08-19 07:16:49 +00:00
GCC Administrator 963c803def Daily bump.
From-SVN: r56419
2002-08-18 07:16:28 +00:00
Neil Booth 9e0081f621 re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as C headers)
PR preprocessor/7602
	* cppinit.c (path_include): Treat the system environment
	variables as being cxx_aware.

From-SVN: r56415
2002-08-18 06:24:13 +00:00
GCC Administrator f1c501c79b Daily bump.
From-SVN: r56404
2002-08-17 07:16:23 +00:00
H.J. Lu 111c226a8f libjava.exp (gcc_version): Removed.
2002-08-16  H.J. Lu <hjl@gnu.org>

	* lib/libjava.exp (gcc_version): Removed.
	(libgcj_jar): New.
	(libjava_init): Set libgcj_jar with tcl glob.
	(libjava_arguments): Use libgcj_jar.

From-SVN: r56383
2002-08-16 14:08:37 -07:00
David Edelsohn 8514901bf7 collect2.c (is_ctor_dtor): Add other possible JOINER values.
* collect2.c (is_ctor_dtor): Add other possible JOINER values.

        * config/rs6000/rs6000.c (output_mi_thunk): Return to function
        section on TARGET_ELF.

        * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
        (Binaries): Update Bull Freeware URL.

From-SVN: r56381
2002-08-16 14:03:09 -04:00
GCC Administrator 07f67bcea9 Daily bump.
From-SVN: r56371
2002-08-16 07:16:22 +00:00
Benjamin Kosnik 737cf13e49 re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)
2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
	_M_buf_size_opt to zero when unbuffering.
	* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
	Consistency checks for _M_buf_size_opt.

	Revert PR libstdc++/7445
	* src/locale.cc (locale::classic): Revert.

	* docs/html/17_intro/TODO: Add.

From-SVN: r56366
2002-08-15 22:51:02 +00:00
Benjamin Kosnik 7b2d131f71 [multiple changes]
2002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
	not snextc.
	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.

2002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>

	* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
	(scan_is): Use this->is.
	(scan_not): Likewise.

2002-08-15  Rick Danos  <rdanos@hotmail.com>

	PR libstdc++/7461
	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
	* config/os/newlib/ctype_inline.h (is): Use static_cast.

From-SVN: r56364
2002-08-15 22:25:10 +00:00
Neil Booth e9b2e28afb re PR preprocessor/7358 (Changes to Sun's make Dependencies)
PR preprocessor/7358
	PR preprocessor/7357
	PR preprocessor/7526
	* cppfiles.c (stack_include_file): Ignore main file if
	appropriate.  Correct test of whether a dependency should
	be output.
	* cppinit.c (init_dependency_output): Ignore main file
	for SUNPRO_DEPENDENCIES.
	(struct lang_flags): Rename trigraphs std.
	(set_lang): Update.
	* cpplib.c (run_directive): Kludge so _Pragma dependency works.
	* cpplib.h (struct cpp_options): New members.
	* cppmacro.c (collect_args): Flag whether to swallow a possible
	future comma pasted with varargs.
	(replace_args): Use this flag.
	* doc/cpp.texi: Update varargs extension documentation.
	* doc/cppenv.texi: Update.
testsuite:
	* gcc.dg/cpp/_Pragma3.c, gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c:
	New tests.

From-SVN: r56355
2002-08-15 19:47:44 +00:00
No Author 851653a88a This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56354
2002-08-15 19:47:44 +00:00
Mark Mitchell c727392e2f Update version strings
From-SVN: r56349
2002-08-15 14:59:02 +00:00
GCC Administrator b94e1bb9a4 Daily bump.
From-SVN: r56340
2002-08-15 07:16:22 +00:00
Mark Mitchell 41e017a859 Update version
From-SVN: r56289
2002-08-14 09:01:32 +00:00
Mark Mitchell 7e0a236b04 Mark ChangeLog
From-SVN: r56288
2002-08-14 09:01:14 +00:00
Mark Mitchell 59bab4bd2f * gennews (files): Add GCC 3.2 files.
From-SVN: r56286
2002-08-14 08:35:06 +00:00
GCC Administrator 56647b3ff9 Daily bump.
From-SVN: r56277
2002-08-14 07:16:24 +00:00
GCC Administrator 9b1a571feb Daily bump.
From-SVN: r56243
2002-08-13 07:16:57 +00:00
GCC Administrator 2e26c30f29 Daily bump.
From-SVN: r56225
2002-08-12 07:16:26 +00:00
GCC Administrator 7b2aca0c21 Daily bump.
From-SVN: r56192
2002-08-11 07:16:21 +00:00
GCC Administrator acc49c6e1a Daily bump.
From-SVN: r56176
2002-08-10 07:16:21 +00:00
GCC Administrator 8623bd56ce Daily bump.
From-SVN: r56157
2002-08-09 07:16:32 +00:00
Jakub Jelinek f7a6683645 rs6000.h, [...]: Revert last two patches.
* config/rs6000/rs6000.h, config/rs6000/aix.h,
	config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
	two patches.
	* config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.

From-SVN: r56134
2002-08-08 19:52:40 +02:00
Jakub Jelinek 31c94a3bd0 rs6000-protos.h (rs6000_field_alignment): Remove.
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
	* config/rs6000/rs6000.c (rs6000_field_alignment): Move...
	* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
	macro.

From-SVN: r56130
2002-08-08 16:51:47 +02:00
GCC Administrator 56751b2a99 Daily bump.
From-SVN: r56121
2002-08-08 07:16:31 +00:00
Jakub Jelinek 3d025fc275 stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN...
* stor-layout.c (place_union_field): For bitfields if
	PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
	TYPE_USER_ALIGN.

	* gcc.dg/bitfld-3.c: New test.

From-SVN: r56111
2002-08-08 01:16:44 +02:00
Jakub Jelinek d7b3369c52 stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to type_align when PCC_BITFIELD_TYPE_MATTERS.
* stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
	to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
	ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
	(place_field): Likewise.
	* config/i386/i386.c (x86_field_alignment): Don't check
	TARGET_ALIGN_DOUBLE for the second time.
	Apply min for all MODE_INT and MODE_CLASS_INT modes.
	* config/rs6000/rs6000.c (rs6000_field_alignment): New.
	* config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
	prototype.
	* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
	* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
	* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
	* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
	* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
	* doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.

	* gcc.dg/i386-bitfield1.c: New test.
	* g++.dg/abi/bitfield3.C: New test.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r56104
2002-08-07 20:11:00 +02:00
No Author 379aa2fe2e This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r56103
2002-08-07 18:11:00 +00:00
GCC Administrator d5997d02bd Daily bump.
From-SVN: r56094
2002-08-07 07:16:28 +00:00
Benjamin Kosnik 1a23762b2f Revert PR libstdc++/6594
2002-08-06  Benjamin Kosnik  <bkoz@redhat.com>

        Revert PR libstdc++/6594
        * src/strstream.cc (strstreambuf): Revert.
        (strstreambuf::overflow): Same.
        (strstreambuf::~strstreambuf): Same.
        * testsuite/backward/strstream_members.cc (test02): Add.

        * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.

From-SVN: r56091
2002-08-07 05:13:08 +00:00
Jakub Jelinek 0a756479d2 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
From-SVN: r56074
2002-08-06 20:30:43 +02:00
Jakub Jelinek b2ba8d6ade config.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable}-threads is given to...
* config.gcc (*-*-linux*): Default to --enable-threads=posix if no
	--{enable,disable}-threads is given to configure.
	(alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
	x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
	powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
	s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
	Remove thread_file setting here.

From-SVN: r56070
2002-08-06 17:20:55 +02:00
GCC Administrator 501663532b Daily bump.
From-SVN: r56061
2002-08-06 07:16:29 +00:00
GCC Administrator a9a63503f9 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56060.2
2002-08-06 07:16:24 +00:00
GCC Administrator d9035fe7d6 Daily bump.
From-SVN: r56042
2002-08-05 07:16:24 +00:00
GCC Administrator d80784002d Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56041.2
2002-08-05 07:16:21 +00:00
Mark Mitchell 4813ad6831 install.texi (Installing GCC): Refer to buildstat.html, rather than listing version-specific build status files.
* doc/install.texi (Installing GCC): Refer to buildstat.html,
	rather than listing version-specific build status files.

From-SVN: r56037
2002-08-05 03:40:02 +00:00
Toon Moene d874b73692 news.texi: Mention nothing changed for 3.2.
2002-08-04  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Mention nothing changed for 3.2.

From-SVN: r56034
2002-08-04 21:28:02 +00:00
Joseph Myers 0dab7c7540 gcc-common.texi (version-GCC): Increase to 3.2.
* doc/include/gcc-common.texi (version-GCC): Increase to 3.2.

java:
	* gcj.texi (version-gcc): Increase to 3.2.

f:
	* root.texi (version-gcc): Increase to 3.2.

From-SVN: r56027
2002-08-04 17:55:55 +01:00
Nathan Sidwell c9bc616bb8 re PR c++/7470 (Vtable: virtual function pointers not in declaration order)
PR 7470.
	C++ ABI change - vfunc ordering.
	* class.c (add_virtual_function): Remove.
	(dfs_modify_all_vtables): Take list of all declared
	virtuals. Assign all that are not in primary base.
	(check_for_override): Adjust comments.
	(create_vtable_ptr): Take single list of virtuals. Build chain
	of declared virtuals here.
	(layout_class_type): Take single list of virtuals. Adjust.
	(finish_struct_1): Keep virtuals on single list. Adjust.

From-SVN: r56020
2002-08-04 13:09:31 +00:00
GCC Administrator 32000eda3c Daily bump.
From-SVN: r56015
2002-08-04 07:16:21 +00:00
GCC Administrator daeb7686fe Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56014.2
2002-08-04 07:16:19 +00:00
GCC Administrator f61126da90 Daily bump.
From-SVN: r56003
2002-08-03 07:16:22 +00:00
GCC Administrator 239ffe94ff Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56002.2
2002-08-03 07:16:20 +00:00
GCC Administrator 49abd2a418 Daily bump.
From-SVN: r55974
2002-08-02 07:16:26 +00:00
GCC Administrator 7f3f0ab72e Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r55973.2
2002-08-02 07:16:23 +00:00
Benjamin Kosnik 696f223e02 ptrflags.C (expect): Change __qualifier_flags to __flags.
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

	* g++.old-deja/g++.abi/ptrflags.C (expect): Change
	__qualifier_flags to __flags.

From-SVN: r55952
2002-08-01 21:56:28 +00:00
Jakub Jelinek 9b7ee08256 [multiple changes]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

	* g++.old-deja/g++.abi/ptrflags.C (expect): Change
	__qualifier_flags to __flags.

2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>

	* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
	GLIBCPP_3.1 to GLIBCPP_3.2.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
	    Mark Mitchell  <mark@codesourcery.com>

	PR libstdc++/7442
	* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
	Change to __hwm_bit.
	(__class_type_info): And here.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7442
	* libsupc++/cxxabi.h
	(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
	(__base_class_info::__base): Change to __base_type. 2.9.5p6c
	(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
	(__vmi_class_type_info::__base_info): Don't make const, of type
	__base_class_type_info, as per 2.9.5p6c
	(__pbase_type_info::__qualifier_flags): Change to __flags, as per
	2.9.5p7.
	(__pbase_type_info::__qualifier_masks): Change to __masks, as per
	2.9.5p7.
	(__pointer_to_member_type_info::__context_class): Change member to
	__context, as per 2.9.5p9.
	* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
	__context.
	* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
	__flags.
	* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
	__base_type.
	* libsupc++/tinfo.cc (__do_dyncast): Same.
	* libsupc++/tinfo.cc (__do_upcast): Same.

2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>

	* docs/html/22_locale/howto.html: Fix.

2002-07-31  Alex Kompel  <shurik@sequoiap.com>

	PR libstdc++/7445
	* src/locale.cc (locale::classic): Move locks inside !_S_classic
	block.

2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
	    Gabriel Dos Reis  <gdr@nerim.net>

	* include/bits/char_traits.h: Remove generic definitions.
	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
	eof, not -2.
	* include/bits/istream.tcc (istream::readsome): Don't check
	against eof, instead use constants.
	(istream::sync): Same.
	(istream::sentry::sentry): Use eq_int_type.
	(istream::get): Same.
	* include/bits/ostream.tcc: Change __pad to
	__pad<_CharT, _Traits>::_S_pad.
	* include/bits/locale_facets.h: Add __pad_traits generic and
	ostreambuf_iterator specialization.
	* include/bits/locale_facets.tcc: Change __pad into struct __pad
	with a _CharT and _Traits template parameter and _S_pad static
	member function.
	* src/locale-inst.cc: Update __pad instantiations.

	* include/std/std_fstream.h: Declare _M_underflow_common
	specializations.
	* src/fstream.cc: New. Add _M_underflow_common specializations.
	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
	(filebuf::_M_underflow_common(bool)): Remove generic version, as
	sys_ungetc and custom int_types don't get along.
	* include/std/std_streambuf.h: Add _M_pos.
	* src/Makefile.am (sources): Add fstream.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
	* testsuite/27_io/filebuf.cc: ...here.
	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
	specialization for both.
	* testsuite/27_io/streambuf.cc: Add instantiation test,
	testsuite_hooks include.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/fstream.cc: Same.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.

From-SVN: r55951
2002-08-01 23:29:18 +02:00
No Author bb8426e328 This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r55950
2002-08-01 21:29:18 +00:00
Benjamin Kosnik 1bada1882e gcc.c: Set __GXX_ABI_VERSION to 102.
2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>

	* gcc.c: Set __GXX_ABI_VERSION to 102.

From-SVN: r55945
2002-08-01 20:14:57 +00:00
GCC Administrator 3d85d1bbf3 Daily bump.
From-SVN: r55927
2002-08-01 07:16:24 +00:00
GCC Administrator f63850b756 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r55926.2
2002-08-01 07:16:21 +00:00
GCC Administrator eb7a93b0f7 Daily bump.
From-SVN: r55896
2002-07-31 07:16:21 +00:00
GCC Administrator fe14f9970c Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r55895.2
2002-07-31 07:16:19 +00:00
Franz Sirl 97d65e7b9d gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
gcc/

	* gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.

gcc/cp/
	* lang-specs.h: Remove __GXX_ABI_VERSION, moved to gcc.c.

From-SVN: r55881
2002-07-30 20:42:14 +00:00
GCC Administrator 2bc5073c55 Daily bump.
From-SVN: r55866
2002-07-30 07:16:23 +00:00
GCC Administrator eb7b8dfbbf Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r55865.2
2002-07-30 07:16:21 +00:00
GCC Administrator a580729ddf Daily bump.
From-SVN: r55827
2002-07-29 07:16:21 +00:00
Mark Mitchell fc4871aba3 Correct version numbers
From-SVN: r55819
2002-07-28 16:50:06 +00:00
GCC Administrator 93a40289c4 Daily bump.
From-SVN: r55809
2002-07-28 07:16:20 +00:00
GCC Administrator 0ca8d03ff6 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r55792.2
2002-07-27 07:16:19 +00:00
Jakub Jelinek a7580e63a7 re PR rtl-optimization/7291 (off-by-one in generated inline bzero code for i386 (64bit))
gcc/ChangeLog

2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>

	PR optimization/7291
	* config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
	problem on x86_64.

2002-05-16  Jason Merrill  <jason@redhat.com>

	* config/mips/mips.c (mips_output_external): Don't do sdata
	optimization for a variable with DECL_COMDAT set.

2002-01-03  Jakub Jelinek  <jakub@redhat.com>

	* c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.

	* c-decl.c (build_compound_literal): Defer compound literal decls
	until until file end to emit them only if they are actually used.

gcc/cp/ChangeLog

2002-07-17  Scott Snyder <snyder@fnal.gov>

	PR c++/7320
	* rtti.c (get_tinfo_decl): Set DECL_COMDAT.

2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>

	Repair damage on weak-impared targets caused by my previous patch.
	* cp-tree.h (import_export_tinfo): Add parameter.
	* decl2.c (import_export_tinfo): Add parameter, post adjust
	DECL_COMDAT.
	* rtti.c (emit_tinfo_decl): DECL_COMDAT is (nearly) always setup by
	import_export_tinfo.

2002-06-30  Nathan Sidwell  <nathan@codesourcery.com>

	* cp-tree.h (CPTI_TINFO_DECL_TYPE): Replace with ...
	(CPTI_TYPE_INFO_PTR_TYPE): ... this.
	(tinfo_decl_type): Replace with ...
	(type_info_ptr_type): ... this.
	(import_export_tinfo): Declare.
	(tinfo_decl_p): Rename to ...
	(unemitted_tinfo_decl_p): ... this.
	* decl2.c (import_export_decl): Break out tinfo handling into ...
	(import_export_tinfo): ... here. New function.
	(finish_file): Adjust.
	* rtti.c (TINFO_REAL_NAME): New macro.
	(init_rtti_processing): Create the tinfo types.
	(get_tinfo_decl_dynamic): Use type_info_ptr_type, get_tinfo_ptr.
	(get_tinfo_decl): Adjust.
	(get_tinfo_ptr): New function.
	(get_type_id): Use it.
	(tinfo_base_init): Create vtable decl here, if it doesn't exist.
	(ptr_initializer): Use get_tinfo_ptr.
	(ptm_initializer): Likewise.
	(synthesize_tinfo_var): Break into ...
	(get_pseudo_ti_init): ... this. Just create the initializer.
	(get_pseudo_ti_desc): .. and this.
	(create_real_tinfo_var): Remove.
	(create_pseudo_type_info): Don't create the vtable decl here.
	(get_vmi_pseudo_type_info): Remove.
	(create_tinfo_types): Adjust.
	(tinfo_decl_p): Rename to ...
	(unemitted_tinfo_decl_p): ... here. Adjust.
	(emit_tinfo_decl): Adjust. Create the initializer.

2002-06-14  Jason Merrill  <jason@redhat.com>

	C++ ABI changes.
	* class.c (build_base_field): Set DECL_PACKED.
	(layout_class_type): Don't use tail padding of PODs.
	* mangle.c (write_unqualified_name): Fix template conversion op
	mangling.

2002-05-18  Jason Merrill  <jason@redhat.com>

	PR c++/6611
	* decl2.c (import_export_decl): If we clear
	DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.

2002-05-14  Jason Merrill  <jason@redhat.com>

	* rtti.c (get_tinfo_decl): Don't call comdat_linkage.
	Do set DECL_COMDAT.
	(synthesize_tinfo_var): Take the public decl.
	(create_real_tinfo_var): Likewise.  Check DECL_COMDAT.
	(emit_tinfo_decl): Adjust.  Call import_export_decl.
	* decl2.c (import_export_decl): Simplify tinfo decl handling.

gcc/testsuite/ChangeLog

2002-07-24  Roger Sayle  <roger@eyesopen.com>

	* gcc.c-torture/execute/memset-3.c: New testcase.

2002-06-14  Jason Merrill  <jason@redhat.com>

	* g++.dg/abi/layout1.C: New test.
	* g++.dg/abi/layout2.C: New test.
	* g++.dg/abi/mangle8.C: New test.

2002-05-14  Jason Merrill  <jason@redhat.com>

	* g++.dg/abi/rtti1.C: New test.

2002-01-03  Jakub Jelinek  <jakub@redhat.com>

	* gcc.dg/gnu89-init-2.c: New test.

libstdc++-v3/ChangeLog

2002-07-26  Phil Edwards  <pme@gcc.gnu.org>

	* libsupc++/new (placement delete):  Remove unused paramater names.

2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7216
	* include/std/std_istream.h (basic_iostream): Add typedefs for
	char_type, int_type, pos_type, off_type, and traits_type.
	* testsuite/27_io/iostream.cc (test01): Add typedef tests.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Replace content, move to...
	* testsuite/27_io/stringbuf_members.cc: ...here.
	* testsuite/27_io/streambuf.cc: Replace content, move to...
	* testsuite/27_io/streambuf_members.cc: ...here.
	* testsuite/27_io/stringstream.cc: Replace content, move to...
	* testsuite/27_io/stringstream_members.cc: ...here.
	* testsuite/27_io/ios.cc: New file.
	* testsuite/27_io/fstream.cc: New file.
	* testsuite/27_io/ifstream.cc: New file.
	* testsuite/27_io/ofstream.cc: New file.
	* testsuite/27_io/istringstream.cc: New file.
	* testsuite/27_io/ostringstream.cc: New file.

2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7220
	* include/bits/istream.tcc (istream::ignore): Don't extract on
	zero.
	* testsuite/27_io/istream_unformatted.cc (test10): Add.

2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7222
	* src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
	* testsuite/22_locale/ctor_copy_dtor.cc (test02): New.

2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7286
	* libsupc++/new: Add placement delete.
	* testsuite/18_support/new_delete_placement.cc: New.

2002-07-07  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/7186
	* include/bits/stl_deque.h (_Deque_iterator::operator-):
	Make non-member, as already happens for the comparison
	operators in accord with DR179 (Ready).
	* testsuite/23_containers/deque_operators.cc: Add test02.

2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
	    Jack Reeves  <jackw_reeves@hotmail.com>

	* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
	size_t, from int_type.
 	(basic_streambuf::_M_buf_size_opt): Same.
 	(basic_streambuf::_S_pback_sizex): Same.
	* include/bits/streambuf.tcc: Same.
	* include/std/std_streambuf.h (basic_streambuf::snextc): Use
	eq_int_type.
	(basic_streambuf::uflow): Same.
	* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
	to_char_type.
	* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
	* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
	eq_int_type.
	(basic_streambuf::xsputn): Same.
	(__copy_streambufs): Same.

2002-07-02  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6642
	* include/bits/stl_iterator.h
	(__normal_iterator::operator-(const __normal_iterator&)):
	Make non-member, as already happens for the comparison
	operators in accord with DR179 (Ready).
	* testsuite/24_iterators/iterator.cc: Add test from the PR.

2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6410
	* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
	char* name parameter.
	* config/locale/gnu/monetary_members.cc: Use it.
	* config/locale/generic/monetary_members.cc: Same.
	* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.

2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libtool_VERSION): Bump to 5:0:0.
	* configure: Regenerate.

2002-05-19  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/23_containers/deque_operators.cc (test01):
	Fix minor typo in last commit.

2002-05-18  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6503
	* include/bits/stl_deque.h (_Deque_iterator::operator==,
	operator!=, operator<, operator>, operator>=, operator<=):
	Make non-member functions, to allow comparing const and
	non-const iterators in any order.
	* testsuite/23_containers/deque_operators.cc: New testfile.

From-SVN: r55786
2002-07-27 01:23:45 +02:00
No Author 09f8b2cd1b This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r55785
2002-07-26 23:23:45 +00:00
Mark Mitchell d6f6f99b4c Update version strings
From-SVN: r55783
2002-07-26 22:20:04 +00:00
GCC Administrator 4f77a8528f Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r55772.2
2002-07-26 07:16:37 +00:00
Mark Mitchell 9504d8787d Update version
From-SVN: r55765
2002-07-25 23:40:41 +00:00
Mark Mitchell cc46f44193 Mark ChangeLog
From-SVN: r55764
2002-07-25 23:40:29 +00:00
Gerald Pfeifer 8d51bc6475 gennews (files): Add proper files for the GCC 3.1 release series.
* gennews (files): Add proper files for the GCC 3.1 release series.
	Simplify and reformat introductory wording.

From-SVN: r55751
2002-07-25 14:36:02 +00:00
GCC Administrator bbe0fb7c15 Daily bump.
From-SVN: r55739
2002-07-25 07:16:28 +00:00
GCC Administrator fa0cbb7f84 Daily bump.
From-SVN: r55697
2002-07-24 07:16:29 +00:00
GCC Administrator 005632b7c1 Daily bump.
From-SVN: r55670
2002-07-23 07:16:23 +00:00
GCC Administrator 7775877b25 Daily bump.
From-SVN: r55639
2002-07-22 07:16:23 +00:00
Nick Clifton 1149d8ff41 Import following patch from mainline:
2002-03-18  Bernd Schmidt  <bernds@redhat.com>

        * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart
        instead of gen_rtx_SUBREG.
        (arm_reload_out_hi): Use gen_lowpart instead of
        gen_rtx_SUBREG to access QImode components.
        * config/arm/arm.md: Disable zero_extend split for QImode
        subregs in BIG_ENDIAN mode.
        (storehi_bigend): Match use of least significant byte.
        (storeinthi): Remove extraneous SUBREG.
        Add missing construction of operands[2].
        (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
        (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
        Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.

From-SVN: r55623
2002-07-21 12:09:03 +00:00
GCC Administrator c04f04ad07 Daily bump.
From-SVN: r55619
2002-07-21 07:16:23 +00:00
GCC Administrator 250f2b654a Daily bump.
From-SVN: r55605
2002-07-20 07:16:25 +00:00
Phil Edwards 2179261a31 Bulk documentation merge (copy) from trunk.
2002-07-20  Phil Edwards  <pme@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
	docs/doxygen/user.cfg.in, docs/html/Makefile,
	docs/html/documentation.html, docs/html/17_intro/porting.html,
	docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
	docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
	docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
	docs/html/faq/index.txt:  Merge from trunk.

From-SVN: r55603
2002-07-20 06:34:51 +00:00
GCC Administrator de7fa8826d Daily bump.
From-SVN: r55580
2002-07-19 07:16:28 +00:00
Richard Henderson 5c8245654d ifcvt.c (noce_get_condition): Make certain that the condition is valid at JUMP.
* ifcvt.c (noce_get_condition): Make certain that the condition
        is valid at JUMP.

From-SVN: r55559
2002-07-18 10:45:54 -07:00
GCC Administrator 29beb871f6 Daily bump.
From-SVN: r55549
2002-07-18 07:17:25 +00:00
GCC Administrator 561ce9195c Daily bump.
From-SVN: r55510
2002-07-17 07:16:25 +00:00
Hans-Peter Nilsson 5b10a9fbb8 linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't --gc-sections if -r.
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
	--gc-sections if -r.

From-SVN: r55506
2002-07-17 01:43:12 +00:00
Andreas Schwab 61905cc8da new (set_new_handler): Declare to not throw any exceptions.
* libsupc++/new (set_new_handler): Declare to not throw any
	exceptions.
	* libsupc++/new_handler.cc (set_new_handler): Likewise.

From-SVN: r55494
2002-07-16 20:26:29 +00:00
GCC Administrator 15a634f18e Daily bump.
From-SVN: r55476
2002-07-16 07:16:23 +00:00
Eric Botcazou 81d820e528 re PR middle-end/7153 (bad operands for 'movsbl' error)
PR optimization/7153
        * regmove.c (optimize_reg_copy_3): Don't optimize if the register
        dies in more than one insn.

From-SVN: r55473
2002-07-15 22:43:37 -07:00
Jason Thorpe 7a8bad50d2 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
From-SVN: r55471
2002-07-16 00:36:52 +00:00
No Author 6275decb70 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55469
2002-07-15 23:59:02 +00:00
Rainer Orth edb9186f09 ctype_base.h (ctype_base): Fix print to match vendor <ctype.h>.
* config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
	print to match vendor <ctype.h>.

From-SVN: r55464
2002-07-15 20:25:40 +00:00
John David Anglin 5c8414d4ad bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge.
* bb-reorder.c (make_reorder_chain_1): Search harder for the vax
	casesi fallthru edge.
	* cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
	block after ADDR_VEC.
	* vax.md (casesi): Use emit_jump_insn.  Remove unused constraints.

From-SVN: r55460
2002-07-15 16:19:39 +00:00
GCC Administrator 2a65c17d43 Daily bump.
From-SVN: r55453
2002-07-15 07:16:24 +00:00
Jakub Jelinek 6efe691ddd re PR middle-end/7245 (ICE in find_reloads)
PR middle-end/7245
	* config/i386/i386.c (const_int_1_31_operand): New.
	* config/i386/i386.h (PREDICATE_CODES): Add it.
	* config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
	ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
	lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.

	* gcc.c-torture/compile/20020710-1.c: New test.

From-SVN: r55450
2002-07-15 08:54:37 +02:00
Andreas Schwab 5b83b83003 m68k.h (PREDICATE_CODES): Define.
2002-06-11  Andreas Schwab  <schwab@suse.de>

	* config/m68k/m68k.h (PREDICATE_CODES): Define.

From-SVN: r55449
2002-07-15 06:33:38 +00:00
Alan Modra 86a561d920 re PR target/7282 (unrecognizable insn)
PR target/7282
	* config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
	(floatunssidf2): Likewise.
	(floatsidf_ppc64): New insn_and_split.
	(floatunssidf_ppc64): Likewise.

From-SVN: r55448
2002-07-15 14:59:43 +09:30
GCC Administrator bc1fc98731 Daily bump.
From-SVN: r55439
2002-07-14 07:16:23 +00:00
GCC Administrator 6249ac40c2 Daily bump.
From-SVN: r55432
2002-07-13 07:16:22 +00:00
Jesse Rosenstock fa295a85b2 For PR libgcj/7292:
2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>

	For PR libgcj/7292:
	* java/lang/Character.java (toString(char)): Now static.

From-SVN: r55428
2002-07-12 21:13:22 +00:00
Stephane Carrez 9dcb76b6e0 m68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.
* config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
	the scratch register.
	("*movhi2_push"): Accept Z_REG because a split pattern can make use
	of it, forbid reload to use it.

From-SVN: r55426
2002-07-12 22:43:54 +02:00
Marek Michalkiewicz 2d5b91c47f avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return value was truncated to 32 bits.
* config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
	usage on 64-bit hosts, return value was truncated to 32 bits.

From-SVN: r55422
2002-07-12 11:27:55 +00:00
Mark Mitchell 4209417a70 * class.c (add_method): Correct handling of conversion operators.
From-SVN: r55420
2002-07-12 07:56:49 +00:00
GCC Administrator 8084c639fc Daily bump.
From-SVN: r55414
2002-07-12 07:16:25 +00:00
Mark Mitchell 9064662521 re PR c++/7224 (g++ 3.x does not tecognize unused ambiguous inline member functions)
PR c++/7224
	* class.c (add_method): Simplify.

	PR c++/7224
	* g++.dg/overload/error1.C: New test.

From-SVN: r55408
2002-07-11 22:07:47 +00:00
Jason Merrill cf91de3f76 re PR c++/7279 (NRV related miscompilation)
PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

From-SVN: r55406
2002-07-11 17:13:08 -04:00
John David Anglin c5d66b7d08 pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
* pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
	Remove comment.  Change predicate of 32-bit adddi3 insn pattern to
	arith11_operand.
	* pa-protos.h (adddi3_operand): Add prototype.
	* pa.c (cint_ok_for_move): Fix comment.
	(adddi3_operand): New function.
	(emit_move_sequence):  Don't directly split DImode constants on
	32-bit targets.

From-SVN: r55399
2002-07-11 18:22:02 +00:00
GCC Administrator 92425d5d48 Daily bump.
From-SVN: r55391
2002-07-11 07:16:23 +00:00
GCC Administrator ad95eda9fe Daily bump.
From-SVN: r55360
2002-07-10 07:16:58 +00:00
Jason Merrill 7e709855f4 re PR c++/6255 (ICE with templatess)
PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

From-SVN: r55353
2002-07-09 19:46:07 -04:00
GCC Administrator b1b5ae257d Daily bump.
From-SVN: r55337
2002-07-09 07:16:23 +00:00
Kriang Lerdsuwanakij 1b397fb2fa pt.c (can_complete_type_without_circularity): Add static to function definition.
* pt.c (can_complete_type_without_circularity): Add static to
	function definition.

From-SVN: r55327
2002-07-08 15:09:44 +00:00
Phil Edwards 66c6b5f22d configure.in (gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...
2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in (gxx_include_dir):  Change to match versioned
	C++ headers if --enable-version-specific-runtime-libs is used.

From-SVN: r55324
2002-07-08 10:00:57 +00:00
GCC Administrator f6b3531338 Daily bump.
From-SVN: r55315
2002-07-08 07:16:31 +00:00
GCC Administrator ff2c225100 Daily bump.
From-SVN: r55297
2002-07-07 07:17:23 +00:00
GCC Administrator cca7bbf74f Daily bump.
From-SVN: r55282
2002-07-06 07:16:41 +00:00
Stephane Carrez c3dd318bc1 m68hc11.md ("*movqi_68hc12"): Avoid allocating QI mode registers in soft registers.
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
	QI mode registers in soft registers.
	("zero_extendqihi2"): Do not take into account soft registers
	for register allocation (use '*' constraint).

From-SVN: r55275
2002-07-06 00:18:48 +02:00
Jason Merrill beed37972f cvt.c (cp_convert_to_pointer): Call force_fit_type for null pointers.
* cvt.c (cp_convert_to_pointer): Call force_fit_type for null
        pointers.

From-SVN: r55273
2002-07-05 18:11:38 -04:00
Stephane Carrez 582c64face m68hc11.md ("*ashlsi3"): Avoid saving y if we know it is dead.
* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
	it is dead.
	("*ashrsi3"): Likewise.
	("*lshrsi3"): Likewise.

From-SVN: r55271
2002-07-06 00:01:18 +02:00
Stephane Carrez 3ef7282cab m68hc11.md (peephole2): New peephole2 to optimize address computation and memory moves.
* config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
	address computation and memory moves.

From-SVN: r55268
2002-07-05 23:32:54 +02:00
Jim Wilson 38fe689c75 Fix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html
Fix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html
	* decl.c (mark_named_label_lists): Add missing & in call to
	mark_binding_level.

From-SVN: r55265
2002-07-05 12:39:12 -07:00
Mark Mitchell 63a1d27cb5 re PR c++/6706 (ICE with variable-sized arrays and DWARF-1 output)
PR c++/6706
	* dwarfout.c (output_reg_number): Fix warning message.
	(output_bound_representation): Check SAVE_EXPR_RTL is not NULL
	before using it.

	PR c++/6706
	* g++.dg/debug/debug6.C: New test.
	* g++.dg/debug/debug7.C: New test.

From-SVN: r55263
2002-07-05 16:37:44 +00:00
Jason Merrill ae05956113 re PR rtl-optimization/7145 (g++ -O with structure initializer & return value optimization generates bad code)
PR optimization/7145
        * tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL.

[[Split portion of a mixed commit.]]

From-SVN: r55262.1
2002-07-05 11:16:56 -04:00
GCC Administrator 3a9d3411b3 Daily bump.
From-SVN: r55253
2002-07-05 07:16:34 +00:00
Jason Merrill 8cc81a75b9 re PR c++/6611 (Non-weak emission of `std::__default_alloc_template[...]' on platform(s) where it should be weak)
PR c++/6611
        * decl2.c (import_export_decl): If we clear
        DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.

From-SVN: r55243
2002-07-04 06:57:18 -04:00
GCC Administrator 767017d528 Daily bump.
From-SVN: r55237
2002-07-04 07:16:46 +00:00
Benjamin Kosnik 2a8c602da3 re PR libstdc++/7057 (Operator== on hashtables doesn't appear to work correctly (patch included))
2002-07-03  Steev Wilcox  <steev@paradigmds.com>

	PR libstdc++/7057
	* include/ext/stl_hashtable.h: Fix.
	* testsuite/ext/hash_map.cc: New.

From-SVN: r55232
2002-07-04 00:48:50 +00:00
No Author c8aaac218f This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55231
2002-07-04 00:48:50 +00:00
Benjamin Kosnik ea1e5d659d re PR libstdc++/7097 (_GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems)
2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/7097
        * include/c/std_cwchar.h: Fix.

From-SVN: r55230
2002-07-04 00:29:27 +00:00
Richard Henderson 9d76f6f358 i386.md (prologue_get_pc): Issue pop here ...
* config/i386/i386.md (prologue_get_pc): Issue pop here ...
        * config/i386/i386.c (load_pic_register): ... not here.

From-SVN: r55227
2002-07-03 15:52:13 -07:00
Jack Reeves 4386824636 re PR libstdc++/3946 (auto_ptr_ref constructor allows dangerous conversion)
2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
            Kenny Simpson  <theonetruekenny@yahoo.com>
            Phil Edwards  <pme@gcc.gnu.org>

	PR libstdc++/3946
	* testsuite/20_util/auto_ptr.cc (test08):  New test.
	* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
	(auto_ptr::operator auto_ptr_ref):  Fix typo.
	General reformatting and doxygenating of the whole file.

Co-Authored-By: Kenny Simpson <theonetruekenny@yahoo.com>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>

From-SVN: r55225
2002-07-03 22:49:56 +00:00
Phil Edwards 1c97af80a8 re PR libstdc++/7173 (_GLIBCPP_VERSION ="" on the 3.1 branch)
2002-07-03  Phil Edwards  <pme@gcc.gnu.org>

	PR libstdc++/7173
	* acinclude.m4:  Simplify determination of gcc_version, and move
	up to GLIBCPP_CONFIGURE.
	* configure.in (release_VERSION):  Really remove.
	(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
	* aclocal.m4, configure:  Regenerate.

From-SVN: r55224
2002-07-03 22:48:30 +00:00
David Edelsohn 0453019943 rs6000.md (fix_truncdfsi2_internal): Ignore DImode in FPR as preference.
* config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
        in FPR as preference.
        (fctiwz): Same.
        (floatdidf2, fix_truncdfdi2): Same.
        (floatdisf2, floatditf2, fix_trunctfdi2): Same.
        (floatditf2): Same.
        (floatsitf2, fix_trunctfsi2): SImode in GPR.
        (ctrdi): Remove FPR alternative and splitter.

From-SVN: r55220
2002-07-03 14:41:58 -04:00
Kriang Lerdsuwanakij 53b46c5088 re PR c++/6944 (missing feature on default copy-constructor for class with multi-dim arrays)
PR c++/6944
	* init.c (build_aggr_init): Remove qualifiers of init before calling
	build_vec_init.
	(build_vec_init): Flatten multi-dimensional array during cleanup.
	(build_vec_delete_1): Abort if the type of each element is array.

	* g++.dg/init/array4.C: New test.
	* g++.dg/init/array5.C: New test.

From-SVN: r55213
2002-07-03 15:02:15 +00:00
GCC Administrator 2c13e9b91e Daily bump.
From-SVN: r55205
2002-07-03 07:16:37 +00:00
Kriang Lerdsuwanakij e71bff322e re PR c++/6716 (loop and fill ram during compiling)
PR c++/6716
	* pt.c (can_complete_type_without_circularity): New function.
	(instantiate_class_template): Use it.
	* typeck2.c (incomplete_type_error): Improve error message
	due to incomplete fields.

	* g++.dg/template/instantiate1.C: New test.

From-SVN: r55181
2002-07-02 15:50:42 +00:00
Hans-Peter Nilsson d8885d61d7 re PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)
PR target/7177
	* config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
	of indirections for register inside sign-extended mem part.

From-SVN: r55180
2002-07-02 14:08:00 +00:00
GCC Administrator c3084218d1 Daily bump.
From-SVN: r55176
2002-07-02 07:18:58 +00:00
Phil Edwards 2d53c93fb4 configopts.html, [...]: Tweaks.
2002-07-02  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/configopts.html, docs/html/install.html:  Tweaks.
	* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
	include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
	include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.

From-SVN: r55173
2002-07-02 06:22:39 +00:00
Mark Mitchell b20631537e re PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof)
PR c++/7112
	* g++.dg/template/sizeof1.C: New test.

	PR c++/7112
	* mangle.c (write_expression): Add mangling for sizeof when
	applied to a type.
	* operators.def: Remove stale comment.

	* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
	Set it for the "st" operator.
	(demangle_expression): Handle expressions with types as arguments.

From-SVN: r55168
2002-07-02 03:14:24 +00:00
John David Anglin 719d7fd750 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
From-SVN: r55157
2002-07-01 21:50:14 +00:00
Hans-Peter Nilsson 0571235509 re PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)
PR target/7177
	* gcc.c-torture/compile/20020701-1.c: New test.

From-SVN: r55145
2002-07-01 19:40:54 +00:00
No Author 4920574c28 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55144
2002-07-01 19:40:54 +00:00
GCC Administrator 8cc7a26c0f Daily bump.
From-SVN: r55129
2002-07-01 07:16:31 +00:00
David Edelsohn 0d8d8384d9 rs6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not splitter.
* config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
        constraint in define_expand, not splitter.

From-SVN: r55123
2002-06-30 16:08:32 -04:00
Toon Moene 054458fb64 news.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in news on g77-3.1.
2002-06-30  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Mention 2 Gbyte limit on 32-bit targets
	for arrays explicitly in news on g77-3.1.

From-SVN: r55118
2002-06-30 11:00:17 +00:00
GCC Administrator 9f3806dd39 Daily bump.
From-SVN: r55114
2002-06-30 07:17:34 +00:00
Hans Boehm 32d7e5881b * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
From-SVN: r55103
2002-06-29 17:29:51 +00:00
GCC Administrator 49e9776d06 Daily bump.
From-SVN: r55097
2002-06-29 07:16:49 +00:00
Phil Edwards 3b0a136275 configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...
2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in (gcc_gxx_include_dir):  Change to match versioned
	C++ headers if --enable-version-specific-runtime-libs is used.
	* configure:  Regenerate.

From-SVN: r55089
2002-06-29 00:20:11 +00:00
Stephane Carrez 5a94180f96 m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing modes.
* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
	avoid the auto increment addressing modes.
	("*subsi3"): Likewise.
	(split for add/sub on address): For 68HC12 push the value on
	the stack and do the operation with a pop.

From-SVN: r55084
2002-06-28 23:20:44 +02:00
Stephane Carrez c34ca51032 m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
	* config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
	Declare.
	* config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
	do not reorder basic blocks at the end when optimizing for size.

From-SVN: r55080
2002-06-28 22:55:10 +02:00
Stephane Carrez 05bad4efb4 m68hc11.c (autoinc_mode): New function.
* config/m68hc11/m68hc11.c (autoinc_mode): New function.
	(m68hc11_make_autoinc_notes): New function.
	(m68hc11_split_move): Be very cautious when spliting a move with
	auto increment/decrement modes because this may result in incompatible
	directions; add REG_INC notes to the resulting insn for CSE reg.

From-SVN: r55078
2002-06-28 22:31:45 +02:00
Stephane Carrez 4588f3146f m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.
* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
	can be a valid address.

From-SVN: r55074
2002-06-28 21:58:32 +02:00
Bob Wilson eef2682797 xtensa-protos.h (xtensa_return_addr): Declare.
* config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
        config/xtensa/xtensa.c (xtensa_return_addr): New function.
        config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
        config/xtensa/xtensa.md (fix_return_addr): New pattern.

From-SVN: r55072
2002-06-28 19:40:32 +00:00
Bob Wilson 7dc0c8c19f xtensa.h (FUNCTION_PROFILER): Respect flag_pic when generating the call to _mcount.
* config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
        when generating the call to _mcount.
        (NO_PROFILE_COUNTERS): Define.

From-SVN: r55065
2002-06-28 16:57:42 +00:00
Bernd Schmidt 25c8078bc6 Prevent making paradoxical FLOAT_MODE subregs.
From-SVN: r55063
2002-06-28 12:36:04 +00:00
Benjamin Kosnik 2539b03b4e [multiple changes]
2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_compatibility: New.
	* include/c_compatibility/assert.h: New.
	* include/c_compatibility/ctype.h: New.
	* include/c_compatibility/errno.h: New.
	* include/c_compatibility/float.h: New.
	* include/c_compatibility/iso646.h: New.
	* include/c_compatibility/limits.h: New.
	* include/c_compatibility/locale.h: New.
	* include/c_compatibility/math.h: New.
	* include/c_compatibility/setjmp.h: New.
	* include/c_compatibility/signal.h: New.
	* include/c_compatibility/stdarg.h: New.
	* include/c_compatibility/stddef.h: New.
	* include/c_compatibility/stdio.h: New.
	* include/c_compatibility/stdlib.h: New.
	* include/c_compatibility/string.h: New.
	* include/c_compatibility/time.h: New.
	* include/c_compatibility/wchar.h: New.
	* include/c_compatibility/wctype.h: New.

	* include/c/std_cerrno.h: Get out of the way... define errno.
	* include/c/std_cmath.h: Add abs, modf overloads.
	Undefine C99 isms. Still not sure how to deal with this sanely.
	* include/c/std_csetjmp.h: Tweak.
	* include/c/std_cwchar.h: Include cstddef for size_t.

	* include/c_std/std_cmath.h: Remove extra function.

	Pendantic std usage in testsuites.
	* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
	with std.
	* testsuite/17_intro/header_cwchar.cc: Tweak.
	* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
	std::setlocale.
	* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
	* testsuite/22_locale/ctype_to_char.cc (test05): Same.
	* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
	* testsuite/22_locale/ctype_is_char.cc (test05): Same.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
	* testsuite/22_locale/time_get_members_char.cc (test08): Same.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/time_put_members_char.cc (test04): Same.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/num_put_members_char.cc (test04): Same.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
	* testsuite/22_locale/num_get_members_char.cc: Same.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
	* testsuite/22_locale/money_put_members_char.cc (test07): Same.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
	* testsuite/22_locale/money_get_members_char.cc (test08): Same.
	* testsuite/22_locale/messages_members_char.cc (test03): Same.
	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/collate_members_char.cc (test04): Same.
	* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
	* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
	* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

	* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
	c_sources.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

	* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
	Use size_type instead of unsigned long.

2002-06-28  Steve Ellcey  <sje@cup.hp.com>

	* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
	wchar types.
	(_S_min_len): Ditto.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Add rules.
	* include/Makefile.in: Regenerate.

	* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* configure.target (c_model, c_compatibility): Add.

	* libsupc++/Makefile.am (c_sources): New.
	(libsupc___la_SOURCES): Add c_sources.
	(LTCOMPILE): Remove INCLUDES.
	(GCC_INCLUDES): New.
	(C_COMPILE): New, like COMPILE but without INCLUDES.
	(cxa_demangle.o): Use C_COMPILE.
	(dyn-string.o): Use C_COMPILE.

	* include/c/std_cstdarg.h: Define __need___va_list.
	* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
	need_NULL, need_offsetof.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
	* include/c/std_cwctype.h: Guard.

	* libsupc++/eh_alloc.cc: Tweak include order.
	* libsupc++/pure.cc: Use cstdio.
	* libsupc++/new_op.cc: Remove malloc forward declaration, as
	cstdlib brings it in. Use std::malloc.

	* src/Makefile.am (sources): Remove cmath.cc.
	* src/Makefile.in: Regenerate.
	* src/cmath.cc: Remove.

From-SVN: r55062
2002-06-28 08:22:45 +00:00
GCC Administrator b9a839d7e9 Daily bump.
From-SVN: r55058
2002-06-28 07:17:03 +00:00
Benjamin Kosnik bc951f5dcb configure.in (INTERFACE): Remove.
2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (INTERFACE): Remove.
	(release_VERSION): Remove.
	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
	(libstdcxx_interface): Change. Use gcc methods to determine version.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.

From-SVN: r55052
2002-06-28 02:02:11 +00:00
Benjamin Kosnik ec5422d499 config.if (libstdcxx_incdir): Version C++ headers.
2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

	* config.if (libstdcxx_incdir): Version C++ headers.
	(cxx_incdir): Remove.

From-SVN: r55051
2002-06-28 01:53:37 +00:00
Bob Wilson e977dae611 xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass flag_function_sections as new 3rd arg to resolve_unique_section.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass
        flag_function_sections as new 3rd arg to resolve_unique_section.

From-SVN: r55047
2002-06-27 23:35:13 +00:00
Neil Booth ef77605348 re PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)
PR preprocessor/7070
	* c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
testsuite:
	* gcc.dg/Wunknownprag.c: New tests.

From-SVN: r55045
2002-06-27 22:27:13 +00:00
Mark Mitchell 4b3883dccb re PR c++/6695 (Regression: template friend declaration doesn't work)
PR c++/6695
	* pt.c (tsubst_friend_class): Substitute into the context of the
	friend before using it.

	PR c++/6695
	* g++.dg/template/friend7.C: New file.

From-SVN: r55043
2002-06-27 21:48:01 +00:00
No Author c9bdf8623f This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55042
2002-06-27 21:48:01 +00:00
Benjamin Kosnik 2439731f93 acinclude.m4: Fix last checkin.
2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4: Fix last checkin.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r55040
2002-06-27 20:24:39 +00:00
Gerald Pfeifer 4b8b288273 install.texi (Binaries): Add Sinix/Reliant Unix.
* doc/install.texi (Binaries): Add Sinix/Reliant Unix.  Move
	Hitachi entry.  Make punctuation more consistent.

From-SVN: r55038
2002-06-27 19:11:31 +00:00
Matt Kraai 7b6e84f23f install.texi: Change ` bit' to `-bit'.
* doc/install.texi: Change ` bit' to `-bit'.
	* doc/md.texi: Change `-bits' to `-bit'.
	* doc/tm.texi: Change `-bits' to ` bits'.

From-SVN: r55034
2002-06-27 17:48:20 +00:00
GCC Administrator a56950977b Daily bump.
From-SVN: r55024
2002-06-27 07:16:39 +00:00
GCC Administrator 51b0c9d359 Daily bump.
From-SVN: r55005
2002-06-26 07:16:47 +00:00
DJ Delorie a084ca93dc acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.
* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
GLIBCPP_TOPREL_CONFIGURE.
* aclocal.m4: Likewise.
* configure.in: Call it before AC_CANONICAL_SYSTEM.
* configure: Regenerate.

From-SVN: r55003
2002-06-26 00:15:31 -04:00
Andreas Schwab 903c4b4bed * expr.c (JSR): Avoid undefined operation on PC.
From-SVN: r54986
2002-06-25 13:26:04 +00:00
GCC Administrator 554945ab0f Daily bump.
From-SVN: r54980
2002-06-25 07:16:49 +00:00
David S. Miller 53544d56bf sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
2002-06-24  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the
	32-bit ABI libfuncs to NULL.

	* expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
	optabs if op1 is const0_rtx.

From-SVN: r54958
2002-06-24 09:50:44 -07:00
Phil Edwards 06716c29f0 configure: Revert in-srcdir redirect upon request.
2002-06-24  Phil Edwards  <pme@gcc.gnu.org>

	* configure:  Revert in-srcdir redirect upon request.
	* .cvsignore:  Add Makefile.
	* Makefile:  Removed.

From-SVN: r54954
2002-06-24 16:14:28 +00:00
GCC Administrator 283af0e69c Daily bump.
From-SVN: r54945
2002-06-24 07:19:05 +00:00
Tom Tromey ee4173c1b8 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am ($(srcdir)/java/lang/Object.h,
	$(srcdir)/java/lang/Class.h): Added dummy targets.

From-SVN: r54935
2002-06-24 00:15:47 +00:00
Matt Thomas 6fa45857df decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".
* decl.c (finish_function): Change "#ifdef VMS_TARGET" to
	"#if VMS_TARGET".

From-SVN: r54933
2002-06-23 21:12:33 +00:00
GCC Administrator e56fd100c2 Daily bump.
From-SVN: r54920
2002-06-23 07:21:22 +00:00
Andreas Jaeger 7557f453d0 reg-stack.c (convert_regs_exit): Push the registers to stack in proper order.
* reg-stack.c (convert_regs_exit): Push the registers to stack in
        proper order.

        * gcc.c-torture/execute/complex-6.c: New.

From-SVN: r54918
2002-06-23 07:34:46 +02:00
No Author 0c60978fb0 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54917
2002-06-23 05:34:46 +00:00
Ulrich Weigand f4f7bef519 re PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)
PR middle-end/6963
	* function.c (assign_stack_temp_for_type): Do not return
	the same MEM rtx for multiple uses of a stack slot.

From-SVN: r54913
2002-06-22 14:29:26 +00:00
David S. Miller 0c37ca1c84 PR target/6841 target/6770 target/6719
2002-06-22  David S. Miller  <davem@redhat.com>

	PR target/6841 target/6770 target/6719
	* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
	NO_REGS	for constant X when CLASS is GENERAL_OR_FP_REGS or
	GENERAL_OR_EXTRA_FP_REGS.

From-SVN: r54909
2002-06-22 05:02:57 -07:00
GCC Administrator 071c7b0bf1 Daily bump.
From-SVN: r54902
2002-06-22 07:17:05 +00:00
Rainer Orth 5361382c4d re PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8 32-bit and 64-bit multilib)
* config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
	multilibs.
	* config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
	* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Likewise.
	Fixes PR other/6836.

From-SVN: r54880
2002-06-21 11:25:58 +00:00
GCC Administrator 2b54f92ebc Daily bump.
From-SVN: r54874
2002-06-21 07:38:55 +00:00
Bo Thorsen d72a606a72 linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 support so multilib works again.
2002-06-21  Bo Thorsen  <bo@suse.de>

	* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
	support so multilib works again. And don't define this at all
	when -Dinhibit_libc is used.

From-SVN: r54872
2002-06-21 09:04:46 +02:00
Richard Henderson c883fe8951 typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
* typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
        Call put_var_into_stack.
	* g++.dg/opt/asm1.C: New.

From-SVN: r54864
2002-06-20 16:25:11 -07:00
No Author 67c0982255 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54863
2002-06-20 23:25:11 +00:00
David Edelsohn 93629b1dfb * configure.target (CPULIMITSH): Use powerpc directory for rs6000.
From-SVN: r54841
2002-06-20 13:19:46 -04:00
Kriang Lerdsuwanakij 5d95e81c42 re PR c++/6892 (ICE from #include inside switch(){} inside template function)
PR c++/6892
	* pt.c (tsubst_expr): Handle FILE_STMT.

From-SVN: r54838
2002-06-20 15:16:14 +00:00
Kriang Lerdsuwanakij db0f2e2592 re PR c++/6723 (ICE on source code successfully compiled by previous versions)
PR c++/6723
	* pt.c (lookup_template_class): Don't build complete argument of
	BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template
	argument.

	* g++.dg/template/ttp4.C: New test.

From-SVN: r54837
2002-06-20 15:11:09 +00:00
No Author cc43a7b2f8 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54836
2002-06-20 15:11:09 +00:00
Jan Hubicka 309d563876 combine.c (gen_lowpart_for_combine): Avoid calling of simplify_gen_subreg on VOIDmode.
* combine.c (gen_lowpart_for_combine): Avoid calling of
	simplify_gen_subreg on VOIDmode.

	* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.

From-SVN: r54833
2002-06-20 14:46:34 +00:00
Richard Henderson 71c0a5fe74 c-common.c (c_common_get_alias_set): Correctly handle characters.
* c-common.c (c_common_get_alias_set): Correctly handle characters.
        Rearrange order of expressions; don't handle vectors here.
        * alias.c (get_alias_set): Let vectors match their components.

From-SVN: r54823
2002-06-20 00:35:46 -07:00
No Author 92e8490dcb This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54822
2002-06-20 07:35:46 +00:00
GCC Administrator 478ee4e6b1 Daily bump.
From-SVN: r54817
2002-06-20 07:19:22 +00:00
Jakub Jelinek 42f32caf1d * g++.dg/opt/vt1.C: Fix regexp.
From-SVN: r54780
2002-06-19 16:38:56 +02:00
GCC Administrator efe2181a12 Daily bump.
From-SVN: r54773
2002-06-19 07:17:39 +00:00
Phil Edwards 9745d9367c configure: Remove garbage from previous commit.
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

	* configure:  Remove garbage from previous commit.

From-SVN: r54764
2002-06-18 20:42:23 +00:00
Phil Edwards 5f974d3781 configure: For in-source builds, make a subdir and re-exec there.
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

	* configure:  For in-source builds, make a subdir and re-exec there.
	* Makefile:  New file.  Pass targets through to build directory.
	* .cvsignore:  No longer ignore "Makefile".

From-SVN: r54761
2002-06-18 20:02:49 +00:00
No Author 0a62a06c62 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54760
2002-06-18 20:02:49 +00:00
Hans-Peter Nilsson 8085d74289 Fix typo in comment
From-SVN: r54742
2002-06-18 15:37:34 +00:00
GCC Administrator 6bca54a6f8 Daily bump.
From-SVN: r54734
2002-06-18 07:35:23 +00:00
Hans-Peter Nilsson 8823c76299 * gcc.c-torture/execute/20020615-1.c: Correct bug-description.
From-SVN: r54724
2002-06-17 23:34:02 +00:00
Hans-Peter Nilsson fd4858461e re PR target/7042 (cris-elf miscompiles line_hints in ghostscript - "return" delay slot bug)
PR target/7042
	* config/cris/cris.c (cris_simple_epilogue): Kludge around reorg.c
	bug by saing that the epilogue isn't simple if there's a
	non-empty current_function_epilogue_delay_list.
	* config/cris/cris.md ("return"): Add sanity check asserting that
	current_function_epilogue_delay_list is empty.

From-SVN: r54721
2002-06-17 22:06:34 +00:00
Richard Henderson e12a22a625 i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
* config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
        of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

From-SVN: r54714
2002-06-17 13:21:49 -07:00
Richard Henderson 5afe444fa0 * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
From-SVN: r54710
2002-06-17 11:14:44 -07:00
GCC Administrator d9fa96511b Daily bump.
From-SVN: r54697
2002-06-17 07:22:22 +00:00
Richard Henderson 9b046a6c92 tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test after template instantiation.
* tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test
        after template instantiation.
	* g++.dg/opt/inline3.C: New.

From-SVN: r54689
2002-06-16 17:29:37 -07:00
No Author cba9cc8912 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54688
2002-06-17 00:29:37 +00:00
Jan Hubicka 20056a3a0c i386-protos.h (x86_field_alignment): Declare.
* i386-protos.h (x86_field_alignment): Declare.
	* i386.c (x86_field_alignment): Define.
	* i386.h (ADJUST_FIELD_ALIGNMENT): New.
	(BIGGEST_FIELD_ALIGNMENT): Kill.

From-SVN: r54685
2002-06-16 22:35:06 +00:00
Richard Henderson dab83da033 regclass.c (globalize_reg): Update regs_invalidated_by_call.
* regclass.c (globalize_reg): Update regs_invalidated_by_call.
	* gcc.dg/20020616-1.c: New.

From-SVN: r54683
2002-06-16 14:54:12 -07:00
No Author 4a42d1c742 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54682
2002-06-16 21:54:12 +00:00
Richard Henderson 001afe5903 dwarf2out.c (modified_type_die): Don't assign the qualified die to the unqualified type.
* dwarf2out.c (modified_type_die): Don't assign the qualified die
        to the unqualified type.

From-SVN: r54677
2002-06-16 13:54:30 -07:00
GCC Administrator 098bf2ff56 Daily bump.
From-SVN: r54661
2002-06-16 07:31:57 +00:00
Hans-Peter Nilsson 5e38d1c175 * gcc.c-torture/execute/20020615-1.c: New test.
From-SVN: r54652
2002-06-15 18:17:06 +00:00
No Author 55adc18d28 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54651
2002-06-15 18:17:06 +00:00
Jeff Sturm d85ed0e858 sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
2002-06-14  Jeff Sturm  <jsturm@one-point.com>

	* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
	SPARC_STACK_BIAS.

From-SVN: r54646
2002-06-15 07:14:50 -07:00
GCC Administrator 106148b135 Daily bump.
From-SVN: r54639
2002-06-15 07:16:34 +00:00
Eric Botcazou 124797a961 loop.c (check_final_value): Use v->always_executed instead of v->always_computable.
* loop.c (check_final_value): Use v->always_executed
	instead of v->always_computable.
	* unroll.c (final_giv_value): Don't calculate the final
	value as a function of the biv if the giv is not computed
	for every loop iteration.

From-SVN: r54635
2002-06-14 18:12:06 -07:00
No Author 987f89e9e9 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54631
2002-06-15 00:43:49 +00:00
Eric Botcazou adcd4a5800 convert.c (convert_to_integer): Don't pass the truncation down when the target type is signed.
* convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
	the truncation down when the target type is signed.
	[trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
	* fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
	the conversion if the target type is a smaller type.

From-SVN: r54628
2002-06-14 17:42:25 -07:00
J.T. Conklin 63a96a92da configure.in (target_alias): Fix.
2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>

	* configure.in (target_alias): Fix.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.

From-SVN: r54620
2002-06-14 18:43:35 +00:00
GCC Administrator 12f855c8ad Daily bump.
From-SVN: r54607
2002-06-14 07:16:38 +00:00
Jan Hubicka e9b1b19a74 * i386.c (ix86_expand_movstr): Fix pasto.
From-SVN: r54591
2002-06-13 16:29:11 +00:00
Jan Hubicka e45e704f91 * reload.c (find_valid_class): Fix thinko in my previous patch.
From-SVN: r54587
2002-06-13 16:08:12 +00:00
GCC Administrator a13003c716 Daily bump.
From-SVN: r54575
2002-06-13 07:16:37 +00:00
Hans-Peter Nilsson dc9c062251 re PR target/6997 (CRIS: compare result incorrect -- sleu pattern in cris.md at fault)
PR target/6997
	* config/cris/cris.md ("sleu"): Set attribute "cc" to "none".

From-SVN: r54565
2002-06-12 22:52:57 +00:00
Hans-Peter Nilsson b45407a87e * gcc.c-torture/execute/20020611-1.c: New test.
From-SVN: r54564
2002-06-12 22:50:17 +00:00
No Author b8da874b22 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54563
2002-06-12 22:50:17 +00:00
Daniel Jacobowitz c4ecb13095 elf.h (DWARF2_DEBUG_INFO): Define.
* config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
        * config/mips/mips.c (mips_output_filename): Don't print a
        ".file" directive if we are using DWARF-2.
        (mips_output_function_prologue): Do not emit source file
        name for TARGET_GAS.

From-SVN: r54559
2002-06-12 11:04:11 -07:00
Kriang Lerdsuwanakij 207d874845 * g++.dg/template/typename2.C: Update error message.
From-SVN: r54554
2002-06-12 15:44:01 +00:00
GCC Administrator 1f2ea413a4 Daily bump.
From-SVN: r54547
2002-06-12 07:17:05 +00:00
J.T. Conklin bcbef375ce configure.target: Set os_include_dir to config/os/qnx/qnx6.1 under *-qnx6.[12]*.
2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
            Benjamin Kosnik  <bkoz@redhat.com>

	* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
	under *-qnx6.[12]*.
	* configure.in: Add support for *-qnx6.[12]*.
	* configure: Regenerate.

	* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
	New directories.
	* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
	ctype_noninline.h, os_defines.h: New files.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>

From-SVN: r54520
2002-06-11 18:11:06 +00:00
No Author d0a7e6f6d6 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54519
2002-06-11 18:11:06 +00:00
Ulrich Weigand d0d8a010cd s390.md (movsi): Only use floating point register alternatives when operands are already fprs.
* config/s390/s390.md (movsi): Only use floating point
	register alternatives when operands are already fprs.
	(movdi_31, movdi_64): Likewise.

From-SVN: r54507
2002-06-11 14:49:17 +00:00
Ulrich Weigand a37411d101 s390.md (reload_base, ltorg): Remove.
* config/s390/s390.md (reload_base, ltorg): Remove.
	* s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
	s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
	* s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
	s390_asm_output_pool_prologue): Likewise.
	* s390.h (s390_pool_start_insn): Likewise.

	* s390.c (s390_output_symbolic_const): Remove support for
	old-style pool chunks.
	(s390_function_epilogue): Likewise.
	(s390_output_constant_pool): Likewise.  Also, fix incorrect
	alignment for 64-bit literal pools.
	(print_operand_address): Remove 'y' and 'Y' format flags.
	* s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
	old-style pool chunks.
	(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
	(ASM_OUTPUT_POOL_EPILOGUE): Remove.
	(S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove.

	* s390.c (consttable_operand): New function.
	* s390-protos.h (consttable_operand): Declare it.
	* s390.h (PREDICATE_CODES): Add consttable_operand.
	* s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
	consttable_sf, consttable_df, pool_start_31, pool_end_31,
	pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
	* s390.c (struct constant, struct constant_pool): New data types.
	(constant_modes, gen_consttable): New variables.
	(s390_start_pool, s390_end_pool, s390_add_pool,
	s390_dump_pool, s390_free_pool): New functions.
	(s390_chunkify_pool): Completely reimplement literal pool
	overflow handling.

	* s390.c (s390_pool_overflow): New variable.
	* s390.h (s390_pool_overflow): Declare it.
	* s390.md (cjump, icjump): Use it to adapt length for out-of-range
	jumps in literal pool overflow situations.

	* s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
	(s390_frame_info): Account for possible use of RETURN_REGNUM
	by new literal pool overflow code.
	(s390_emit_prologue): Likewise.

From-SVN: r54501
2002-06-11 14:06:37 +00:00
GCC Administrator 53d93743f2 Daily bump.
From-SVN: r54489
2002-06-11 07:16:49 +00:00
Bryce McKinlay 22bc3b8e89 Don't use RTL inlining. Fix for PR java/6820.
* lang.c (LANG_HOOKS_POST_OPTIONS): Define.
	(flag_really_inline): New.
	(java_decode_option): Set flag_really_inline if -finline-functions
	is seen.
	(java_post_options): New function. Turn off inlining unless
	flag_really_inline is set.

From-SVN: r54487
2002-06-11 07:20:12 +01:00
Jakub Jelinek 9b81c803fd re PR rtl-optimization/6759 (ice when compiling 32 bit sparc code)
PR optimization/6759
	* cse.c (cse_insn): Fold src_eqv just once, store it folded back into
	the REQ_EQUAL note.

	* g++.dg/opt/cse1.C: New test.

From-SVN: r54471
2002-06-11 00:12:08 +02:00
No Author fb8685fc01 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54470
2002-06-10 22:12:08 +00:00
Jakub Jelinek 9ab019c64a re PR c/6660 (Typedeffed unnamed structs/unions do not compile with gcc-3.1)
PR c/6660
	* c-decl.c (grokfield): Allow user defined types if they declare
	structs or unions for unnamed fields.

	* gcc.dg/20020527-1.c: New test.

From-SVN: r54468
2002-06-10 23:53:39 +02:00
No Author 51173468b5 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54467
2002-06-10 21:53:39 +00:00
Jakub Jelinek deeab0211f re PR c/6809 (GCC 3.1 cc1 crashes if -fverbose-asm is specified)
PR c/6809
	* print-rtl.c (print_mem_expr): Don't crash on unnamed fields.

	* gcc.dg/20020530-1.c: New test.

From-SVN: r54465
2002-06-10 23:51:07 +02:00
No Author 69b2dffd65 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54464
2002-06-10 21:51:07 +00:00
Jakub Jelinek 35567e91a3 varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
* varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
	(compare_constant): Likewise.
	(output_addressed_constants): Likewise.

	* g++.dg/opt/vt1.C: New test.

From-SVN: r54461
2002-06-10 23:44:43 +02:00
No Author 7a9edfbc89 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54460
2002-06-10 21:44:43 +00:00
Jakub Jelinek d9f534efa5 cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't merge bb with itself.
* cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't
	merge bb with itself.

	* gcc.c-torture/compile/20020605-1.c: New test.

From-SVN: r54458
2002-06-10 23:39:48 +02:00
No Author ab0d95db27 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54457
2002-06-10 21:39:48 +00:00
Steve Ellcey 0257ee24ed locale-inst.cc (__codecvt_abstract_base): Put inside _GLIBCPP_USE_WCHAR_T ifdef.
* src/locale-inst.cc (__codecvt_abstract_base):
	Put inside _GLIBCPP_USE_WCHAR_T ifdef.
	* include/bits/istream.tcc (basic_istream): Ditto.
	(ws) Ditto.
	(operator>>) Ditto.
	* include/bits/ostream.tcc (basic_ostream): Ditto.
	(endl): Ditto.
	(ends): Ditto.
	(flush): Ditto.
	(operator<<): Ditto.

From-SVN: r54455
2002-06-10 21:15:05 +00:00
GCC Administrator 2558cd2a1e Daily bump.
From-SVN: r54434
2002-06-10 07:20:02 +00:00
Bryce McKinlay 19ebb17e95 configure.host: Disable hash synchronization and slow_pthread_self for cygwin.
* configure.host: Disable hash synchronization and slow_pthread_self
	for cygwin.

From-SVN: r54429
2002-06-10 05:15:26 +01:00
GCC Administrator 03b65ae5ec Daily bump.
From-SVN: r54401
2002-06-09 07:19:33 +00:00
H.J. Lu c3ca027265 jcf-path.c (jcf_path_init): Allocate 1 more byte for string.
2002-06-08  H.J. Lu  (hjl@gnu.org)

	* jcf-path.c (jcf_path_init): Allocate 1 more byte for string.

From-SVN: r54383
2002-06-08 09:33:46 -07:00
Benjamin Kosnik fd35929210 [multiple changes]
2002-06-08  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/backwards/strstream_members.cc: New.

2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>

	* include/backwards/strstream: Format.
	* src/strstream.cc: Format.

2002-06-08  Andreas Schwab  <schwab@suse.de>

	* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
	_M_buf_size and _M_buf_size_opt to the new buffer and size.

From-SVN: r54377
2002-06-08 15:15:44 +00:00
No Author b8cfd959a8 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54376
2002-06-08 15:15:44 +00:00
Benjamin Kosnik 85c00152ea ctype_noninline.h: Tweak format.
2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>

	* config/os/generic/bits/ctype_noninline.h: Tweak format.

From-SVN: r54373
2002-06-08 14:09:04 +00:00
GCC Administrator 2b360a08c9 Daily bump.
From-SVN: r54364
2002-06-08 07:16:48 +00:00
Jason Thorpe f96aad4f89 config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
* config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
* config/mips/t-netbsd: New file.

From-SVN: r54355
2002-06-07 23:35:32 +00:00
No Author b6f12a23e7 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54354
2002-06-07 23:35:32 +00:00
H.J. Lu 85b1541a37 configure.in: Add --enable-__cxa_atexit.
2002-06-07  H.J. Lu  (hjl@gnu.org)

	* configure.in: Add --enable-__cxa_atexit.
	* configure: Regenerated.
	* config.in: Likewise.

	* defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
	not defined.

2002-06-07  H.J. Lu  (hjl@gnu.org)

	* decl2.c (flag_use_cxa_atexit): Set to DEFAULT_USE_CXA_ATEXIT.

From-SVN: r54344
2002-06-07 10:12:16 -07:00
Jason Thorpe 68bd0600d5 * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
From-SVN: r54341
2002-06-07 16:13:32 +00:00
GCC Administrator 5e0f603cd1 Daily bump.
From-SVN: r54333
2002-06-07 07:16:35 +00:00
Adam Megacz 8f083a90c9 natFileDescriptorWin32.cc (open): Disable Win32 file locking, just like the Sun JVM does.
2002-06-06  Adam Megacz <adam@xwt.org>

        * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
        locking, just like the Sun JVM does.

From-SVN: r54320
2002-06-06 20:06:03 +00:00
Nicola Pero de94fa9739 Fixed regression for the Objective-C compiler, which was miscompiling
simple C code

From-SVN: r54313
2002-06-06 08:48:23 +00:00
Nicola Pero 20b74f79c5 Define some missing language hooks: LANG_HOOKS_GET_ALIAS_SET and
LANG_HOOKS_SAFE_FROM_P

From-SVN: r54312
2002-06-06 08:46:05 +00:00
GCC Administrator 63f2be4820 Daily bump.
From-SVN: r54306
2002-06-06 07:20:25 +00:00
Loren J. Rittle 89d757b909 ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library.
2002-06-05  Loren J. Rittle <ljrittle@acm.org>

	* ltmain.sh: Detect and handle object name conflicts while
	piecewise linking a static library.

From-SVN: r54303
2002-06-05 23:12:58 -07:00
Jeff Law 1b0c40b740 pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it rejects (mem (lo_sum (reg) (unspec)))...
* pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
        rejects (mem (lo_sum (reg) (unspec))), but will allow
        (mem (lo_sum (reg) (symbol_ref)) for PA2.0.

From-SVN: r54290
2002-06-05 13:31:48 -06:00
David Edelsohn 5f9a7678f5 ctype_noninline.h (do_toupper,do_tolower): Call external symbol.
* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
        Call external symbol.

From-SVN: r54285
2002-06-05 11:14:20 -04:00
Paolo Carlini be17bfdb74 2002-06-05 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/money_get_members_char.cc
	(test02): Add decimal point to long double constants.
	* testsuite/22_locale/money_get_members_wchar_t.cc
	(test02): Likewise.
	* testsuite/22_locale/money_put_members_char.cc
	(test02, test03, test06): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc:
	(test02, test03, test06): Likewise.
	* testsuite/22_locale/num_get_members_char.cc:
	(test02, test01): Likewise; suffix long long constants with LL.
	* testsuite/22_locale/num_get_members_wchar_t.cc:
	(test02, test01): Likewise.
	* testsuite/22_locale/num_put_members_char.cc:
	(test02, test01): Likewise.
	* testsuite/22_locale/num_put_members_wchar_t.cc:
	(test02, test01): Likewise.

From-SVN: r54281
2002-06-05 12:08:45 +00:00
GCC Administrator 9f64b688a1 Daily bump.
From-SVN: r54275
2002-06-05 07:18:32 +00:00
Alan Modra 712bfd4c5d * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
From-SVN: r54273
2002-06-05 13:32:27 +09:30
Paolo Carlini 767f038d6f 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
Gaby Dos Reis  <gdr@codesourcery.com>

	* include/bits/basic_string.tcc
	(basic_string::_S_construct(forward_iterator_tag):
	Fix typo in null pointer check.
	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.

Co-Authored-By: Gabriel Dos Reis <gdr@codesourcery.com>

From-SVN: r54257
2002-06-04 19:03:49 +00:00
Mark Mitchell 3f05b66fee [multiple changes]
2002-05-18  Mark Mitchell  <mark@codesourcery.com>
	* java-tree.h (CLASS_BEING_LAIDOUT): Remove duplicate definition.
	* jcf-io.c (dirent.h): Include it.
	(fnmatch.h): Likewise.
	(compare_path): New function.
	(java_or_class_file): Likewise.
	(memoized_dirlist_entry): New type.
	(memoized_dirlist_lookup_eq): New function.
	(memoized_dirlists): New variable.
	(caching_stat): New function.
	(memoized_class_lookup_eq): New function.
	(memoized_class_lookups): Likewise.
	(find_class): Use memoized_class_lookups and caching_stat.
	* jcf.h (JCF_USE_SCANDIR): Define.
	* parse.y (java_expand_classes): Write the class files in reverse
	order.

	2002-05-13  Mark Mitchell  <mark@codesourcery.com>
	* jcf-write.c (write_classfile): Unlink the temporary file if it
	cannot be renamed.  Use concat to build up the name of the
	temporary file.

	2002-05-13  Mark Mitchell  <mark@codesourcery.com>
	* jcf-write.c (write_classfile): Unlink the temporary file if it
	cannot be renamed.  Use concat to build up the name of the
	temporary file.

	2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
	* Makefile.am (all-recursive): Depend on $all_java_class_files so that
	they build first.
	* Makefile.in: Rebuilt.

	2002-05-08  Mark Mitchell  <mark@codesourcery.com>
	* Makefile.am (all_java_source_files): New variable.
	(all_java_class_files): Likewise.
	.java.class: New rule.
	(CLEANFILES): Remove tmp-list.
	* Makefile.in: Regenerated.

From-SVN: r54249
2002-06-04 16:46:07 +00:00
Jan Hubicka 3b6a3a3c16 dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Do not initialize fields past the register table.
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Do not initialize
	fields past the register table.

	* i386.c (classify_argument): Properly handle base classes.

From-SVN: r54246
2002-06-04 16:20:30 +00:00
Jan Hubicka dd79d77593 loop.c (emit_prefetch_instructions): Properly place the address computation.
* loop.c (emit_prefetch_instructions): Properly place the address
	computation.

	* dwarf2out.c (output_call_frame_info): Do not skip unwind info
	when flag_asynchronous_unwind_tables is set.

	* i386-protos.h (x86_output_mi_thunk): Declare.
	* unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
	* i386.c (x86_output_mi_thunk): ... here; handle 64bits.

	* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
	mode.

	* i386.md (movabsdi): Kill broken alternative.

	* i386.c (dbx64_register_map): Fix typo

From-SVN: r54241
2002-06-04 12:48:03 +00:00
GCC Administrator dbe15d12ec Daily bump.
From-SVN: r54234
2002-06-04 07:17:03 +00:00
Marc Espie ba0ab52e7a please nitpicker.
From-SVN: r54213
2002-06-03 11:47:26 +00:00
GCC Administrator 6f0f590e8c Daily bump.
From-SVN: r54208
2002-06-03 07:16:54 +00:00
Marc Espie a69e253729 atomicity.h (__exchange_and_add): Fix inline assembly for old assemblers.
* config/cpu/m68k/bits/atomicity.h(__exchange_and_add):  Fix inline
        assembly for old assemblers.

From-SVN: r54204
2002-06-03 05:27:41 +00:00
Jason Thorpe 3b700820e5 * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
From-SVN: r54195
2002-06-03 00:28:58 +00:00
GCC Administrator 49be29f942 Daily bump.
From-SVN: r54159
2002-06-02 07:26:03 +00:00
GCC Administrator ed56ae237d Daily bump.
From-SVN: r54138
2002-06-01 07:16:29 +00:00
Marcus Meissner f766267565 re PR libstdc++/6886 (bit vector iterator uses wrong 1 constant)
2002-05-31  Marcus Meissner  <meissner@suse.de>

	PR libstdc++/6886
	* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
	* testsuite/23_containers/vector_bool.cc (test02):  New test.

From-SVN: r54130
2002-06-01 00:51:22 +00:00
John David Anglin 5d31f8319d os_defines.h (__glibcpp_long_bits): Define to 64 for hppa 64-bit port.
* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
	to 64 for hppa 64-bit port.
	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.

From-SVN: r54127
2002-06-01 00:41:20 +00:00
John David Anglin f924a1423a pa-linux.h (WCHAR_UNSIGNED): Define to 0.
* pa-linux.h (WCHAR_UNSIGNED): Define to 0.
	* pa.h (WCHAR_UNSIGNED): Define to 1.

From-SVN: r54126
2002-06-01 00:35:19 +00:00
John David Anglin 1790d4cdf4 pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
	(output_call): Likewise.

From-SVN: r54120
2002-05-31 20:54:27 +00:00
Roman Lechtchinsky 06e041b8c1 configure.in: Fix typo in the code checking for sys_errlist.
* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.

From-SVN: r54115
2002-05-31 15:36:15 -04:00
GCC Administrator cba5fcdf38 Daily bump.
From-SVN: r54092
2002-05-31 07:16:38 +00:00
Richard Henderson 8c5f811911 re PR rtl-optimization/6822 (GCC 3.1.1 - Internal compiler error in extract_insn, at recog.c:2132)
PR optimization/6822
        * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
        to unsigned int for op1 comparisons.  Use gen_int_mode.

	* gcc.c-torture/compile/20020530-1.c: New.

Co-Authored-By: Eric Botcazou <ebotcazou@multimania.com>

From-SVN: r54078
2002-05-30 16:13:20 -07:00
No Author 44776a0a45 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54077
2002-05-30 23:13:20 +00:00
Marc Espie a162bb8eb5 configure.in: Always check for sys/types.h.
2002-05-30	Marc Espie <espie@openbsd.org>
	* configure.in:  Always check for sys/types.h.
	* configure:  Regenerate.

From-SVN: r54073
2002-05-30 21:12:55 +00:00
Marc Espie bcdbdab5ec config.gcc (sparc64-*-openbsd*): New.
2002-05-30	Marc Espie <espie@openbsd.org>
	* config.gcc (sparc64-*-openbsd*):  New.
	* config/sparc/openbsd1-64.h:  New.
	* config/sparc/openbsd64.h:  New.

From-SVN: r54068
2002-05-30 20:42:33 +00:00
No Author 4f59024afe This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54067
2002-05-30 20:42:33 +00:00
Jason Thorpe 8ab4e27ada netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
* config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to
96 if not __mc68010__.

From-SVN: r54060
2002-05-30 17:25:07 +00:00
Andreas Schwab 435ac11dc1 sysv4.h (DO_SELECT_SECTION): Also handle FUNCTION_DECLs.
* config/ia64/sysv4.h (DO_SELECT_SECTION): Also handle
	FUNCTION_DECLs.

From-SVN: r54056
2002-05-30 12:42:27 +00:00
GCC Administrator cb8cfccb59 Daily bump.
From-SVN: r54044
2002-05-30 07:16:46 +00:00
Jason Thorpe 7dc562bab0 netbsd64.h (CPP_LP64_SPEC): Define.
* config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
cpp_subtarget specs.
(CPP_SPEC): Redefine to include %(cpp_subtarget).

From-SVN: r54041
2002-05-30 04:00:33 +00:00
Hans-Peter Nilsson 7a54d982ae md.texi (Patterns): Note pattern condition pitfall for unnamed insn.
* doc/md.texi (Patterns): Note pattern condition pitfall
	for unnamed insn.

From-SVN: r54033
2002-05-30 00:50:06 +00:00
Jason Thorpe 2d219db933 netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.
* config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
-D__arch64__.  Add -D_LP64.
(CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
from sparc.h.
(CPP_ARCH64_SPEC): Likewise.
(NO_BUILTIN_PTRDIFF_TYPE): Undef.
(NO_BUILTIN_SIZE_TYPE): Undef.

From-SVN: r54029
2002-05-29 23:30:17 +00:00
Jason Thorpe 910156f119 * config.gcc (alpha-*-netbsd*): Don't use crtstuff.
From-SVN: r54025
2002-05-29 22:33:00 +00:00
Jason Thorpe a4febd3b9f * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
From-SVN: r54024
2002-05-29 22:12:47 +00:00
Richard Henderson 4da1d80483 i386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca.
* config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
        alignment for alloca.

        * gcc.c-torture/execute/alloca-1.c: New.

From-SVN: r54020
2002-05-29 13:34:28 -07:00
No Author e2c77eaf4a This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54019
2002-05-29 20:34:28 +00:00
Neil Booth 1bbf0fa6c0 re PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of #define's)
PR preprocessor/6844
	* cppmacro.c (cpp_macro_definition): Reserve space for terminating
	NUL.

From-SVN: r54013
2002-05-29 19:26:04 +00:00
Joel Sherrill 12b8111d40 rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
2002-05-29  Joel Sherrill <joel@OARcorp.com>

        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.

From-SVN: r54008
2002-05-29 13:17:02 -04:00
Hans-Peter Nilsson e659fc37b3 re PR target/6838 (cris-elf ICE (gcc 3.1))
PR target/6838
	* config/cris/cris.md: Fix typos and thinkos in comments.
	(splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
	Remove spurious mode specifier on operand 2.

From-SVN: r54003
2002-05-29 16:26:00 +00:00
Hans-Peter Nilsson 94ddf1ca2e * gcc.c-torture/execute/20020529-1.c: New test.
From-SVN: r54001
2002-05-29 16:18:20 +00:00
No Author 3abfeec234 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54000
2002-05-29 16:18:20 +00:00
Ulrich Weigand d0ad223c57 s390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.
* config/s390/s390.c (legitimate_pic_operand_p): Do not
accept symbolic LARL operands.
(s390_emit_epilogue): Do not set FRAME_RELATED_P on
epilogue insns.

From-SVN: r53992
2002-05-29 13:27:28 +00:00
Nick Clifton ae696202b2 (libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
From-SVN: r53989
2002-05-29 10:59:21 +00:00
GCC Administrator cc46ac78e2 Daily bump.
From-SVN: r53983
2002-05-29 07:17:18 +00:00
Loren J. Rittle 059d3a8770 c++config (__USE_MALLOC): Report case where the user improperly defined it on the command line.
libstdc++/6641
	* include/bits/c++config (__USE_MALLOC): Report case where
	the user improperly defined it on the command line.

From-SVN: r53979
2002-05-29 01:07:35 +00:00
Marc Espie 61ee5d2362 openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h.
* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
	inherited from gas.h.
	(ASM_QUAD):  Undef.  OpenBSD does not support it.

From-SVN: r53972
2002-05-28 21:29:47 +00:00
Danny Smith 79ebb25bde install.texi (binaries): Change mingw binaries link to www.mingw.org.
* doc/install.texi (binaries): Change mingw binaries
	link to www.mingw.org.

From-SVN: r53970
2002-05-28 21:24:02 +00:00
Richard Henderson 6ffa1974d4 i386.c (ix86_compute_frame_layout): Do not add bottom alignment for leaf functions.
* config/i386/i386.c (ix86_compute_frame_layout): Do not add
        bottom alignment for leaf functions.

From-SVN: r53966
2002-05-28 13:29:43 -07:00
Bo Thorsen eebac1c4bf ffi.c (ffi_prep_incoming_args_SYSV): Remove avn here too.
2002-05-28  Bo Thorsen  <bo@suse.de>

	* src/x86/ffi.c (ffi_prep_incoming_args_SYSV): Remove avn
	here too.

From-SVN: r53954
2002-05-28 11:22:08 +02:00
GCC Administrator 75919a7603 Daily bump.
From-SVN: r53948
2002-05-28 07:17:48 +00:00
Roger Sayle 6ebc4fc109 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
From-SVN: r53945
2002-05-28 00:05:52 -07:00
Benjamin Kosnik a15ff9784e misc-inst.cc: Define unnecessary algorithm instantiations.
2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

        * src/misc-inst.cc: Define unnecessary algorithm
        instantiations. Break apart instantiations into groupings below.
        * src/fstream-inst.cc: New.
        * src/io-inst.cc: New.
        * src/istream-inst.cc: New.
        * src/ostream-inst.cc: New.
        * src/streambuf-inst.cc: New.
        * src/sstream-inst.cc: New.
        * src/Makefile.am (sources): Add files.
        * src/Makefile.in: Regenerate.

        * acinclude.m4: Work around automake 1.4-p5 bug, change
        AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.

From-SVN: r53933
2002-05-27 15:07:15 +00:00
No Author e842ea1b5b This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53932
2002-05-27 15:07:15 +00:00
Benjamin Kosnik cba8a81465 misc-inst.cc: Define unnecessary algorithm instantiations.
2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

        * src/misc-inst.cc: Define unnecessary algorithm
        instantiations. Break apart instantiations into groupings below.
        * src/fstream-inst.cc: New.
        * src/io-inst.cc: New.
        * src/istream-inst.cc: New.
        * src/ostream-inst.cc: New.
        * src/streambuf-inst.cc: New.
        * src/sstream-inst.cc: New.
        * src/Makefile.am (sources): Add files.
        * src/Makefile.in: Regenerate.

        * acinclude.m4: Work around automake 1.4-p5 bug, change
        AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.

From-SVN: r53931
2002-05-27 15:01:30 +00:00
Bo Thorsen b2374bda40 ffi.c (ffi_prep_args): Remove unused variable and fix formatting.
2002-05-24  Bo Thorsen  <bo@suse.co.uk>

	* src/x86/ffi.c (ffi_prep_args): Remove unused variable and
	fix formatting.

From-SVN: r53925
2002-05-27 15:52:44 +02:00
Benjamin Kosnik 01cc7916dc re PR libstdc++/6795 (stringbuf failure)
2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6795.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h
	(classic_table): Fix.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
	_GLIBCPP_USE_WCHAR_T.
	* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
	* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
	* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.

From-SVN: r53922
2002-05-27 11:50:17 +00:00
Jan Hubicka 0e990db5d4 reload.c (find_valid_class): Accept new argument DEST, choose class accordingly.
* reload.c (find_valid_class): Accept new argument DEST,
	choose class accordingly.
	(push_reload): Update callers.

From-SVN: r53919
2002-05-27 08:40:43 +00:00
GCC Administrator 7a95072097 Daily bump.
From-SVN: r53914
2002-05-27 07:16:54 +00:00
Richard Henderson 558029caef [multiple changes]
2002-05-25  Richard Henderson  <rth@redhat.com>
	* c-pragma.c (apply_pragma_weak): Convert value identifier to
	string for decl_attributes.
	(handle_pragma_weak): Call assemble_alias if we're modifying
	an existing decl.

	* gcc.dg/weak-9.c: New.

	2002-05-15  Richard Henderson  <rth@redhat.com>
	* varasm.c (merge_weak): Remove special case for extern and common.

	2002-05-15  Richard Henderson  <rth@redhat.com>
	* varasm.c (merge_weak): Error for any weakening after definition.
	Adjust weakening after use warning to catch more cases.
	(assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
	* config/alpha/alpha.c (alpha_encode_section_info): Do not abort.

	* gcc.dg/weak-5.c (vfoo1c): No warning here.
	(vfoo1f): Warning here.
	(vfoo1l): Don't redefine the alias.

	2002-03-02  Richard Henderson  <rth@redhat.com>
	* attribs.c (handle_alias_attribute): Don't call assemble_alias.
	* toplev.c (rest_of_decl_compilation): Invoke assemble_alias when
	needed.

From-SVN: r53910
2002-05-26 22:48:20 -07:00
No Author a1f364f858 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53909
2002-05-27 05:48:20 +00:00
Jakub Jelinek 02e415bc80 cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
* cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.

	* g++.dg/opt/cse2.C: New test.

From-SVN: r53904
2002-05-26 21:58:07 +02:00
Richard Henderson 0b4fee5176 Fix typo last change.
From-SVN: r53903
2002-05-26 12:06:44 -07:00
Carlo Wood 6cf40776c7 re PR libstdc++/6811 (Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release)
2002-05-26  Carlo Wood  <carlo@alinoe.com>
	    Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6811
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(__enc_traits::operator=): add missing return statement.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r53897
2002-05-26 14:45:43 +00:00
Joseph Myers 31abeca93a gnatvsn.ads (Gnat_Version_String): Change to "3.1.1 20020526 (prerelease)".
gcc/ada:
	* gnatvsn.ads (Gnat_Version_String): Change to "3.1.1 20020526
	(prerelease)".

maintainer-scripts:
	* gcc_release: Add gcc/ada/gnatvsn.ads to list of files in which
	release status is updated.

From-SVN: r53893
2002-05-26 11:35:14 +01:00
GCC Administrator d38c66635e Daily bump.
From-SVN: r53887
2002-05-26 07:17:02 +00:00
Richard Henderson bdd85dbdd7 sparc.c (sparc_output_mi_thunk): New implementation using rtl instead of fprintf.
* config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
        using rtl instead of fprintf.
        * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
        * config/sparc/sparc-protos.h: Update.
	* g++.dg/opt/thunk1.C: New.

From-SVN: r53883
2002-05-25 19:42:21 -07:00
No Author e9367b042b This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53882
2002-05-26 02:42:21 +00:00
Roman Lechtchinsky 5cbd46fe6e * gettextP.h (SWAP): Change parameter type to unsigned int.
From-SVN: r53879
2002-05-25 18:43:14 -07:00
Marek Michalkiewicz 3eeb186d9b avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
* config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.

	* config/avr/avr.c (machine_dependent_reorg): Sign extend the
	CONST_INT operand to the correct mode after adding 1 to it.

From-SVN: r53877
2002-05-25 22:15:26 +00:00
GCC Administrator 5aba387818 Daily bump.
From-SVN: r53865
2002-05-25 07:16:30 +00:00
Roman Lechtchinsky b9314a7e25 unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE, [...]): Define for native builds.
* config/alpha/unicosmk.h (REAL_VALUE_TO_TARGET_SINGLE,
        REAL_VALUE_TO_TARGET_DOUBLE): Define for native builds.

From-SVN: r53859
2002-05-24 16:04:18 -07:00
Jakub Jelinek 3259ad7890 re PR other/6782 (Specifing "-fverbose-asm" option throws ICE.)
PR other/6782
	* final.c (get_mem_expr_from_op): Return 0 if op is NULL.

	* gcc.dg/verbose-asm.c: New test.

From-SVN: r53855
2002-05-24 23:26:54 +02:00
David Edelsohn 4a6101132a aix43.h (LINK_SPEC): Add PE initializer.
* config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
        (STARTFILE_SPEC): Delete PE crt0.o.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
        function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
        (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
        * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.

From-SVN: r53852
2002-05-24 15:27:09 -04:00
Richard Henderson 37057f6078 varasm.c (asm_output_bss): Always output one byte.
* varasm.c (asm_output_bss): Always output one byte.
        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.

From-SVN: r53850
2002-05-24 12:22:11 -07:00
Neil Booth 52fc15ab5e re PR preprocessor/6780 (Incorrect diagnosis of token pasting)
PR preprocessor/6780
	* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
	* gcc.dg/cpp/paste12.c: New test.

From-SVN: r53848
2002-05-24 19:13:48 +00:00
Phil Edwards 72e39f2882 re PR libstdc++/6282 (bitset<0> results in nonsense behavior)
2002-05-24  Phil Edwards  <pme@gcc.gnu.org>

	PR libstdc++/6282
	* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
	(operator>>):  If nothing was extracted, don't fail in the
	zero-length case.
	* testsuite/23_containers/bitset_ctor.cc (test02):  New test.

From-SVN: r53845
2002-05-24 18:17:10 +00:00
Benjamin Kosnik fb4386599d [multiple changes]
2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6701
	* testsuite/22_locale/ctype_narrow_char.cc: New.
	* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
	* testsuite/22_locale/ctype_widen_char.cc: New.
	* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
	* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
	* testsuite/22_locale/ctype_is_char.cc: ...this.
	* testsuite/22_locale/ctype_to_char.cc: ...and this.
	* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
	* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
	* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.

	* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.

2002-05-24  Dale Peakall <dale@peakall.net>

	PR libstdc++/6701
	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
	* config/locale/generic/ctype_members.cc: Same.

From-SVN: r53843
2002-05-24 16:15:27 +00:00
No Author 6f3e2226bd This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53842
2002-05-24 16:15:27 +00:00
Benjamin Kosnik a42f789d09 re PR libstdc++/6750 (ofstream incorrectly sets failbit (severe regression))
2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6750
	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
	for empty string literal.
	(ostream::operator<<(const _CharT*)): Same.
	(ostream<char>::operator<<(const char*)): Same.
	(ostream<char>::operator<<(streambuf*)): Same.
	* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
	* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.

From-SVN: r53840
2002-05-24 15:57:47 +00:00
Richard Earnshaw 5ad29c77b0 bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
2002-05-21  Richard Earnshaw  <rearnsha@arm.com>

	* bitmap.c (bitmap_find_bit): Return early if we have the correct
	element cached.

From-SVN: r53838
2002-05-24 05:23:36 -07:00
Neil Booth a8bb4339ec cppinit.c (mark_named_operators): Split out from init_builtins.
* cppinit.c (mark_named_operators): Split out from init_builtins.
	(struct builtin): Remove operator.
	(CPLUS, OPERATOR, O): Kill
	(struct named_op): New.
	(cpp_finish_options): Call it from here instead.
	(init_builtins): Don't do named operators.
testsuite:
	* g++.dg/parse/named_ops.C: New test.

From-SVN: r53832
2002-05-24 09:27:00 +00:00
No Author d1068c7e8e This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53831
2002-05-24 09:27:00 +00:00
GCC Administrator 73d1c4ced3 Daily bump.
From-SVN: r53823
2002-05-24 07:16:48 +00:00
David S. Miller 1fd753a746 cselib.c (max_value_regs): New.
2002-05-20  David S. Miller  <davem@redhat.com>

	* cselib.c (max_value_regs): New.
	(cselib_lookup, cselib_invalidate_regno): Initialize it when
	adding new entries to the REG_VALUES table and we are dealing with
	a hard register.
	(clear_table): Initialize it.
	(cselib_invalidate_regno): Use it to determine which hard
	registers to scan when mode is not VOIDmode.

From-SVN: r53821
2002-05-24 00:06:29 -07:00
Bruce Korb c68a0d52b0 more clarifications
From-SVN: r53818
2002-05-24 01:51:51 +00:00
Alan Modra 6f036b98a7 * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
From-SVN: r53816
2002-05-24 08:52:44 +09:30
Hans Boehm 5a255e1aaa linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
* config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K
	pages.

From-SVN: r53808
2002-05-23 21:24:38 +00:00
Rainer Orth a5ce2adcf8 configure.in: Update local install.html, configopts.html paths.
* configure.in: Update local install.html, configopts.html paths.
	* configure: Regenerate.

From-SVN: r53802
2002-05-23 18:51:30 +00:00
Neil Booth 695ffb44ec * objc.dg/const-str-2.m: Fix test.
From-SVN: r53799
2002-05-23 18:12:39 +00:00
Neil Booth 35412a59a5 re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
PR preprocessor/6517
	* Makefile.in: Update.
	* c-common.c (c_common_post_options): Add preprocessor
	errors to the error count.
	* c-lang.c (c_post_options): Kill.
	(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
	* hooks.h: Add header guards.
	* langhooks-def.h: Include hooks.h.
	(LANG_HOOKS_POST_OPTIONS): Update.
	* langhooks.h (struct lang_hooks): Update post_options.
	* toplev.c (parse_options_and_default_flags): Update.
cp:
	* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
	* cp-tree.h (cxx_post_options): Kill.
	* cp-lex.c (cxx_post_options): Kill.
objc:
	* objc-lang.c (objc_post_options): Kill.
	(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.

From-SVN: r53797
2002-05-23 17:57:46 +00:00
Rainer Orth 6387bd3962 testsuite_hooks.h (__set_testsuite_memlimit): Retrieve current limits before setting.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
	current limits before setting.

From-SVN: r53795
2002-05-23 17:01:30 +00:00
Rainer Orth a04bb3f2af re PR target/6755 (.../gcc-3.1/libstdc++-v3/configure script fails for mips-sgi-irix6.2)
* acinclude.m4 (enable_symvers): Quote $LD.
	* aclocal.m4: Regenerate.
	* configure: Likewise.
	Fixes PR target/6755.

From-SVN: r53794
2002-05-23 16:58:49 +00:00
Benjamin Kosnik 24eef3fbcc 002-05-23 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (release_VERSION): Update to 3.1.1.
	(libtool_VERSION): Update to 4:1:0.
	* configure: Regenerate.

From-SVN: r53792
2002-05-23 16:11:01 +00:00
Jakub Jelinek 41fd230fca re PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)
PR target/6753
	* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
	of x in constraints for clarity.
	(sse_mov?fcc split): abort if op2 == op3.
	(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
	sse_movsfcc_const0_4): Add earlyclobber.
	(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
	sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
	Use Y instead of x in constraints.

From-SVN: r53783
2002-05-23 11:25:34 +02:00
Jakub Jelinek e9fa6a5aa9 re PR target/6753 (gcc 3.1 produces wrong code when optimizing for pentium4)
PR target/6753
	* config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
	of x in constraints for clarity.
	(sse_mov?fcc split): abort if op2 == op3.
	(sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
	sse_movsfcc_const0_4): Add earlyclobber.
	(sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
	sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
	Use Y instead of x in constraints.

	* gcc.dg/20020523-1.c: New test.

From-SVN: r53782
2002-05-23 11:24:37 +02:00
Jakub Jelinek 33cc911592 re PR c/6643 (gcc fails in tree check for assignment to variable sized array)
PR c/6643
	* emit-rtl.c (widen_memory_access): Only call compare_tree_int
	if DECL_SIZE_UNIT is INTEGER_CST.

From-SVN: r53780
2002-05-23 10:18:42 +02:00
Jakub Jelinek 6320cec904 combine.c (force_to_mode): Use gen_int_mode.
* combine.c (force_to_mode): Use gen_int_mode.
	Don't clear CONST_INT bits outside of mode.

	* gcc.dg/20020517-1.c: New test.

From-SVN: r53777
2002-05-23 10:14:35 +02:00
No Author a38457a3a8 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53776
2002-05-23 08:14:35 +00:00
Jakub Jelinek 69e73e9226 configure.in: Fix as version test for binutils 2.12.1 releases (without dates).
* configure.in: Fix as version test for binutils 2.12.1 releases
	(without dates).
	* configure: Rebuilt.

From-SVN: r53774
2002-05-23 10:01:58 +02:00
GCC Administrator 572dba887d Daily bump.
From-SVN: r53768
2002-05-23 07:17:02 +00:00
Kaveh Ghazi 6cea905472 Fix libstdc++-v3/ChangeLog omission from 2002-05-18 trunk merge.
From-SVN: r53757
2002-05-23 03:20:07 +00:00
Jakub Jelinek eaa7a74cf5 Fix a typo.
From-SVN: r53738
2002-05-22 18:42:03 +02:00
Jan Hubicka 9c49de3891 i386.c (expand_movstr, [...]): Fix inline-all-stringops sequence.
* i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
	sequence.
	(ix86_expand_clrstr): Fix typo.

From-SVN: r53735
2002-05-22 12:24:04 +00:00
Andreas Jaeger c6b6f82ea4 loop-2c.x: Remove, the test should pass now.
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
	now.
	* gcc.c-torture/execute/loop-2d.x: Likewise.

From-SVN: r53733
2002-05-22 13:49:47 +02:00
GCC Administrator 72adcde8c2 Daily bump.
From-SVN: r53727
2002-05-22 07:17:15 +00:00
Duraid Madina 8baaec21e6 * tradcpp.c (fixup_newlines): Make K&R.
From-SVN: r53725
2002-05-22 05:58:50 +00:00
Richard Henderson 33bd1f778e system.h (BLOCK_PROFILER, [...]): Poison.
* system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
	FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
	MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.

	* toplev.c (display_help): Kill -a -ax help.

	* config/1750a/1750a.h, config/alpha/alpha.h,
	config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
	config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
	config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
	(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.

	* libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
	* config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.

	* config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
	(ix86_output_function_block_profiler): Kill.
	* config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
	(m68hc11_function_block_profiler): Kill.
	* config/m68hc11/m68hc11-protos.h: Update.
	* config/m88k/m88k.c (output_block_profiler): Kill.
	(output_function_block_profiler): Kill.
	* config/m88k/m88k-protos.h: Update.

From-SVN: r53712
2002-05-21 16:45:18 -07:00
NIIBE Yutaka ecf898ecdf reload1.c (do_output_reload): Run delete_output_reload only if optimizing.
* reload1.c (do_output_reload): Run delete_output_reload
        only if optimizing.

From-SVN: r53711
2002-05-21 16:42:54 -07:00
Phil Edwards 37adf630ba stdio_filebuf.h: Add header guards.
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

	* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.

From-SVN: r53702
2002-05-21 21:26:28 +00:00
Phil Edwards a936559938 stl_pair.h: Tweak comment markup.
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_pair.h:  Tweak comment markup.

From-SVN: r53701
2002-05-21 21:09:43 +00:00
GCC Administrator ca03be23a6 Daily bump.
From-SVN: r53679
2002-05-21 07:19:06 +00:00
Richard Henderson c184e413c9 cse.c (canon_hash): Reorder do_not_record test.
* cse.c (canon_hash): Reorder do_not_record test.  Always
        allow pic_offset_table_rtx.

From-SVN: r53663
2002-05-20 09:57:57 -07:00
GCC Administrator 5b44da479f Daily bump.
From-SVN: r53650
2002-05-20 07:16:32 +00:00
Neil Booth 6be2f57462 * doc/contrib.texi: Update my entry.
From-SVN: r53637
2002-05-19 19:59:08 +00:00
Kaveh R. Ghazi 183fe7333a configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
	* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).

	* Makefile.in, config.h.in, configure: Regenerate.

From-SVN: r53632
2002-05-19 15:27:24 +00:00
Kaveh R. Ghazi c60107ddfa * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r53630
2002-05-19 15:21:35 +00:00
Marek Michalkiewicz 0ba0c836c8 avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte of the frame pointer.
2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
	* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
	which may overwrite the high byte of the frame pointer.

From-SVN: r53629
2002-05-19 15:18:46 +00:00
Kaveh R. Ghazi 2271b1d49e ctype_noninline.h (classic_table): Return __ctype + 1.
* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
	Return __ctype + 1.
	(ctype:_M_table): Initialize to classic_table(), not __ctype.

From-SVN: r53628
2002-05-19 15:16:30 +00:00
Kaveh R. Ghazi 70bb012bdb * config/os/irix/irix5.2/bits/os_defines.h
(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.

From-SVN: r53627
2002-05-19 15:13:03 +00:00
Kriang Lerdsuwanakij b2a02ca1bf * error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.
From-SVN: r53624
2002-05-19 11:04:37 +00:00
Kriang Lerdsuwanakij 90840cc8a5 PR c++/186, DR 259
PR c++/186, DR 259
	* pt.c (do_decl_instantiation): Don't complain explicit
	instantiation after explicit specialization.
	(do_type_instantiation): Likewise.

From-SVN: r53622
2002-05-19 10:19:05 +00:00
Lars Brinkhoff 3366297b1f emit-rtl.c (gen_int_mode): New function.
2002-03-19  Lars Brinkhoff  <lars@nocrew.org>

	* emit-rtl.c (gen_int_mode): New function.
	* rtl.h: Prototype for it.

From-SVN: r53618
2002-05-19 09:05:30 +00:00
Paolo Carlini 386f223e29 [multiple changes]
2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
            Jakub Jelinek  <jakub@redhat.com>

        * testsuite/22_locale/money_get_members_char.cc
        (test01, test02, test04): Use the de_DE@euro named locale
        instead of de_DE to allow for an uniform behaviour with
        both old and Euro-era localedata; tweak some tests.
        * testsuite/22_locale/money_get_members_wchar_t.cc
        (test01, test02, test04): Likewise.
        * testsuite/22_locale/money_put_members_char.cc
        (test01, test02, test04): Likewise.
        * testsuite/22_locale/money_put_members_wchar_t.cc
        (test01, test02, test04): Likewise.

2002-05-19  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/codecvt_members_char_char.cc
	(test03): Robustify wrt localedata.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
	* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
	* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
	* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
	* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
	* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.

2002-05-19  Paolo Carlini  <pcarlini@unitus.it>

	Test all the facets for the temporary "C" locale switch issue.
	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
	* testsuite/22_locale/collate_members_char.cc: Add test04.
	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/ctype_members_char.cc: Add test05.
	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
	* testsuite/22_locale/messages_members_char.cc: Add test03.
	* testsuite/22_locale/money_get_members_char.cc: Add test08.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/money_put_members_char.cc: Add test07.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/num_get_members_char.cc: Add test06.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/time_get_members_char.cc: Add test08.
	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/time_put_members_char.cc: Add test04.
	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.

	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.

2002-05-19  Benjamin Kosnik  <bkoz@redhat.com>
	    Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/num_put_members_char.cc: Add test04(),
	testing for the locale_facets.tcc entry of the previous commit.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.

From-SVN: r53616
2002-05-19 08:09:47 +00:00
GCC Administrator 1c83a0bfc2 Daily bump.
From-SVN: r53611
2002-05-19 07:21:02 +00:00
David Billinghurst 82ca240bed weak-2.c: xfail warnings for platforms that don't support weak symbols.
2002-05-19  David Billinghurst <David.Billinghurst@riotinto.com>

	* gcc.dg/weak-2.c:  xfail warnings for platforms that don't
	support weak symbols.
	* gcc.dg/weak-4.c: Likewise
	* gcc.dg/weak-6.c: Likewise

From-SVN: r53602
2002-05-19 01:26:18 +00:00
Takeshi Kobayakawa e95bc62d23 c_locale.cc (__convert_to_v(float, double, long double)): Fix the temporary switch to the "C" locale...
2002-05-18  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>

	* config/locale/generic/c_locale.cc
	(__convert_to_v(float, double, long double)):
	Fix the temporary switch to the "C" locale, saving and
	restoring in the proper way the current locale.
	* config/locale/generic/time_members.cc
	(__timepunct<char, wchar_t>::_M_put): Likewise.
	* config/locale/gnu/messages_members.cc
	(messages<char>::do_get): Likewise.
	* config/locale/gnu/messages_members.h
	(messages<_CharT>::do_get): Likewise.
	* config/locale/gnu/time_members.cc
	(__timepunct<char, wchar_t>::_M_put): Likewise.
	* include/bits/locale_facets.tcc (__convert_from_v): Likewise.

From-SVN: r53597
2002-05-18 22:00:15 +00:00
Jan Hubicka 013400e9cc * i386.md (pushqi2, ashrqi_*): Fix constraint.
From-SVN: r53596
2002-05-18 21:10:33 +00:00
Paolo Carlini 1449d2b619 basic_string.h (replace(i1, i2, _CharT* k1, _CharT* k2), [...]): New specializations to optimize for the common cases of pointers and iterators.
2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
            Nathan Myers  <ncm@cantrip.org>
            Philip Martin  <philip@codematters.co.uk>

        * include/bits/basic_string.h
        (replace(i1, i2, _CharT* k1, _CharT* k2),
        replace(i2, i2, const _CharT* k1, const _CharT* k2),
        replace(i1, i2, iterator k1, iterator k2,
        replace(i1, i2, const_iterator k1, const_iterator k2):
        New specializations to optimize for the common cases of
        pointers and iterators.
        (replace(pos, n1, s, n2)): Tweak.
        * include/bits/basic_string.tcc: Tweak comments.
        * testsuite/21_strings/replace.cc (test05): New tests.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>
Co-Authored-By: Philip Martin <philip@codematters.co.uk>

From-SVN: r53595
2002-05-18 20:52:51 +00:00
Benjamin Kosnik 10eb95ec5d os_defines.h: Remove _G_USING_THUNKS.
2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>

	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
	_G_USING_THUNKS.
	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.

From-SVN: r53588
2002-05-18 14:51:46 +00:00
Benjamin Kosnik a669f818b3 RELEASE-NOTES (New): Update.
2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES (New): Update.

From-SVN: r53587
2002-05-18 14:48:14 +00:00
Benjamin Kosnik 1b20bf57f9 re PR libstdc++/6518 (???)
2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6518
	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
	for null case.
	(ostream::operator<<(const _CharT*)): Same.
	(ostream<char>::operator<<(const char*)): Same.
	* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.

From-SVN: r53586
2002-05-18 14:46:17 +00:00
Benjamin Kosnik ca3872f6cf re PR libstdc++/6594 (strstreambuf leaks 16 bytes - gcc 3.0.x)
2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6594
	* src/strstream.cc (strstreambuf): Fix leak.

From-SVN: r53585
2002-05-18 14:44:52 +00:00
Benjamin Kosnik 5b1058a0e2 [multiple changes]
2002-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.

	* docs/html/install.html: Fix.

2002-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
	Fix typo, use this->is() rather than manually (and perhaps
	incorrectly) inlining it.
	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
	Likewise.
	* testsuite/22_locale/ctype_scan_char.cc: New file.

From-SVN: r53584
2002-05-18 14:42:49 +00:00
Benjamin Kosnik aca44fd38c 2002-05-18 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc
	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
	try/catch blocks.
	* src/localename.cc (locale::_Impl::_M_install_facet): Same.

	* docs/html/install.html: Tweak, add bits about required locales
	for the 22_locale tests when using the gnu model.

	* testsuite/27_io/istream_sentry.cc: Tweak.

From-SVN: r53583
2002-05-18 14:37:49 +00:00
GCC Administrator c06ae8d23f Daily bump.
From-SVN: r53578
2002-05-18 07:16:12 +00:00
Aldy Hernandez c8a8f2f53e altivec.h: Cleanup.
2002-05-18  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Cleanup.

From-SVN: r53577
2002-05-18 05:40:16 +00:00
Anthony Green e670328707 libjava.exp: Use libgcj-VERSION.jar, not libgcj-3.1.jar.
2002-04-12  Anthony Green  <green@redhat.com>

	* lib/libjava.exp: Use libgcj-VERSION.jar, not libgcj-3.1.jar.

From-SVN: r53571
2002-05-17 14:11:48 -07:00
Rainer Orth 9c3edc2250 install.texi (Specific, [...]): Document need to bootstrap with -mips3.
* doc/install.texi (Specific, mips-sgi-irix6): Document need to
	bootstrap with -mips3.

From-SVN: r53565
2002-05-17 19:07:01 +00:00
David S. Miller 4e4506a9b4 PR c/6689, PR optimization/6615
2002-05-17  David S. Miller  <davem@redhat.com>

	PR c/6689, PR optimization/6615
	* local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
	and make it a pointer to rtx.  Update comments.
	(update_equiv_regs): When scanning for equivalences, record
	address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
	it while making the equiv replacements.

From-SVN: r53560
2002-05-17 09:58:03 -07:00
Paolo Carlini cb12158798 re PR libstdc++/6648 (Problems with cin.getline (interactive))
2002-05-15  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6648
	* include/bits/istream.tcc (istream::getline, ignore):
	Upon __idelim (__delim) call sbumpc() not snextc().
	* testsuite/27_io/narrow_stream_objects.cc:
	Add test08 and test09.

From-SVN: r53557
2002-05-17 11:43:43 +00:00
Gerald Pfeifer b99b7ba860 install.texi (Testing): Mention two common DejaGnu warnings that can be ignored.
* doc/install.texi (Testing): Mention two common DejaGnu warnings
	that can be ignored.

	* doc/install.texi (Final install): Recommend to install into a
	"clean" target directory.

From-SVN: r53555
2002-05-17 10:49:28 +00:00
Andreas Schwab 52cf44cd60 sysv4.h (DO_SELECT_SECTION): Factored out of SELECT_SECTION.
* config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
	SELECT_SECTION.
        (UNIQUE_SECTION): Define to get small data correctly.

From-SVN: r53554
2002-05-17 10:46:20 +00:00
Andreas Schwab df98f83be8 varasm.c (resolve_unique_section): Add third parameter flag_function_or_data_sections and use it instead of...
* varasm.c (resolve_unique_section): Add third parameter
	flag_function_or_data_sections and use it instead of
	flag_function_sections.
	(assemble_start_function): Pass flag_function_sections.
	(asm_emit_uninitialised): Pass flag_data_sections.
	(assemble_variable): Likewise.

From-SVN: r53553
2002-05-17 10:43:43 +00:00
GCC Administrator 40c54ef9f7 Daily bump.
From-SVN: r53545
2002-05-17 07:16:41 +00:00
Eric Botcazou e0ad0ac4f9 fold-const.c (fold): Move the transformation of a comparison against the highest or lowest integer...
* fold-const.c (fold) [LT_EXPR]: Move the transformation of a
        comparison against the highest or lowest integer value before
        the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
        transformation and that of an unsigned comparison against 0
        right after.

From-SVN: r53543
2002-05-16 23:11:29 -07:00
Richard Henderson 17c3278d66 c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays for c99.
* c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
        for c99.

From-SVN: r53542
2002-05-16 23:06:46 -07:00
David Billinghurst 57529d0808 weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targets
2002-05-16  David.Billinghurst <David.Billinghurst@riotinto.com>

	* gcc.dg/weak-3.c: Add dg-excess-error comment for
	cygwin, coff and h8300-*-hms targets
	* gcc.dg/weak-5.c: Likewise
	* gcc.dg/weak-7.c: Likewise

From-SVN: r53540
2002-05-17 04:04:29 +00:00
Phil Edwards b9a314722c index.html: Update not-a-bug list with basic_file.h.
2002-05-16  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
	* docs/html/faq/index.txt:  Regenerate.

From-SVN: r53530
2002-05-16 20:04:30 +00:00
Mark Mitchell 735daab62b * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
From-SVN: r53520
2002-05-16 17:00:56 +00:00
David S. Miller 7d8adecac7 [multiple changes]
2002-05-09  David S. Miller  <davem@redhat.com>

	* config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.

2002-05-07  David S. Miller  <davem@redhat.com>

	PR target/6103
	* config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
	* config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
	* config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
	library implementation clobbers the output before the inputs
	are fully consumed, use stack temporary for the output.

From-SVN: r53516
2002-05-16 04:08:37 -07:00
Gerald Pfeifer dd610edd20 invoke.texi (-malign-double): Re-add lost warning.
* invoke.texi (-malign-double): Re-add lost warning.

        * doc/install.texi: Remove special markup originally required for
        HTML generation with texi2html.

        * doc/install.texi (Specific, *-*-solaris2*): Update passus on
        setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
        (possibly) work around broken /bin/sh.

From-SVN: r53515
2002-05-16 10:55:55 +00:00
GCC Administrator 911f56a452 Daily bump.
From-SVN: r53511
2002-05-16 07:16:55 +00:00
Jason Merrill c23299e52e re PR c++/6381 (Missing assembler label)
PR c++/6381
        * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
        REAL_CST.

From-SVN: r53507
2002-05-16 01:02:35 -04:00
Jason Merrill 50e3646484 * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.
From-SVN: r53504
2002-05-15 23:20:55 -04:00
Jason Merrill f08b29d29c * g++.dg/init/pm1.C: New test.
From-SVN: r53503
2002-05-16 02:09:36 +00:00
No Author 3f01be2d6d This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53502
2002-05-16 02:09:36 +00:00
Alexandre Oliva d13b848af6 cp-tree.h (struct lang_type): Added non_zero_init.
* cp-tree.h (struct lang_type): Added non_zero_init.
(CLASS_NON_ZERO_INIT_P): New macro.
(zero_init_p, force_store_init_value, build_forced_zero_init): Declare.
* class.c (check_field_decls): Test non_zero_init.
* cvt.c (convert_to_pointer_force): Use cp_convert_to_pointer for
zero-to-NULL conversions.
* decl.c (obscure_complex_init): Don't reset DECL_INITIAL of a
type that needs zero-initialization without zeros.
(check_initializer_decl): Compute zero-initializer for types
that require a non-trivial one.
* init.c (build_forced_zero_init): New function.
(build_default_init): Use it.
* tree.c (zero_init_p): New function.
* typeck2.c (force_store_init_value): New function.
(process_init_constructor): Create non-trivial zero-initializers
for array members and class fields.

From-SVN: r53501
2002-05-16 02:09:15 +00:00
Mark Mitchell dd2fe8c9a8 Update version strings
From-SVN: r53492
2002-05-15 19:18:45 +00:00
GCC Administrator 27942bc6f4 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r53473.2
2002-05-15 07:18:01 +00:00
Mark Mitchell 13cf4f0932 Mark ChangeLog
From-SVN: r53469
2002-05-15 02:27:34 +00:00
Mark Mitchell 5ffbe69172 Update version
From-SVN: r53467
2002-05-14 21:42:35 +00:00
Mark Mitchell 36c5858c70 Mark ChangeLog
From-SVN: r53466
2002-05-14 21:40:38 +00:00
GCC Administrator aacbb6cb2d Daily bump.
From-SVN: r53444
2002-05-14 07:16:21 +00:00
GCC Administrator b3c9abb2c8 Daily bump.
From-SVN: r53411
2002-05-13 07:16:20 +00:00
GCC Administrator 69c77cab28 Daily bump.
From-SVN: r53393
2002-05-12 07:16:42 +00:00
GCC Administrator 8bc1749402 Daily bump.
From-SVN: r53376
2002-05-11 07:16:10 +00:00
Rainer Orth e2af9cc2eb t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and . as N64/N32 libgcc_s.so subdirs.
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
	. as N64/N32 libgcc_s.so subdirs.

From-SVN: r53365
2002-05-10 15:22:05 +00:00
Philipp Thomas ce54e09e5c Update to latest versions.
From-SVN: r53363
2002-05-10 14:52:05 +00:00
GCC Administrator af29b761d0 Daily bump.
From-SVN: r53355
2002-05-10 07:16:17 +00:00
Mark Mitchell 334221c6ba * config/rs6000/rs6000.h: Revert previous patch.
From-SVN: r53354
2002-05-10 06:25:31 +00:00
Joel Sherrill 4e660b17cc rs6000.h (CPP_CPU_SPEC): Correct 403 and 405 arguments for binutils 2.12.
2002-05-09	Joel Sherrill <joel@OARcorp.com>

	* config/rs6000/rs6000.h CPP_CPU_SPEC): Correct
	403 and 405 arguments for binutils 2.12.

From-SVN: r53342
2002-05-09 20:26:10 +00:00
Jeff Law b4bf45ea94 pa.c (hppa_profile_hook): Use force_reg to get the address of the profile hook into an appropriate pseudo...
* pa.c (hppa_profile_hook): Use force_reg to get the address
        of the profile hook into an appropriate pseudo register.

From-SVN: r53339
2002-05-09 12:20:31 -06:00
Jakub Jelinek e3c4994514 mklibgcc.in: Set shlib_slibdir_qual to empty string if SHLIB_SLIBDIR_SUFFIXES is empty.
* mklibgcc.in: Set shlib_slibdir_qual to empty string if
	SHLIB_SLIBDIR_SUFFIXES is empty.

From-SVN: r53336
2002-05-09 19:35:21 +02:00
GCC Administrator 0dd4f97eba Daily bump.
From-SVN: r53317
2002-05-09 07:16:12 +00:00
Mark Mitchell 1cac9e4bc6 * gcc_release: Correct upload handling.
From-SVN: r53316
2002-05-09 05:50:34 +00:00
Rainer Orth fc253add89 t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
	(SHLIB_LINK, SHLIB_INSTALL): Adjust.

From-SVN: r53312
2002-05-09 01:45:24 +02:00
Jakub Jelinek 2ad3879443 t-linux64 (SHLIB_MAPFILES): Set.
* config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
	* config/sparc/libgcc-sparc-glibc.ver: New file.
	* config/i386/t-linux64 (SHLIB_MAPFILES): Add libgcc-x86_64-glibc.ver.
	* config/i386/libgcc-x86_64-glibc.ver: New file.
	* config/cris/t-linux (SHLIB_MAPFILES): Remove.
	* mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.

From-SVN: r53311
2002-05-09 01:25:36 +02:00
Jakub Jelinek e9ae38ae98 re PR target/6429 (libgcc_s problem on dual 32/64-bit arches)
PR target/6429
	* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
	* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
	shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
	base multilibs.
	* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
	* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
	* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
	* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
	* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.

	* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
	libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
	* lib/g++.exp (g++_link_flags): Likewise.
	* lib/objc.exp (objc_target_compile): Likewise.

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

	* testsuite/lib/libjava.exp (libjava_arguments): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

From-SVN: r53310
2002-05-09 01:18:39 +02:00
Mark Mitchell dd2a0c82df re PR target/6569 (sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c)
PR c/6569.
	* varasm.c (mark_weak): New function.
	(merge_weak): Use it.  Do not call declare_weak.
	(declare_weak): Use merge_weak.

	PR c/6569
	* gcc.dg/weak-3.c: Update location of warning messages.
	* gcc.dg/weak-5.c: Likewise.

From-SVN: r53292
2002-05-08 14:36:35 +00:00
GCC Administrator 9ef09a440f Daily bump.
From-SVN: r53280
2002-05-08 07:16:13 +00:00
Alexandre Oliva 4d47b4eebf configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.

From-SVN: r53277
2002-05-08 04:28:44 +00:00
Geoffrey Keating 6965e99add configure.in: Don't pass -Wno-long-long to a ADA compiler that doesn't support it.
* configure.in: Don't pass -Wno-long-long to a ADA compiler
that doesn't support it.
* configure: Regenerate.

From-SVN: r53274
2002-05-08 00:26:47 +00:00
Jason Merrill 8c62299eda dwarf2out.c (rtl_for_decl_location): Don't try to extract a constant value from DECL_INITIAL.
* dwarf2out.c (rtl_for_decl_location): Don't try to extract a
        constant value from DECL_INITIAL.

From-SVN: r53261
2002-05-07 13:27:30 -04:00
Florian Weimer b273bf4a4a [multiple changes]
2002-05-07  Florian Weimer  <fw@deneb.enyo.de>

	* nmake.adt, treeprs.adt: Shorten long Revision: line.

	* xnmake.adb, xtreeprs.adb: Do not write comment trailer for
	Revision: lines.

2002-05-05  Florian Weimer  <fw@deneb.enyo.de>

	* 4aintnam.ads, 4cintnam.ads, 4dintnam.ads, 4hintnam.ads,
	4mintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
	4pintnam.ads, 4rintnam.ads, 4sintnam.ads, 4uintnam.ads,
	4vcalend.ads, 4vintnam.ads, 4wintnam.ads, 4zintnam.ads,
	4znumaux.ads, 5avxwork.ads, 5etpopse.adb, 5gintman.adb,
	5gproinf.ads, 5gtasinf.adb, 5ninmaop.adb, 5nintman.adb,
	5oparame.adb, 5pvxwork.ads, 5qvxwork.ads, 5rparame.adb,
	5sintman.adb, 5stasinf.adb, 5stpopse.adb, 5svxwork.ads,
	5uintman.adb, 5vinmaop.adb, 5vintman.adb, 5vtpopde.adb,
	5vtpopde.ads, 5wosprim.adb, 6vinterf.ads, 7sinmaop.adb,
	7sosprim.adb, 7stpopsp.adb, 86numaux.ads, 9drpc.adb, a-astaco.adb,
	a-astaco.ads, a-caldel.ads, a-calend.ads, a-chahan.ads,
	a-charac.ads, a-chlat1.ads, a-colien.adb, a-colien.ads,
	a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
	a-direio.adb, a-dynpri.ads, a-excpol.adb, a-filico.ads,
	a-finali.ads, a-flteio.ads, a-fwteio.ads, a-inteio.ads,
	a-interr.adb, a-intnam.ads, a-intsig.adb, a-intsig.ads,
	a-ioexce.ads, a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads,
	a-liteio.ads, a-liwtio.ads, a-llftio.ads, a-llfwti.ads,
	a-llitio.ads, a-lliwti.ads, a-ncelfu.ads, a-ngcoty.ads,
	a-ngelfu.ads, a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads,
	a-nllcef.ads, a-nllcty.ads, a-nllefu.ads, a-nscefu.ads,
	a-nscoty.ads, a-nselfu.ads, a-nucoty.ads, a-nuflra.adb,
	a-nuflra.ads, a-numaux.ads, a-numeri.ads, a-sequio.ads,
	a-sfteio.ads, a-sfwtio.ads, a-siocst.adb, a-siocst.ads,
	a-siteio.ads, a-siwtio.ads, a-ssicst.adb, a-ssicst.ads,
	a-ssitio.ads, a-ssiwti.ads, a-storio.adb, a-storio.ads,
	a-stream.ads, a-strfix.ads, a-string.ads, a-strsea.adb,
	a-strsea.ads, a-strunb.ads, a-ststio.ads, a-stunau.adb,
	a-stunau.ads, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
	a-stwima.ads, a-stwise.adb, a-stwise.ads, a-sytaco.ads,
	a-tags.ads, a-tasatt.ads, a-teioed.ads, a-ticoau.adb,
	a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.ads,
	a-tideio.ads, a-tienau.ads, a-tifiio.ads, a-tiflau.adb,
	a-tiflau.ads, a-tiflio.ads, a-tiinau.ads, a-tiinio.ads,
	a-timoio.adb, a-tiocst.adb, a-tiocst.ads, a-titest.adb,
	a-titest.ads, a-unccon.ads, a-uncdea.ads, a-wtcoau.adb,
	a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
	a-wtcstr.ads, a-wtdeio.ads, a-wtedit.ads, a-wtenau.ads,
	a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.ads,
	a-wtinau.adb, a-wtinau.ads, a-wtinio.ads, a-wtmoau.adb,
	a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
	a-wttest.ads, ada.ads, binde.ads, bindgen.ads, bindusg.ads,
	calendar.ads, ceinfo.adb, debug_a.adb, debug_a.ads, directio.ads,
	elists.ads, exp_attr.ads, exp_ch10.ads, exp_ch12.ads,
	exp_ch13.ads, exp_ch2.ads, exp_ch6.ads, exp_code.ads,
	exp_disp.ads, exp_dist.ads, exp_fixd.ads, exp_imgv.ads,
	exp_intr.ads, exp_prag.ads, exp_smem.ads, exp_vfpt.adb,
	exp_vfpt.ads, frontend.ads, g-busora.adb, g-busorg.adb,
	g-casuti.adb, g-casuti.ads, g-curexc.ads, g-debuti.adb,
	g-debuti.ads, g-hesora.adb, g-hesorg.adb, g-io_aux.ads,
	g-moreex.adb, g-speche.ads, g-spitbo.adb, g-spitbo.ads,
	g-sptabo.ads, g-sptain.ads, g-sptavs.ads, get_targ.adb,
	gnat1drv.ads, gnatbind.ads, gnatcmd.ads, gnatlink.ads, gnatls.ads,
	gnatmake.adb, gnatmake.ads, gnatprep.ads, gnatpsys.adb, hlo.adb,
	hlo.ads, i-c.ads, i-cexten.ads, i-fortra.adb, i-os2err.ads,
	i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.ads,
	interfac.ads, ioexcept.ads, itypes.ads, krunch.ads, lib-sort.adb,
	live.ads, machcode.ads, makeusg.ads, math_lib.adb, mdllfile.adb,
	nlists.adb, nlists.ads, par-ch2.adb, par-labl.adb, par.ads,
	prj-com.ads, s-addima.adb, s-addima.ads, s-arit64.ads,
	s-assert.adb, s-assert.ads, s-asthan.adb, s-asthan.ads,
	s-atacco.adb, s-chepoo.ads, s-direio.ads, s-errrep.adb,
	s-errrep.ads, s-exnflt.ads, s-exngen.ads, s-exnint.ads,
	s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads, s-exnlli.ads,
	s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, s-expflt.ads,
	s-expgen.ads, s-expint.ads, s-explfl.ads, s-explin.ads,
	s-expllf.ads, s-explli.ads, s-expllu.adb, s-expllu.ads,
	s-expmod.adb, s-expmod.ads, s-expsfl.ads, s-expsin.ads,
	s-expssi.ads, s-expuns.adb, s-expuns.ads, s-fatflt.ads,
	s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-finimp.ads,
	s-fore.adb, s-fore.ads, s-gloloc.adb, s-imgbiu.adb, s-imgboo.adb,
	s-imgcha.adb, s-imgint.adb, s-imgllb.adb, s-imglld.adb,
	s-imglli.adb, s-imgllu.adb, s-imgllw.adb, s-imguns.adb,
	s-imgwch.adb, s-imgwiu.adb, s-inmaop.ads, s-io.ads, s-mantis.adb,
	s-mantis.ads, s-pack03.ads, s-pack05.ads, s-pack07.ads,
	s-pack09.ads, s-pack11.ads, s-pack13.ads, s-pack15.ads,
	s-pack17.ads, s-pack19.ads, s-pack21.ads, s-pack23.ads,
	s-pack25.ads, s-pack27.ads, s-pack29.ads, s-pack31.ads,
	s-pack33.ads, s-pack35.ads, s-pack37.ads, s-pack39.ads,
	s-pack41.ads, s-pack43.ads, s-pack45.ads, s-pack47.ads,
	s-pack49.ads, s-pack51.ads, s-pack53.ads, s-pack55.ads,
	s-pack57.ads, s-pack59.ads, s-pack61.ads, s-pack63.ads,
	s-pooglo.ads, s-pooloc.ads, s-poosiz.ads, s-proinf.adb,
	s-proinf.ads, s-rpc.ads, s-sequio.adb, s-sequio.ads, s-shasto.ads,
	s-sopco3.adb, s-sopco4.adb, s-sopco5.adb, s-stoele.adb,
	s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
	s-strops.adb, s-taenca.ads, s-tasinf.adb, s-tasren.ads,
	s-tasuti.ads, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
	s-valcha.adb, s-valdec.adb, s-valdec.ads, s-valint.adb,
	s-valint.ads, s-vallld.adb, s-vallld.ads, s-vallli.adb,
	s-vallli.ads, s-valllu.adb, s-valllu.ads, s-valrea.ads,
	s-valuns.adb, s-valuns.ads, s-valuti.ads, s-valwch.adb,
	s-vercon.adb, s-vercon.ads, s-vmexta.ads, s-wchcon.ads,
	s-wchjis.adb, s-wchjis.ads, s-wchstw.ads, s-wchwts.adb,
	s-wchwts.ads, s-widboo.adb, s-widboo.ads, s-widcha.adb,
	s-widcha.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
	s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
	s-wwdcha.ads, s-wwdwch.ads, scn-nlit.adb, sdefault.ads,
	sem_aggr.ads, sem_ch10.ads, sem_ch11.ads, sem_ch2.adb,
	sem_ch2.ads, sem_ch4.ads, sem_ch5.ads, sem_ch6.ads, sem_ch7.ads,
	sem_ch8.ads, sem_disp.ads, sem_elim.ads, sem_intr.ads,
	sem_maps.adb, sem_mech.ads, sem_prag.ads, sem_smem.ads,
	sem_vfpt.ads, sequenio.ads, sinput-l.ads, snames.adb, stand.adb,
	switch.ads, text_io.ads, tree_gen.ads, tree_in.ads, tree_io.ads,
	treepr.ads, uname.ads, unchconv.ads, unchdeal.ads, urealp.ads,
	usage.ads, widechar.ads: Adjust Revision: lines which were too
	long.

From-SVN: r53255
2002-05-07 08:22:37 +00:00
GCC Administrator 186da2b6d6 Daily bump.
From-SVN: r53250
2002-05-07 07:16:27 +00:00
Richard Henderson 1006cebbdd re PR c++/6212 (g++ testsuite EH regressions for irix6 -mabi=64)
PR c++/6212
        * expr.c (highest_pow2_factor_for_type): New.
        (expand_assignment): Use it.

From-SVN: r53248
2002-05-06 22:43:11 -07:00
Jakub Jelinek 5ca29db186 configure.in: If as or ld segfaults, don't clutter with it stdout.
* configure.in: If as or ld segfaults, don't clutter with it stdout.
	* configure: Rebuilt.

From-SVN: r53243
2002-05-07 02:15:07 +02:00
Andreas Schwab 14aedbb108 Remove conflict marker.
From-SVN: r53217
2002-05-06 14:53:20 +00:00
Phil Edwards 30ab106f95 documentation.html: Fix broken link.
2002-05-06  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/documentation.html:  Fix broken link.

From-SVN: r53212
2002-05-06 11:44:55 +00:00
GCC Administrator 841daf3ae7 Daily bump.
From-SVN: r53205
2002-05-06 07:16:14 +00:00
Jakub Jelinek 3ddba7b9ce re PR target/6561 (sparc-sun-solaris2.7 C testsuite failure w/-mcpu=ultrasparc in execute/950511-1.c)
PR target/6561
	* config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.

From-SVN: r53193
2002-05-05 23:45:02 +02:00
Alexandre Oliva 227fe5f06e configure.in (noconfigdirs): Don't disable libgcj on sparc64-*-solaris* and sparcv9-*-solaris*.
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.

From-SVN: r53189
2002-05-05 18:56:48 +00:00
Franz Sirl d02555f77f install.texi (powerpc-*-linux-gnu*): Update build requirements.
2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.

From-SVN: r53180
2002-05-05 11:34:44 +00:00
GCC Administrator 9d9425cc0c Daily bump.
From-SVN: r53172
2002-05-05 07:16:14 +00:00
David Edelsohn 3743463a3e rs6000.md (sCC pattern and splitter): Remove clobber and use result as temporary value.
* config/rs6000/rs6000.md (sCC pattern and splitter): Remove
        clobber and use result as temporary value.

From-SVN: r53168
2002-05-04 19:12:24 -04:00
GCC Administrator 43da310f03 Daily bump.
From-SVN: r53148
2002-05-04 07:17:18 +00:00
Joe Buck c5b9c7b163 1aexcept.adb, [...]: Change Ada Core Technologies from maintainer to contributor.
* 1aexcept.adb, 1aexcept.ads, 41intnam.ads, 42intnam.ads,
	4aintnam.ads, 4cintnam.ads, 4dintnam.ads, 4hexcpol.adb,
	4lintnam.ads, 4mintnam.ads, 4nintnam.ads, 4onumaux.ads,
	4pintnam.ads, 4rintnam.ads, 4sintnam.ads, 4uintnam.ads,
	4vcalend.adb, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
	4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
	4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
	52osinte.ads, 52system.ads, 53osinte.ads, 5aosinte.ads,
	5asystem.ads, 5atasinf.ads, 5ataspri.ads, 5avxwork.ads,
	5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5dosinte.ads,
	5esystem.ads, 5fosinte.ads, 5fsystem.ads, 5ftasinf.ads,
	5ginterr.adb, 5gmastop.adb, 5gosinte.ads, 5gproinf.adb,
	5gproinf.ads, 5gsystem.ads, 5gtasinf.adb, 5gtasinf.ads,
	5gtpgetc.adb, 5hparame.ads, 5hsystem.ads, 5htaspri.ads,
	5iosinte.ads, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
	5losinte.ads, 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads,
	5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5ntaspri.ads,
	5oosprim.adb, 5oparame.adb, 5osystem.ads, 5posinte.ads,
	5posprim.adb, 5pvxwork.ads, 5qparame.ads, 5qvxwork.ads,
	5rosinte.ads, 5rparame.adb, 5sintman.adb, 5sosinte.ads,
	5sparame.adb, 5ssystem.ads, 5stasinf.adb, 5stasinf.ads,
	5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5uosinte.ads,
	5vasthan.adb, 5vinterr.adb, 5vintman.ads, 5vosinte.ads,
	5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsystem.ads,
	5vtaspri.ads, 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb,
	5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
	5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
	5zinterr.adb, 5zosinte.adb, 5zosinte.ads, 5zosprim.adb,
	5zparame.ads, 5zsystem.ads, 6vcpp.adb, 6vcstrea.adb,
	7sosprim.adb, 86numaux.adb, 86numaux.ads, 9drpc.adb,
	a-astaco.adb, a-caldel.ads, a-calend.adb, a-calend.ads,
	a-chahan.adb, a-chahan.ads, a-colien.adb, a-colien.ads,
	a-colire.adb, a-colire.ads, a-comlin.adb, a-comlin.ads,
	a-cwila1.ads, a-decima.adb, a-decima.ads, a-diocst.adb,
	a-diocst.ads, a-direio.adb, a-direio.ads, a-einuoc.adb,
	a-einuoc.ads, a-except.adb, a-except.ads, a-excpol.adb,
	a-exctra.adb, a-exctra.ads, a-filico.adb, a-filico.ads,
	a-finali.adb, a-finali.ads, a-interr.ads, a-intsig.adb,
	a-intsig.ads, a-ngcefu.adb, a-ngcoty.adb, a-ngcoty.ads,
	a-ngelfu.adb, a-nudira.adb, a-nudira.ads, a-nuflra.adb,
	a-nuflra.ads, a-numaux.ads, a-reatim.ads, a-retide.ads,
	a-sequio.adb, a-sequio.ads, a-siocst.adb, a-siocst.ads,
	a-ssicst.adb, a-ssicst.ads, a-stmaco.ads, a-storio.adb,
	a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
	a-strfix.ads, a-strmap.adb, a-strmap.ads, a-strsea.adb,
	a-strsea.ads, a-strunb.adb, a-strunb.ads, a-ststio.adb,
	a-ststio.ads, a-stunau.adb, a-stunau.ads, a-stwibo.adb,
	a-stwibo.ads, a-stwifi.adb, a-stwima.adb, a-stwima.ads,
	a-stwise.adb, a-stwise.ads, a-stwiun.adb, a-stwiun.ads,
	a-suteio.adb, a-suteio.ads, a-swmwco.ads, a-swuwti.adb,
	a-swuwti.ads, a-sytaco.adb, a-sytaco.ads, a-tags.adb,
	a-tags.ads, a-tasatt.ads, a-taside.adb, a-taside.ads,
	a-teioed.adb, a-teioed.ads, a-textio.adb, a-textio.ads,
	a-ticoau.adb, a-ticoau.ads, a-ticoio.adb, a-ticoio.ads,
	a-tideau.adb, a-tideau.ads, a-tideio.adb, a-tideio.ads,
	a-tienau.adb, a-tienau.ads, a-tienio.adb, a-tienio.ads,
	a-tifiio.adb, a-tifiio.ads, a-tiflau.adb, a-tiflau.ads,
	a-tiflio.adb, a-tiflio.ads, a-tigeau.adb, a-tigeau.ads,
	a-tiinau.adb, a-tiinau.ads, a-tiinio.adb, a-tiinio.ads,
	a-timoau.adb, a-timoau.ads, a-timoio.adb, a-timoio.ads,
	a-tiocst.adb, a-tiocst.ads, a-titest.adb, a-witeio.adb,
	a-witeio.ads, a-wtcoau.adb, a-wtcoau.ads, a-wtcoio.adb,
	a-wtcstr.adb, a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads,
	a-wtdeio.adb, a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads,
	a-wtenau.adb, a-wtenau.ads, a-wtenio.adb, a-wtenio.ads,
	a-wtfiio.adb, a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads,
	a-wtflio.adb, a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads,
	a-wtinau.adb, a-wtinau.ads, a-wtinio.adb, a-wtmoau.adb,
	a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
	ada-tree.def, ada-tree.h, ada.h, adaint.c, adaint.h,
	ali-util.adb, ali-util.ads, ali.adb, ali.ads, alloc.ads,
	argv.c, atree.adb, atree.ads, atree.h, back_end.adb,
	back_end.ads, bcheck.adb, bcheck.ads, binde.adb, binde.ads,
	binderr.adb, binderr.ads, bindgen.adb, bindgen.ads,
	bindusg.adb, bindusg.ads, butil.adb, butil.ads, cal.c,
	casing.adb, casing.ads, ceinfo.adb, checks.adb, checks.ads,
	cio.c, comperr.adb, comperr.ads, csets.adb, csets.ads,
	csinfo.adb, cstand.adb, cstand.ads, cstreams.c, cuintp.c,
	debug.adb, debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
	dec-io.ads, dec.ads, decl.c, deftarg.c, einfo.adb, einfo.ads,
	einfo.h, elists.adb, elists.ads, elists.h, errno.c, errout.adb,
	errout.ads, eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
	exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
	exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
	exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
	exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
	exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
	exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
	exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
	exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
	exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
	exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
	exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
	exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
	exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
	exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads, fe.h,
	final.c, fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
	fname-uf.adb, fname-uf.ads, fname.adb, fname.ads, freeze.adb,
	freeze.ads, frontend.adb, frontend.ads, g-calend.ads,
	g-comlin.adb, g-debpoo.adb, g-debpoo.ads, g-locfil.adb,
	g-os_lib.ads, g-regist.adb, g-regist.ads, get_targ.adb,
	get_targ.ads, gigi.h, gmem.c, gnat1drv.adb, gnat1drv.ads,
	gnat_ug.texi, gnatbind.adb, gnatbind.ads, gnatbl.c,
	gnatcmd.adb, gnatcmd.ads, gnatdll.adb, gnatfind.adb,
	gnatkr.adb, gnatkr.ads, gnatlbr.adb, gnatlink.adb,
	gnatlink.ads, gnatls.adb, gnatls.ads, gnatmain.adb,
	gnatmain.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
	gnatprep.adb, gnatprep.ads, gnatpsta.adb, gnatpsys.adb,
	gnatvsn.ads, gnatxref.adb, hlo.adb, hlo.ads, hostparm.ads,
	i-c.adb, i-cexten.ads, i-cobol.adb, i-cobol.ads, i-cpoint.adb,
	i-cpoint.ads, i-cpp.adb, i-cpp.ads, i-cstrea.adb, i-cstrea.ads,
	i-cstrin.adb, i-cstrin.ads, i-fortra.adb, i-os2err.ads,
	i-os2lib.adb, i-os2lib.ads, i-os2syn.ads, i-os2thr.ads,
	i-pacdec.adb, i-pacdec.ads, impunit.adb, impunit.ads, init.c,
	inline.adb, inline.ads, io-aux.c, itypes.adb, itypes.ads,
	krunch.adb, krunch.ads, lang-options.h, lang-specs.h,
	layout.adb, layout.ads, lib-list.adb, lib-load.adb,
	lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
	lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
	lib.adb, lib.ads, link.c, live.adb, live.ads, make.adb,
	make.ads, makeusg.adb, makeusg.ads, math_lib.adb, mdll.adb,
	mdll.ads, mdllfile.adb, mdllfile.ads, mdlltool.adb,
	mdlltool.ads, memtrack.adb, misc.c, namet.adb, namet.ads,
	namet.h, nlists.adb, nlists.ads, nlists.h, nmake.adb,
	nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
	output.adb, output.ads, par-ch10.adb, par-ch11.adb,
	par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
	par-ch4.adb, par-ch5.adb, par-ch6.adb, par-ch7.adb,
	par-ch8.adb, par-ch9.adb, par-endh.adb, par-labl.adb,
	par-load.adb, par-prag.adb, par-sync.adb, par-tchk.adb,
	par-util.adb, par.adb, par.ads, prj-attr.adb, prj-attr.ads,
	prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
	prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
	prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
	prj-part.adb, prj-part.ads, prj-proc.adb, prj-proc.ads,
	prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
	prj-util.adb, prj-util.ads, prj.adb, prj.ads, raise.c, raise.h,
	repinfo.adb, repinfo.ads, repinfo.h, restrict.adb,
	restrict.ads, rident.ads, rtsfind.adb, rtsfind.ads,
	s-addima.adb, s-addima.ads, s-arit64.adb, s-arit64.ads,
	s-assert.adb, s-assert.ads, s-asthan.adb, s-asthan.ads,
	s-atacco.adb, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
	s-bitops.ads, s-chepoo.ads, s-direio.adb, s-direio.ads,
	s-except.ads, s-exctab.adb, s-exctab.ads, s-exnflt.ads,
	s-exngen.adb, s-exngen.ads, s-exnint.ads, s-exnlfl.ads,
	s-exnlin.ads, s-exnllf.ads, s-exnlli.ads, s-exnsfl.ads,
	s-exnsin.ads, s-exnssi.ads, s-expflt.ads, s-expgen.adb,
	s-expgen.ads, s-expint.ads, s-explfl.ads, s-explin.ads,
	s-expllf.ads, s-explli.ads, s-expllu.adb, s-expllu.ads,
	s-expmod.adb, s-expmod.ads, s-expsfl.ads, s-expsin.ads,
	s-expssi.ads, s-expuns.adb, s-expuns.ads, s-fatflt.ads,
	s-fatgen.adb, s-fatgen.ads, s-fatlfl.ads, s-fatllf.ads,
	s-fatsfl.ads, s-ficobl.ads, s-fileio.adb, s-fileio.ads,
	s-finimp.adb, s-finimp.ads, s-finroo.adb, s-finroo.ads,
	s-fore.adb, s-fore.ads, s-imgbiu.adb, s-imgbiu.ads,
	s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
	s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
	s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
	s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
	s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
	s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
	s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
	s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
	s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb, s-mantis.ads,
	s-memory.adb, s-memory.ads, s-osprim.ads, s-pack03.adb,
	s-pack03.ads, s-pack05.adb, s-pack05.ads, s-pack06.adb,
	s-pack06.ads, s-pack07.adb, s-pack07.ads, s-pack09.adb,
	s-pack09.ads, s-pack10.adb, s-pack10.ads, s-pack11.adb,
	s-pack11.ads, s-pack12.adb, s-pack12.ads, s-pack13.adb,
	s-pack13.ads, s-pack14.adb, s-pack14.ads, s-pack15.adb,
	s-pack15.ads, s-pack17.adb, s-pack17.ads, s-pack18.adb,
	s-pack18.ads, s-pack19.adb, s-pack19.ads, s-pack20.adb,
	s-pack20.ads, s-pack21.adb, s-pack21.ads, s-pack22.adb,
	s-pack22.ads, s-pack23.adb, s-pack23.ads, s-pack24.adb,
	s-pack24.ads, s-pack25.adb, s-pack25.ads, s-pack26.adb,
	s-pack26.ads, s-pack27.adb, s-pack27.ads, s-pack28.adb,
	s-pack28.ads, s-pack29.adb, s-pack29.ads, s-pack30.adb,
	s-pack30.ads, s-pack31.adb, s-pack31.ads, s-pack33.adb,
	s-pack33.ads, s-pack34.adb, s-pack34.ads, s-pack35.adb,
	s-pack35.ads, s-pack36.adb, s-pack36.ads, s-pack37.adb,
	s-pack37.ads, s-pack38.adb, s-pack38.ads, s-pack39.adb,
	s-pack39.ads, s-pack40.adb, s-pack40.ads, s-pack41.adb,
	s-pack41.ads, s-pack42.adb, s-pack42.ads, s-pack43.adb,
	s-pack43.ads, s-pack44.adb, s-pack44.ads, s-pack45.adb,
	s-pack45.ads, s-pack46.adb, s-pack46.ads, s-pack47.adb,
	s-pack47.ads, s-pack48.adb, s-pack48.ads, s-pack49.adb,
	s-pack49.ads, s-pack50.adb, s-pack50.ads, s-pack51.adb,
	s-pack51.ads, s-pack52.adb, s-pack52.ads, s-pack53.adb,
	s-pack53.ads, s-pack54.adb, s-pack54.ads, s-pack55.adb,
	s-pack55.ads, s-pack56.adb, s-pack56.ads, s-pack57.adb,
	s-pack57.ads, s-pack58.adb, s-pack58.ads, s-pack59.adb,
	s-pack59.ads, s-pack60.adb, s-pack60.ads, s-pack61.adb,
	s-pack61.ads, s-pack62.adb, s-pack62.ads, s-pack63.adb,
	s-pack63.ads, s-parame.adb, s-parame.ads, s-parint.adb,
	s-parint.ads, s-pooglo.adb, s-pooglo.ads, s-pooloc.adb,
	s-pooloc.ads, s-poosiz.adb, s-poosiz.ads, s-powtab.ads,
	s-proinf.adb, s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
	s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
	s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
	s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
	s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
	s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stopoo.ads,
	s-stratt.adb, s-stratt.ads, s-strops.adb, s-strops.ads,
	s-taprob.ads, s-taprop.ads, s-tarest.ads, s-tasdeb.adb,
	s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.ads,
	s-taskin.ads, s-tasren.ads, s-tasres.ads, s-tassta.ads,
	s-tpinop.adb, s-tpinop.ads, s-tpoben.ads, s-tpobop.ads,
	s-unstyp.ads, s-vaflop.adb, s-vaflop.ads, s-valboo.adb,
	s-valboo.ads, s-valcha.adb, s-valcha.ads, s-valdec.adb,
	s-valdec.ads, s-valenu.adb, s-valenu.ads, s-valint.adb,
	s-valint.ads, s-vallld.adb, s-vallld.ads, s-vallli.adb,
	s-vallli.ads, s-valllu.adb, s-valllu.ads, s-valrea.adb,
	s-valrea.ads, s-valuns.adb, s-valuns.ads, s-valuti.adb,
	s-valuti.ads, s-valwch.adb, s-valwch.ads, s-vercon.adb,
	s-vercon.ads, s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb,
	s-wchcnv.ads, s-wchcon.ads, s-wchjis.adb, s-wchjis.ads,
	s-wchstw.adb, s-wchstw.ads, s-wchwts.adb, s-wchwts.ads,
	s-widboo.adb, s-widboo.ads, s-widcha.adb, s-widcha.ads,
	s-widenu.adb, s-widenu.ads, s-widlli.adb, s-widlli.ads,
	s-widllu.adb, s-widllu.ads, s-widwch.adb, s-widwch.ads,
	s-wwdcha.adb, s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads,
	s-wwdwch.adb, s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
	scn-slit.adb, scn.adb, scn.ads, sdefault.ads, sem.adb, sem.ads,
	sem_aggr.adb, sem_aggr.ads, sem_attr.adb, sem_attr.ads,
	sem_case.adb, sem_case.ads, sem_cat.adb, sem_cat.ads,
	sem_ch10.adb, sem_ch10.ads, sem_ch11.adb, sem_ch11.ads,
	sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, sem_ch13.ads,
	sem_ch2.adb, sem_ch2.ads, sem_ch3.adb, sem_ch3.ads,
	sem_ch4.adb, sem_ch4.ads, sem_ch5.adb, sem_ch5.ads,
	sem_ch6.adb, sem_ch6.ads, sem_ch7.adb, sem_ch7.ads,
	sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_ch9.ads,
	sem_disp.adb, sem_disp.ads, sem_dist.adb, sem_dist.ads,
	sem_elab.adb, sem_elab.ads, sem_elim.adb, sem_elim.ads,
	sem_eval.adb, sem_eval.ads, sem_intr.adb, sem_intr.ads,
	sem_maps.adb, sem_maps.ads, sem_mech.adb, sem_mech.ads,
	sem_prag.adb, sem_prag.ads, sem_res.adb, sem_res.ads,
	sem_smem.adb, sem_smem.ads, sem_type.adb, sem_type.ads,
	sem_util.adb, sem_util.ads, sem_vfpt.adb, sem_vfpt.ads,
	sem_warn.adb, sem_warn.ads, sfn_scan.adb, sfn_scan.ads,
	sinfo-cn.adb, sinfo-cn.ads, sinfo.adb, sinfo.ads, sinfo.h,
	sinput-l.adb, sinput-l.ads, sinput-p.adb, sinput-p.ads,
	sinput.adb, sinput.ads, snames.adb, snames.ads, snames.h,
	sprint.adb, sprint.ads, stand.adb, stand.ads, stringt.adb,
	stringt.ads, stringt.h, style.adb, style.ads, stylesw.adb,
	stylesw.ads, switch.adb, switch.ads, sysdep.c, system.ads,
	table.adb, table.ads, targparm.adb, targparm.ads, targtyps.c,
	tbuild.adb, tbuild.ads, trans.c, tree_gen.adb, tree_gen.ads,
	tree_in.adb, tree_in.ads, tree_io.adb, tree_io.ads, treepr.adb,
	treepr.ads, treeprs.ads, treeprs.adt, ttypef.ads, ttypes.ads,
	types.adb, types.ads, types.h, uintp.adb, uintp.ads, uintp.h,
	uname.adb, uname.ads, urealp.adb, urealp.ads, urealp.h,
	usage.adb, usage.ads, utils.c, utils2.c, validsw.adb,
	validsw.ads, widechar.adb, widechar.ads, xeinfo.adb,
	xnmake.adb, xr_tabls.adb, xr_tabls.ads, xref_lib.adb,
	xref_lib.ads, xsinfo.adb, xsnames.adb, xtreeprs.adb : Change
	Ada Core Technologies from maintainer to contributor.

From-SVN: r53142
2002-05-04 05:29:26 +02:00
Jakub Jelinek 1c44af1ef2 re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)
PR target/6542
	* config/sparc/sparc.h (leaf_reg_remap): Remove const.
	(CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
	fill leaf_reg_remap with identity.
	* config/sparc/sparc.c (leaf_reg_remap): Remove const.

	* gcc.dg/20020503-1.c: New test.

From-SVN: r53127
2002-05-03 22:46:23 +02:00
No Author db007e7a8c This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r53126
2002-05-03 20:46:23 +00:00
Jakub Jelinek 7079617c44 re PR target/6522 ([x86] incorrect struct offset for unaligned 64-bit fields in debug information)
PR target/6522
	* dwarf2out.c (simple_decl_align_in_bits): Renamed to...
	(simple_field_decl_align_in_bits): this.  Apply
	BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN if defined.

From-SVN: r53125
2002-05-03 22:35:39 +02:00
Richard Henderson f8c1f16acc New.
From-SVN: r53122
2002-05-03 13:29:16 -07:00
Jakub Jelinek 55802867e5 cmdlne-dM-M.c: New test.
* gcc.dg/cpp/cmdlne-dM-M.c: New test.
	* gcc.dg/cpp/cmdlne-dD-M.c: New test.
	* gcc.dg/cpp/cmdlne-dN-M.c: New test.
	* gcc.dg/cpp/cmdlne-dI-M.c: New test.
	* gcc.dg/cpp/cmdlne-dI-M.h: New aux file.
	* gcc.dg/cpp/cmdlne-dD-dM.c: New test.
	* gcc.dg/cpp/cmdlne-dM-dD.c: New test.

From-SVN: r53120
2002-05-03 22:26:42 +02:00
Richard Henderson f2cacf9644 ifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.
* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
        noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
        noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
        code before JUMP, not EARLIEST.

From-SVN: r53119
2002-05-03 13:24:01 -07:00
Jason Merrill 2c5a72e585 revert reversion
From-SVN: r53112
2002-05-03 14:55:23 -04:00
Alexandre Oliva 8402ca3130 Checked in by Eric Christopher <echristo@redhat.com>
2002-05-02  Alexandre Oliva  <aoliva@redhat.com>

        * Makefile.in: Fix for multilibbed natives.

From-SVN: r53111
2002-05-03 18:41:12 +00:00
Benjamin Kosnik a58e14c40f re PR libstdc++/6549 (std::getline(std::cin,s) work wrong at FreeBSD 4.5)
2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6549.
	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.

From-SVN: r53110
2002-05-03 18:29:07 +00:00
Alexandre Oliva be24d3147a * configure.in: Revert 2002-04-18's patch; fixed in libjava.
From-SVN: r53106
2002-05-03 18:22:38 +00:00
Alexandre Oliva 90cda437cd Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

From-SVN: r53105
2002-05-03 18:22:16 +00:00
Jakub Jelinek 803b392819 re PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')
PR preprocessor/6489
	* tradcpp.c (fixup_newlines): New.
	(main, finclude): Use it.

From-SVN: r53102
2002-05-03 19:51:03 +02:00
Rainer Orth 47c82f92e9 install.texi (Installing): Mention GCC 3.1 buildstats.
* doc/install.texi (Installing): Mention GCC 3.1 buildstats.
	(Specific): Removed buildstats references.
	(Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
	(Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
	Accomodate Solaris versions beyond 8.
	(Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
	(Specific, *-*-solaris2.8): Removed, obsolete.

From-SVN: r53096
2002-05-03 15:10:24 +00:00
Jakub Jelinek a8bf68a15f Add missing comment end.
From-SVN: r53094
2002-05-03 16:08:33 +02:00
Jason Merrill 4eff559b0e defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53092
2002-05-03 09:13:37 -04:00
Jason Merrill 414397bdb7 defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53087
2002-05-03 08:07:13 -04:00
Jason Merrill 17058dc71a dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't actually declare this type.
* dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't
        actually declare this type.
        * decl.c (grokdeclarator): Revert last change.

From-SVN: r53084
2002-05-03 07:31:24 -04:00
GCC Administrator 758e93c407 Daily bump.
From-SVN: r53078
2002-05-03 07:16:15 +00:00
Loren J. Rittle 37e7ed7e1c * doc/install.texi (*-*-freebsd*): Update to latest status.
From-SVN: r53071
2002-05-02 23:29:52 +00:00
Jakub Jelinek 2934d02edd re PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail libstdc++-v3 18_support/numeric_limits.cc)
2002-05-02  Jakub Jelinek  <jakub@redhat.com>

	PR target/6540
	* config.gcc (sparc*-*-solaris2*): Set float_format to i128.
	* config/float-sparc.h: Assume 128-bit long double if
	__LONG_DOUBLE_128__ is defined.

From-SVN: r53068
2002-05-02 14:28:50 -07:00
Phil Edwards 8a2afc9d8e index.html: Update list in #4.1.
2002-05-02  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html:  Update list in #4.1.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53066
2002-05-02 21:22:14 +00:00
Hans Boehm bb5f8c456a dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
	use sigaction instead of __libc_sigaction.

From-SVN: r53062
2002-05-02 20:15:45 +00:00
Mark Mitchell e906ba2888 init.c (perform_base_cleanups): Correct order of base class cleanups.
* init.c (perform_base_cleanups): Correct order of base class
	cleanups.

	* g++.dg/init/dtor1.C: Make it tougher.

From-SVN: r53060
2002-05-02 20:02:41 +00:00
Rainer Orth f0af81232c libjava.exp (libjava_find_spec): New function.
* testsuite/lib/libjava.exp (libjava_find_spec): New function.
	(libjava_init): Use it to find libgcj.spec.
	(libjava_arguments): Likewise.

From-SVN: r53056
2002-05-02 19:10:51 +00:00
David S. Miller 64ae967ad3 re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)
2002-05-02  David S. Miller  <davem@redhat.com>

	PR bootstrap/6525
	* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
	__libc_sigaction on Sparc.

From-SVN: r53053
2002-05-02 10:53:35 -07:00
John David Anglin 3861646581 * Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.
From-SVN: r53049
2002-05-02 17:32:36 +00:00
Jakub Jelinek f47e5d0cef PR target/6512, PR target/5628
PR target/6512, PR target/5628
	* config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
	when memory is not aligned.
	(movdf_insn_v9only_vis): Likewise.
	* config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
	temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
	(SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.

From-SVN: r53042
2002-05-02 11:50:52 +02:00
Joseph Myers 422cac9fee * doc/install.texi: State GNAT version requirements.
From-SVN: r53041
2002-05-02 10:00:29 +01:00
GCC Administrator 9c1c1f7789 Daily bump.
From-SVN: r53035
2002-05-02 07:16:21 +00:00
Mark Mitchell a5bf807ffb re PR c++/6527 (g++ 3.1: class member dtor order wrong (regression in past week))
PR c++/6527
	* init.c (perform_base_cleanups): Emit cleanups in reverse order
	of construction.

From-SVN: r53032
2002-05-02 05:13:30 +00:00
Richard Henderson 65913e0632 Not a good day...
From-SVN: r53030
2002-05-01 18:14:38 -07:00
Jeff Law e94dce828e pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the 'T' constraint.
* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
	'T' constraint.

From-SVN: r53029
2002-05-02 00:33:08 +00:00
Benjamin Kosnik 415d081b64 re PR libstdc++/6533 (libstdc++ broken on unsigned char platforms)
2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6533
	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
	(istreambuf_iterator::equal): Use it.
	(istreambuf_iterator::operator*): Use it.

From-SVN: r53028
2002-05-02 00:29:01 +00:00
Phil Edwards 0f29a49796 std_bitset.h: Fix doxygen comments.
2002-05-01  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Fix doxygen comments.
	* docs/html/documentation.html:  Minor tweaks for 3.1.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r53026
2002-05-01 22:58:59 +00:00
Joel Brobecker 0d3f4efa77 dbxout.c (dbxout_type): Emit size information for range types, as well, but only when using GDB extensions.
* dbxout.c (dbxout_type): Emit size information for range types,
	as well, but only when using GDB extensions.

From-SVN: r53022
2002-05-01 18:29:25 -04:00
Geert Bosch 41083949d0 * comperr.adb : Fix typo.
From-SVN: r53020
2002-05-01 23:15:25 +02:00
Richard Henderson 0f53b031f9 Arg. Typo last change.
From-SVN: r53016
2002-05-01 13:32:38 -07:00
Richard Henderson adcd20fbc9 configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with target-independent gnu binutils date test.
* configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
        target-independent gnu binutils date test.

From-SVN: r53015
2002-05-01 13:31:57 -07:00
Jakub Jelinek 8371b14a70 cppinit.c (cpp_handle_option): Don't set no_output here...
* cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
	(cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
	-M -or -MM is in effect.

From-SVN: r53012
2002-05-01 22:04:46 +02:00
Geert Bosch f8bb897f27 bindgen.adb (Public_Version_Warning): Remove.
* bindgen.adb (Public_Version_Warning): Remove.

	* gnatvsn.ads : Change to match GCC 3.1 version.

	* comperr.adb : Change bug box, remove ACT-specific circuitry.

	* comperr.ads : Update comments to reflect changed bug message.

From-SVN: r53011
2002-05-01 21:57:06 +02:00
Zack Weinberg aa47d55099 config.gcc: Correct test of --enable-obsolete.
* config.gcc: Correct test of --enable-obsolete.  Obsolete all
	A29k configurations.
	* doc/install.texi: Update to match.

From-SVN: r53010
2002-05-01 18:44:42 +00:00
Franz Sirl 37b0aef153 re PR bootstrap/6514 (3.1 irix6.5 bootstrap failure in libstdc++-v3/src/misc-inst.cc)
2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR bootstrap/6514
	* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
	for duplicates. Always loop over whole list.

From-SVN: r53007
2002-05-01 18:03:36 +00:00
Richard Kenner e41e5e5bc3 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
From-SVN: r53004
2002-05-01 13:26:44 -04:00
Joel Sherrill 068780a1c5 t-elf (sparc-rtems, sparc-elf): Build assembly support routines.
2002-05-01	Joel Sherrill <joel@OARcorp.com>

	* config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
	support routines.

From-SVN: r53002
2002-05-01 17:15:48 +00:00
Gabriel Dos Reis 5bb305d5be * error.c (dump_type): Be careful about implicit typenames.
From-SVN: r53000
2002-05-01 16:29:27 +00:00
Joseph Myers 5cc668b9c0 install.texi: Update Texinfo version requirement documentation.
* doc/install.texi: Update Texinfo version requirement
	documentation.

From-SVN: r52998
2002-05-01 14:05:07 +01:00
Paolo Carlini 7c0fc7e6c3 re PR libstdc++/6513 (sigfaults on trivial code)
2002-05-01  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/6513
	* include/bits/stl_uninitialized.h
	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
	Fix typo in 2001-07-17 commit: typedef _ValueType to
	iterator_traits<_ForwardIter> not <_InputIter>.
	* testsuite/23_containers/vector_ctor.cc: Add test04.

From-SVN: r52996
2002-05-01 08:57:14 +00:00
Nathan Sidwell f120129309 Fix bad regexp
From-SVN: r52993
2002-05-01 07:34:35 +00:00
GCC Administrator 232316a275 Daily bump.
From-SVN: r52989
2002-05-01 07:16:23 +00:00
Richard Henderson 233b817811 sol27-sld.h: Rename from sol26-sld.h.
* config/sparc/sol27-sld.h: Rename from sol26-sld.h.
        (PREFERRED_DEBUGGING_TYPE, ASM_DEBUG_SPEC): Undef.
        * config.gcc (sparc-solaris): Adjust test for native ld bug.
        Add it after the biarch headers.

From-SVN: r52987
2002-04-30 19:47:56 -07:00
Richard Henderson 87417d6a53 toplev.c (rest_of_compilation): Don't run cross-jump before bb-reorder.
* toplev.c (rest_of_compilation): Don't run cross-jump before
        bb-reorder.
	* gcc.dg/20020430-1.c: New.

From-SVN: r52980
2002-04-30 16:04:54 -07:00
David S. Miller 422ac28835 Add ABI change note to previous change.
From-SVN: r52978
2002-04-30 15:27:46 -07:00
Mark Mitchell faad55f353 class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if TYPE_HAS_TRIVIAL_INIT_REF is false or...
2002-04-30  Mark Mitchell  <mark@codesourcery.com>

	* class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if
	TYPE_HAS_TRIVIAL_INIT_REF is false or
	TYPE_HAS_NONTRIVIAL_DESTRUCTOR is true.

From-SVN: r52975
2002-04-30 14:53:02 -07:00
Joel Sherrill d5b94ded33 rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
2002-04-30	Joel Sherrill <joel@OARcorp.com>

	* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

From-SVN: r52971
2002-04-30 19:58:55 +00:00
Mark Mitchell fba79de59a re PR c++/6492 (New boost regression (friends))
PR c++/6492
	* pt.c (tsubst_friend_class): If the friend has an explicit scope,
	enter that scope before name lookup.

From-SVN: r52968
2002-04-30 19:43:56 +00:00
John David Anglin c02e45f9ae re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)
PR libstdc++/6501
	* include/c_std/std_cctype.h: Include bits/c++config.h.
	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

From-SVN: r52967
2002-04-30 19:29:24 +00:00
Richard Henderson bf68c82283 sparc.c (emit_soft_tfmode_libcall, [...]): New.
* config/sparc/sparc.c (emit_soft_tfmode_libcall,
        emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
        emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
        emit_tfmode_cvt): New.
        * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
        trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
        fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
        addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r52964
2002-04-30 12:10:02 -07:00
Benjamin Kosnik b7952e6c3e stdio_filebuf.h: New file.
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/stdio_filebuf.h: New file.
	* include/ext/enc_filebuf.h: New file.
	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
	* config/io/basic_file_stdio.cc: Same.
	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
	Remove _M_unbuf hacks.
	(filebuf::_M_destroy_internal_buffer): Same.
	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
	(filebuf::fd): Remove.
	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
	(filebuf::fd): Remove.
	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
	filebufs.
	(ios_base::_S_ios_destroy): Same.
	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
	stdio_filebuf.h.  * include/Makefile.in: Regenerate.

From-SVN: r52963
2002-04-30 19:05:47 +00:00
No Author ca4834b7c8 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52962
2002-04-30 19:05:47 +00:00
John David Anglin be12062f28 config.gcc (hppa1.1-*-pro*, [...]): Define xmake_file.
* config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
	hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
	hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
	hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
	* ada/Make-lang.in (ADA_FLAGS_TO_PASS): Don't pass ADA_CFLAGS.
	* pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
	* pa/x-ada: New file.  Define ADA_CFLAGS.

From-SVN: r52960
2002-04-30 19:02:22 +00:00
Janis Johnson a3a1aa89bd install.texi (Final install): Add to the list of info to include in a report of a successful bootstrap...
* doc/install.texi (Final install): Add to the list of info to include
	in a report of a successful bootstrap, and add link to 3.1 list.

From-SVN: r52958
2002-04-30 18:06:53 +00:00
Jason Merrill c95ff6545e decl.c (grokdeclarator): Don't override TYPE_NAME of an anonymous class with a typedef if...
* decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

[[Split portion of a mixed commit.]]

From-SVN: r52955.1
2002-04-30 13:50:12 -04:00
Jakub Jelinek ad23c3ac25 re PR c++/6396 (3.1 flow.c 583 ICE with -frename-registers)
PR c++/6396
	* toplev.c (rest_of_compilation): Only run regrename and copy
	propagation if optimizing.

From-SVN: r52952
2002-04-30 19:08:16 +02:00
Paul Eggert f2738d5ba7 * parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
From-SVN: r52947
2002-04-30 11:42:21 -04:00
Gerald Pfeifer 171b35c125 contrib.texi (Contributors): Use MIPS instead of Mips and mips.
* doc/contrib.texi (Contributors): Use MIPS instead of Mips and
	mips.  Add two missing commas.

From-SVN: r52943
2002-04-30 13:29:22 +00:00
Paolo Carlini 605c614ae0 contrib.texi (Contributors): Update Paolo Carlini's and Benjamin Kosnik's entries.
2002-04-30  Paolo Carlini  <pcarlini@unitus.it>

	* doc/contrib.texi (Contributors): Update Paolo Carlini's
	and Benjamin Kosnik's entries.

From-SVN: r52942
2002-04-30 11:07:52 +00:00
Paul Eggert 4a42c73aee parse.y (nomods_initdcl0): Do not move stack entries when setting things up as initdcl0_innards expects.
* parse.y (nomods_initdcl0): Do not move stack entries
	when setting things up as initdcl0_innards expects.

From-SVN: r52940
2002-04-30 09:35:14 +00:00
Benjamin Kosnik f5e0e1f6d0 re PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6511
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

From-SVN: r52938
2002-04-30 09:19:28 +00:00
Benjamin Kosnik 4d3d0741fd re PR libstdc++/5820 (EOF not handled correctly on input)
2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.

From-SVN: r52936
2002-04-30 08:28:04 +00:00
Benjamin Kosnik 2fc045a030 re PR libstdc++/5820 (EOF not handled correctly on input)
2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.

From-SVN: r52935
2002-04-30 08:27:20 +00:00
GCC Administrator a990fd6464 Daily bump.
From-SVN: r52929
2002-04-30 07:16:21 +00:00
Rainer Orth d5516493c2 libstdc++-v3-dg.exp (libstdc++-v3-init): Set all of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, LD_LIBRARY64_PATH.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
	LD_LIBRARY64_PATH.

From-SVN: r52918
2002-04-30 01:41:37 +00:00
Franz Sirl 9ec740b1ac combine.c (find_split_point): Use trunc_int_for_mode.
2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* combine.c (find_split_point): Use trunc_int_for_mode.

From-SVN: r52917
2002-04-30 00:42:48 +00:00
Richard Kenner 4474a953e5 reload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.
* reload1.c (eliminate_regs, case SUBREG): Fix typo in
	adjust_address_nv call.

From-SVN: r52912
2002-04-29 17:22:47 -04:00
Roger Sayle b0452af3f2 * MAINTAINERS: Synchronize with mainline.
From-SVN: r52911
2002-04-29 20:44:37 +00:00
Janis Johnson b84acfa60c install.texi (Testing): Provide additional information...
* doc/install.texi (Testing): Provide additional information, and
	a stronger encouragement, for running the testsuites.

From-SVN: r52909
2002-04-29 20:25:20 +00:00
Rainer Orth 87d46d9efc inclhack.def (solaris_widec): Include <wchar.h> in Solaris 2 <widec.h> if missing.
* fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
	Solaris 2 <widec.h> if missing.
	* fixinc/fixincl.x: Regenerate.
	* fixinc/tests/base/widec.h: New file.

From-SVN: r52905
2002-04-29 19:31:19 +00:00
Jakub Jelinek 714c9c0edf re PR target/6476 (Need configury bits to detect binutils eh_frame optimizer bugs)
PR target/6476
	* configure.in: Check whether linker eh_frame optimizations work
	properly.
	* configure: Rebuilt.

From-SVN: r52901
2002-04-29 17:20:53 +02:00
Jan Hubicka 2f448eca6e * i386.c (dbx64_register_map): Fix typo.
From-SVN: r52898
2002-04-29 15:09:23 +00:00
Jan Hubicka 37d9dcfbb9 *** empty log message ***
From-SVN: r52897
2002-04-29 15:07:26 +00:00
Jakub Jelinek cd24738009 re PR c++/6477 (Segfault on conflicting types in trivial code)
PR c++/6477
	* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
	non-NULL first.

	* g++.dg/parse/typedef1.C: New test.

From-SVN: r52896
2002-04-29 17:05:46 +02:00
Mark Mitchell 3939c11f5c re PR c++/6492 (New boost regression (friends))
PR c++/6492
	* pt.c (tsubst_friend_class): If the friend has an explicit scope,
	enter that scope before name lookup.

	PR c++/6486
	* method.c (do_build_copy_constructor): Avoid building
	cv-qualified reference types.

	PR c++/6486
	* g++.dg/template/friend6.C: New test.

	PR c++/6492
	* g++.dg/init/copy1.C: New test.

From-SVN: r52894
2002-04-29 14:54:52 +00:00
Gerald Pfeifer cb66b1e54f contrib.texi (Contributors): Add Paolo Carlini and Janis Johnson.
* doc/contrib.texi (Contributors): Add Paolo Carlini and
	Janis Johnson.
	Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
	Refer to Objective-C instead of ObjC, SPARC instead of sparc,
	and CPU instead of cpu.

From-SVN: r52892
2002-04-29 13:10:06 +00:00
Nathan Sidwell 059417f379 re PR c++/5719 (Suspect gcc-3 to report wrong waring for 'T& T::operator+=( const T& )')
cp:
	PR c++/5719
	* decl.c (grok_op_properties): Assignment ops don't have to return
	by value. operator% should.
testsuite:
	* g++.dg/warn/effc1.C: New test.

From-SVN: r52887
2002-04-29 08:41:44 +00:00
Joseph Myers f41520d803 invoke.texi: Use @gol at ends of lines inside @gccoptlist.
* invoke.texi: Use @gol at ends of lines inside @gccoptlist.
	* g77.texi: Update last update date.

From-SVN: r52886
2002-04-29 08:58:32 +01:00
Alexandre Oliva c59d253cde config.gcc: Revert i386 changes inadvertently brought in from mainline along with...
* config.gcc: Revert i386 changes inadvertently brought in
from mainline along with 2002-04-04's change.

From-SVN: r52884
2002-04-29 07:52:06 +00:00
GCC Administrator 12a1d40c9a Daily bump.
From-SVN: r52880
2002-04-29 07:16:12 +00:00
David S. Miller 5b0713b0a7 configure.in, configure: Fix SPARC test in previous change.
2002-04-28  David S. Miller  <davem@redhat.com>

	* configure.in, configure: Fix SPARC test in previous change.

From-SVN: r52877
2002-04-28 22:47:08 -07:00
David S. Miller a90f4688c9 re PR target/6496 (Sparc backend clobbers call-return stack of UltraSparc)
2002-04-28  David S. Miller  <davem@redhat.com>

	PR target/6496
	* config/sparc/sparc.md (call followed by jump peephole): Do not
	match for TARGET_V9, kill TARGET_ARCH64 variants.

	PR target/6500
	* config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
	64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
	several {reads,writes} instead.
	* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
	Define.

From-SVN: r52875
2002-04-28 22:26:08 -07:00
David S. Miller 7ba22dde83 re PR target/6494 (sparc64-linux libjava testsuite failures)
2002-04-27  David S. Miller  <davem@redhat.com>

	PR target/6494
	* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
	of the stack bias.

	* config/sparc/linux.h, config/sparc/linux64.h: Don't bother
	including signal.h and sys/ucontext.h, not needed.

From-SVN: r52871
2002-04-28 21:09:50 -07:00
Bruce Korb 5f434ce0d0 spell defined "defined" instead of "procedure"
From-SVN: r52868
2002-04-29 02:28:36 +00:00
Paolo Carlini abeb408a60 [multiple changes]
2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* testsuite/ext/hash_set.cc: New testfile.

From-SVN: r52865
2002-04-28 22:22:57 +00:00
Richard Henderson e2ab4c390a re PR middle-end/5154 (GCC 3.0.2 crashes when compiling a HUGE function)
PR c/5154
        * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
        (ggc_mark_rtx_children): New.

From-SVN: r52862
2002-04-28 13:35:54 -07:00
Franz Sirl f52b318c77 re PR c/6497 (unrecognizable insn:l inux-2.4.19 pre7 kernel comling with gcc-3.1 prerelease)
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/6497
	* config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
	result as temporary value.

From-SVN: r52861
2002-04-28 20:34:49 +00:00
Jakub Jelinek 5ae87e434b configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working %r_disp32().
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
	%r_disp32().
	* src/sparc/v8.S: Use it.
	* src/sparc/v9.S: Likewise.
	* fficonfig.h.in: Rebuilt.
	* configure: Rebuilt.

From-SVN: r52859
2002-04-28 22:12:04 +02:00
Jakub Jelinek aaecc993d8 re PR rtl-optimization/6475 (zlib miscompilation with gcc-3.1)
PR optimization/6475
	* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
	register of REGNO_DECL (i).
	* Makefile.in (reload1.o): Add $(TREE_H).

	* gcc.dg/20020426-2.c: New test.

From-SVN: r52854
2002-04-28 21:43:49 +02:00
Bruce Korb f84bf33e48 verify existence of set-writable before using
From-SVN: r52852
2002-04-28 19:37:53 +00:00
Franz Sirl 043d816ce3 re PR c/6343 (attribute((weak)) not working on second declaration)
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/6343
	* c-decl.c (duplicate_decls): Call merge_weak.
	* c-pragma.c (apply_pragma_weak): Warn about misuse.
	* output.h (merge_weak): Prototype merge_weak.
	* varasm.c (merge_weak): New function.
	(declare_weak): Make sure we don't give an error on VAR_DECLs.
	Mark RTL with SYMBOL_REF_WEAK.

cp:
	* decl.c (duplicate_decls): Call merge_weak.

testsuite:
	* gcc.dg/weak-[2-7].c: New tests.

From-SVN: r52848
2002-04-28 18:43:58 +00:00
No Author ee7406c446 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52847
2002-04-28 18:43:58 +00:00
Mark Mitchell 7d981d7b8b * .cvsignore: Remove files that are present in CVS.
From-SVN: r52846
2002-04-28 18:42:21 +00:00
GCC Administrator ac7c86789b Daily bump.
From-SVN: r52839
2002-04-28 07:16:40 +00:00
GCC Administrator 028c232e29 Daily bump.
From-SVN: r52828
2002-04-27 07:16:25 +00:00
Mark Mitchell 008a105bf3 re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
	* config/i386/i386.md (untyped_call): Return the value in a float
	register if TARGET_FLOAT_RETURNS_IN_80387, not just if
	TARGET_80387.

From-SVN: r52823
2002-04-27 00:25:12 +00:00
David S. Miller 3ec6c769bf re PR target/6422 (libjava failures on sparc-linux)
2002-04-25  David S. Miller  <davem@redhat.com>

	PR target/6422
	* reorg.c (optimize_skip): Do not allow exception causing
	instructions to be considered for delay slots.
	(fill_simply_delay_slots, fill_slots_from_thread): Likewise.
	(relax_delay_slots): Do not try to consider exception causing
	instructions as redundant.

From-SVN: r52821
2002-04-26 17:06:15 -07:00
David S. Miller f1e032e207 re PR target/6422 (libjava failures on sparc-linux)
2002-04-25  David S. Miller  <davem@redhat.com>

	PR target/6422
	* include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
	program counter to next program counter minus 8.  Update
	comments in this macro to explain why.

From-SVN: r52819
2002-04-26 17:03:03 -07:00
Alexandre Oliva 0b28889419 re PR c++/6479 (access control bug)
PR c++/6497
* g++.dg/inherit/access2.C: New test.

From-SVN: r52818
2002-04-26 23:48:32 +00:00
No Author c5843d9e38 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52817
2002-04-26 23:48:32 +00:00
Alexandre Oliva 43a769bd2e tree.c (tree_int_cst_lt): Compare constants whose types differ in unsigned-ness correctly.
* tree.c (tree_int_cst_lt): Compare constants whose types differ
in unsigned-ness correctly.

From-SVN: r52816
2002-04-26 23:46:01 +00:00
Joel Sherrill ebbf3df442 configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
2002-04-26	Joel Sherrill <joel@OARcorp.com>

	* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
	(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

From-SVN: r52811
2002-04-26 21:40:53 +00:00
Chris Demetriou c4bde695cf mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to correct for MEABI (used by mipsisa32-elf).
2002-04-26  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Get closer to
        correct for MEABI (used by mipsisa32-elf).

From-SVN: r52810
2002-04-26 14:32:14 -07:00
Mark Mitchell e18f3a4cc8 re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
PR bootstrap/6445
	* config/i386/i386.md (untyped_call): Return the value in a float
	register if TARGET_FLOAT_RETURNS_IN_80387, not just if
	TARGET_80387.

	PR c++/6497
	* method.c (do_build_assign_ref): Pass a derivation to
	build_method_call when calling base class assignment operators.

	PR c++/6497
	* g++.dg/inherit/access2.C: New test.

	PR bootstrap/6445
	* gcc.dg/20020426-1.c: New test.

From-SVN: r52808
2002-04-26 21:26:07 +00:00
Alexandre Oliva 3face55598 * g++.dg/abi/enum1.C: New test.
From-SVN: r52806
2002-04-26 20:10:05 +00:00
No Author 9e561320c3 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52805
2002-04-26 20:10:05 +00:00
Paolo Carlini e81de24ca7 basic_string.h (replace(__pos, __n1, __s, __n2): Fix and tighten __throw_length_error check.
2002-04-26  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
	Fix and tighten __throw_length_error check.
	* testsuite/21_strings/replace.cc (test04): New.
	* testsuite/21_strings/replace.cc (test02, test03): Tweak.

From-SVN: r52803
2002-04-26 19:36:27 +00:00
Ulrich Weigand 6ffe9df0c4 * config/s390/linux.h: Revert 2002-04-22 change.
From-SVN: r52801
2002-04-26 19:21:18 +00:00
John David Anglin 76bc077009 pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime model.
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
	portable runtime model.

From-SVN: r52799
2002-04-26 18:40:47 +00:00
David Edelsohn 8a14269289 rs6000.md (sCC pattern): Remove clobber and use result as temporary value.
* config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
        result as temporary value.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r52798
2002-04-26 14:22:51 -04:00
Richard Henderson af15ba6b57 * c-common.c (combine_strings): Tweak __FUNCTION__ warning text.
From-SVN: r52796
2002-04-26 11:10:32 -07:00
Richard Henderson c71c2bcad9 * c-common.c (combine_strings): Use xmalloc, not alloca.
From-SVN: r52795
2002-04-26 10:53:35 -07:00
Bo Thorsen 2d6231b75d linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for x86-64.
2002-04-26  Bo Thorsen  <bo@suse.co.uk>

	* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
		x86-64.

From-SVN: r52792
2002-04-26 09:57:50 +02:00
GCC Administrator 7ffd0daca1 Daily bump.
From-SVN: r52783
2002-04-26 07:16:46 +00:00
David S. Miller 5f76609a8b sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check for DECL being NULL.
2002-04-25  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
	for DECL being NULL.

From-SVN: r52775
2002-04-25 19:04:04 -07:00
Eric Botcazou 81f8fa35df c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members.
* c-decl.c (grokdeclarator): Remove outdated ??? note
        on invalid declaration of flexible array members.

From-SVN: r52773
2002-04-25 17:23:32 -07:00
Richard Henderson adc6b5fd82 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
From-SVN: r52770
2002-04-25 15:33:21 -07:00
Ulrich Weigand cc03dff663 s390.c (s390_emit_epilogue): Always restore registers needed by the compiler...
* config/s390/s390.c (s390_emit_epilogue): Always restore registers
needed by the compiler, even if they are used as global regs.

From-SVN: r52766
2002-04-25 20:06:51 +00:00
Kaveh R. Ghazi cf891c917c 20020227-1.x: New file, xfail on 64-bit targets.
* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
	targets.

From-SVN: r52761
2002-04-25 18:44:37 +00:00
Steven Bosscher 4063beb78b * doc/c-tree.texi: Fix typo in introduction.
From-SVN: r52759
2002-04-25 09:34:52 +00:00
GCC Administrator f2af4b8b4d Daily bump.
From-SVN: r52754
2002-04-25 07:16:25 +00:00
Richard Henderson 5c0c9d6177 configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12 linker bug.
* configure.in (HAVE_GAS_HIDDEN): Detect sparc binutils 2.12
        linker bug.

From-SVN: r52752
2002-04-24 18:32:29 -07:00
Tom Tromey 3e340b61e5 For PR java/6425:
* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
	EXPR_WFL_QUALIFICATION of qual_wfl.

From-SVN: r52750
2002-04-25 01:08:29 +00:00
Mark Mitchell 09bef5885f mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.
2002-04-24  Mark Mitchell  <mark@codesourcery.com>

	* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
	out an array type.
	(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
	to determine qualifiers.

From-SVN: r52748
2002-04-25 01:04:56 +00:00
Jason Merrill 1d80c072da typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.
* typeck.c (build_modify_expr): The pedwarn for array assignment is
        now unconditional.
        * tree.c (build_cplus_array_type_1): Still process simple array types
        normally in templates.

From-SVN: r52747
2002-04-24 20:14:26 -04:00
Tom Tromey 36950d08a3 natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name.
* gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
	correct length of UTF-8 encoded name.  Strip leading `/'.
	(_Jv_RegisterResource): Use _Jv_Malloc.

From-SVN: r52743
2002-04-24 23:02:56 +00:00
Mark Mitchell 6673aaf79b cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs void.
* cvt.c (convert_to_void): Don't unconditionally make COND_EXPRs
	void.

From-SVN: r52741
2002-04-24 22:41:00 +00:00
Per Bothner e02acb8af0 expr.c (PRE_JSR): Call NOTE_LABEL for return address.
* expr.c (PRE_JSR):  Call NOTE_LABEL for return address.
	* java-tree.h (BCODE_RETURN_TARGET):  Removed - never set.
	(BCODE_TARGET):  Remove BCODE_RETURN_TARGET.

From-SVN: r52736
2002-04-24 15:16:08 -07:00
Neil Booth 178ee15a78 * gcc.dg/cpp/ucs.c: Update as for 3.2.
From-SVN: r52729
2002-04-24 20:39:30 +00:00
Kaveh Ghazi d1926ca5ed labels-3.x: New file, don't assemble the compiler output on mips*-*-irix*.
* gcc.c-torture/compile/labels-3.x: New file, don't assemble the
	compiler output on mips*-*-irix*.

From-SVN: r52728
2002-04-24 19:31:25 +00:00
No Author 2a2ea8a9ff This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52727
2002-04-24 19:31:25 +00:00
Jason Merrill 7e93ecdd67 dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
        * dwarf2out.c (dwarf_attr_name): Support it.
        (gen_array_type_die): Emit it.
        (lookup_type_die): No special handling for VECTOR_TYPE.
        (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.

From-SVN: r52725
2002-04-24 14:50:26 -04:00
Richard Henderson c643b640a6 * config/mips/mips.md (movdi_usd): Renumber.
From-SVN: r52722
2002-04-24 10:40:50 -07:00
Robert Lipe 0c2f2cc04b * config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.
From-SVN: r52721
2002-04-24 17:18:04 +00:00
David S. Miller 4298dde5e5 re PR target/6420 (libstdc++ failures on sparc-linux-gnu)
2002-04-24  David S. Miller  <davem@redhat.com>

	PR target/6420
	* config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
	32-bit Sparc and current_function_returns_struct is true.

From-SVN: r52719
2002-04-24 09:57:15 -07:00
David O'Brien 8e3a59d048 encoding.c (MAX, [...]): #undef before defining.
2002-04-24  David O'Brien  <obrien@FreeBSD.org>
	* encoding.c (MAX, MIN, ROUNDING): #undef before defining.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020419.184825.67430590.davem@redhat.com>

From-SVN: r52716
2002-04-24 15:05:19 +00:00
Aldy Hernandez 97b56bf405 altivec.h: Cleanup file.
2002-04-24  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/altivec.h: Cleanup file.  Add non individual
	variants.
	(vec_vaddubm): New.
	(vec_vadduhm): New.
	(vec_vadduwm): New.
	(vec_vaddfp): New.
	(vec_vaddcuw): New.
	(vec_vaddubs): New.
	(vec_vaddsbs): New.
	(vec_vadduhs): New.
	(vec_vadduws): New.
	(vec_vaddsws): New.
	(vec_vand): New.
	(vec_vandc): New.
	(vec_vavgub): New.
	(vec_vavgsb): New.
	(vec_vavguh): New.
	(vec_vavgsh): New.
	(vec_vavguw): New.
	(vec_vavgsw): New.
	(vec_vrfip): New.
	(vec_vcmpbfp): New.
	(vec_vcmpequb): New.
	(vec_vcmpequh): New.
	(vec_vcmpequw): New.
	(vec_vcmpeqfp): New.
	(vec_vcmpgefp): New.
	(vec_vcmpgtub): New.
	(vec_vcmpgtsb): New.
	(vec_vcmpgtuh): New.
	(vec_vcmpgtsh): New.
	(vec_vcmpgtuw): New.
	(vec_vcmpgtsw): New.
	(vec_vcmpgtfp): New.
	(vec_vcmpgefp): New.
	(vec_vcfux): New.
	(vec_vcfsx): New.
	(vec_vctsxs): New.
	(vec_vctuxs): New.
	(vec_vexptefp): New.
	(vec_vrfim): New.
	(vec_lvx): New.
	(vec_lvebx): New.
	(vec_lvehx): New.
	(vec_lde): Add vector float variant.
	(vec_lvewx): New.
	(vec_lvxl): New.
	(vec_vlogefp): New.
	(vec_vmaddfp): New.
	(vec_vmhaddshs): New.
	(vec_vmaxub): New.
	(vec_vmaxsb): New.
	(vec_vmaxuh): New.
	(vec_vmaxsh): New.
	(vec_vmaxuw): New.
	(vec_vmaxsw): New.
	(vec_vmaxsw): New.
	(vec_vmaxfp): New.
	(vec_vmrghb): New.
	(vec_vmrghh): New.
	(vec_vmrghw): New.
	(vec_vmrglb): New.
	(vec_vmrglh): New.
	(vec_vmrglw): New.
	(vec_vminub): New.
	(vec_vminsb): New.
	(vec_vminuh): New.
	(vec_vminsh): New.
	(vec_vminuw): New.
	(vec_vminsw): New.
	(vec_vminfp): New.
	(vec_vmladduhm): New.
	(vec_vmhraddshs): New.
	(vec_msumubm): New.
	(vec_vmsummbm): New.
	(vec_vmsumuhm): New.
	(vec_vmsumshm): New.
	(vec_vmsumuhs): New.
	(vec_vmsumshs): New.
	(vec_vmuleub): New.
	(vec_vmulesb): New.
	(vec_vmuleuh): New.
	(vec_vmulesh): New.
	(vec_vmuloub): New.
	(vec_mulosb): New.
	(vec_vmulouh): New.
	(vec_vmulosh): New.
	(vec_vnmsubfp): New.
	(vec_vnor): New.
	(vec_vor): New.
	(vec_vpkuhum): New.
	(vec_vpkuwum): New.
	(vec_vpkpx): New.
	(vec_vpkuhus): New.
	(vec_vpkshss): New.
	(vec_vpkuwus): New.
	(vec_vpkswss): New.
	(vec_vpkshus): New.
	(vec_vpkswus): New.
	(vec_vperm): New.
	(vec_vrefp): New.
	(vec_vrlb): New.
	(vec_vrlh): New.
	(vec_vrlw): New.
	(vec_vrfin): New.
	(vec_vrsqrtefp): New.
	(vec_vsel): New.
	(vec_vslb): New.
	(vec_vslh): New.
	(vec_vslw): New.
	(vec_vsldoi): New.
	(vec_vsl): New.
	(vec_vslo): New.
	(vec_vspltb): New.
	(vec_vsplth): New.
	(vec_vspltw): New.
	(vec_vspltisb): New.
	(vec_vspltish): New.
	(vec_vspltisw): New.
	(vec_vsrb): New.
	(vec_vsrh): New.
	(vec_vsrw): New.
	(vec_vsrab): New.
	(vec_vsrah): New.
	(vec_vsraw): New.
	(vec_vsr): New.
	(vec_vsro): New.
	(vec_stvx): New.
	(vec_stvebx): New.
	(vec_stvehx): New.
	(vec_stvewx): New.
	(vec_stvxl): New.
	(vec_vsububm): New.
	(vec_vsubuhm): New.
	(vec_vsubuwm): New.
	(vec_vsubfp): New.
	(vec_vsubcuw): New.
	(vec_vsububs): New.
	(vec_vsubsbs): New.
	(vec_vsubuhs): New.
	(vec_vsubshs): New.
	(vec_vsubuws): New.
	(vec_vsubsws): New.
	(vec_vsum4ubs): New.
	(vec_vsum4sbs): New.
	(vec_vsum4shs): New.
	(vec_vsum2sws): New.
	(vec_vsumsws): New.
	(vec_vrfiz): New.
	(vec_vupkhsb): New.
	(vec_vupkhpx): New.
	(vec_vupkhsh): New.
	(vec_vupklsb): New.
	(vec_vupklpx): New.
	(vec_vupklsh): New.
	(vec_vxor): New.

From-SVN: r52713
2002-04-24 10:59:40 +00:00
Jason Merrill eaa1d3eb00 re PR c++/6331 (g++ 3.1 looses const qualifiers)
PR c++/6331
        * method.c (do_build_copy_constructor): Use cp_build_qualified_type.
        * typeck.c (build_modify_expr): Allow arrays to differ in cv-quals.

From-SVN: r52710
2002-04-24 06:49:56 -04:00
GCC Administrator 25a01b06b0 Daily bump.
From-SVN: r52705
2002-04-24 07:16:30 +00:00
Per Bothner 65f15556ee Fix typos for 2002-03-08 entry.
From-SVN: r52704
2002-04-23 22:12:11 -07:00
Loren J. Rittle 6c054bdee3 std_fstream.h (basic_filebuf::sync): Hoist unconditional flush on lower-layer handle to here...
* include/std/std_fstream.h (basic_filebuf::sync): Hoist
	unconditional flush on lower-layer handle to here...
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
	...from here.  Optimize remaining _M_file.sync() call pattern.
	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
	(test05): Likewise.

From-SVN: r52702
2002-04-24 03:20:14 +00:00
Adam Megacz fa78090760 win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.
2002-04-23  Adam Megacz <adam@xwt.org>

        * win32.cc, include/win32.cc (backtrace): Added this function
        because Win32 does not supply it.

From-SVN: r52700
2002-04-24 01:04:45 +00:00
Anthony Green 04cad41541 Fixe rmiregistry docs
From-SVN: r52698
2002-04-23 23:56:25 +00:00
Jason Merrill a7e4666600 re PR c++/6395 (gcc-3_1-branch regression for g++.old-deja/g++.jason/synth5.C)
PR c++/6395
        * decl.c (make_rtl_for_nonlocal_decl): Don't mess with #pragma i/i
        stuff for comdats.

From-SVN: r52697
2002-04-23 19:52:07 -04:00
Zack Weinberg ac40ac7c07 install.texi: Clarify which versions of alpha*-dec-osf* are obsoleted.
* doc/install.texi: Clarify which versions of alpha*-dec-osf*
	are obsoleted.

From-SVN: r52694
2002-04-23 23:30:07 +00:00
Eric Botcazou 06feae1f16 fold-const.c (split_tree): Add MINUS_LITP parameter; separate added literals from substracted literals.
* fold-const.c (split_tree): Add MINUS_LITP parameter; separate
        added literals from substracted literals.
        (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
        (fold) [associate]: Preserve MINUS_EXPR if needed.

	* gcc.c-torture/execute/20020423-1.c: New.

From-SVN: r52693
2002-04-23 16:20:05 -07:00
Tom Tromey b835c2aaba For PR java/6314:
* jvspec.c (lang_specific_driver): Use --resource, not -R.  Also
	recognize `-fcompile-resource='.
	* gcj.texi (Invoking gcj): Use --resource, not -R.  Expanded text
	a bit.

From-SVN: r52688
2002-04-23 22:55:00 +00:00
Tom Tromey ab0594f84b * gcc.c: Added --resource. For PR java/6314.
From-SVN: r52687
2002-04-23 22:53:29 +00:00
Jason Merrill c4a136d7dd fstream.tcc (basic_filebuf::seekoff): Fix for output-only filebufs.
* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
        output-only filebufs.
        * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
        Likewise.
        (basic_filebuf::_M_set_determinate): Likewise.

From-SVN: r52684
2002-04-23 17:55:24 -04:00
Jason Merrill 164fc0872f PR c++/5504 - but re-breaks c++/411
PR c++/5504 - but re-breaks c++/411
        * init.c (push_base_cleanups): Rename to perform_base_cleanups.
        Expand base cleanups now rather than pushing them.
        * decl.c (begin_destructor_body): Don't call push_base_cleanups.
        (finish_destructor_body): Call perform_base_cleanups.
        * cp-tree.h: Adjust prototype.

From-SVN: r52683
2002-04-23 17:51:26 -04:00
Jason Merrill 95b664398b tweak ChangeLog entry
From-SVN: r52681
2002-04-23 17:03:00 -04:00
Jason Merrill 7c34fea4a4 re PR libstdc++/6414 (g++ 3.1 tellg() regression within last week)
PR libstdc++/6414
        * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
        value properly in the trivial case.
        * testsuite/27_io/istream_seeks.cc (test04): Make sure that
        tellg() returns the right value after a read.

From-SVN: r52680
2002-04-23 17:02:41 -04:00
Jakub Jelinek 71bebdcc8d parse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes.
* parse.y (check_class_key): Allow KEY to be union/enum/struct/class
	node with attributes.

	* g++.dg/parse/attr1.C: New test.

From-SVN: r52677
2002-04-23 22:39:46 +02:00
Hans-Peter Nilsson a73affb1e9 cpu_limits.h: New file.
* config/cpu/mmix/bits/cpu_limits.h: New file.
	* configure.target (CPULIMITSH): Use it.

From-SVN: r52676
2002-04-23 20:32:10 +00:00
No Author 3caa58924a This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52675
2002-04-23 20:32:10 +00:00
David O'Brien 86dd2053cd freebsd.h (OBJECT_FORMAT_ELF): Define.
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd.h(OBJECT_FORMAT_ELF): Define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020423092406.D632@redhat.com>

From-SVN: r52673
2002-04-23 16:43:44 +00:00
David O'Brien 20d9838a82 g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
2002-04-23  David O'Brien  <obrien@FreeBSD.org>
	* cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
	* config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
	these libraries.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020423092356.C632@redhat.com>

From-SVN: r52670
2002-04-23 16:37:16 +00:00
Philipp Thomas 0488e84fac Regenerate gcc.pot
From-SVN: r52663
2002-04-23 11:05:42 +00:00
Mark Mitchell 596f6d22a9 re PR c++/6256 (Seg fault for template friends in namespaces, regression from 2.95)
PR c++/6256:
	* g++.dg/template/friend5.C: New test.

	PR c++/6331:
	* g++.dg/template/qual1.C: Likewise.

	PR c++/6256:
	* pt.c (tsubst_friend_class): Handle templates with explicit
	nested names.

	PR c++/6331:
	* typeck.c (merge_types): Remember the cv-qualification of pointer
	types when merging them.

From-SVN: r52660
2002-04-23 08:34:45 +00:00
Alan Modra 033db3c4ce re PR target/6413 (PROFILE_HOOK label_no)
PR target/6413
	* function.h: (struct function): Add profile_label_no field.
	(current_function_profile_label_no): Define.
	* function.c: (profile_label_no): New static var.
	(expand_function_start): Increment it, and copy to
	current_function_profile_label_no.
	* output.h (profile_label_no): Delete.
	* final.c (profile_label_no): Delete.
	(profile_function): Use current_function_profile_label_no.
	(final_end_function): Don't increment profile_label_no here.
	* config/i386/i386.c (ix86_osf_output_function_prologue): Replace
	profile_label_no with current_function_profile_label_no.
	* config/pa/pa.c (current_function_number): Delete.
	(pa_output_function_prologue): Don't output profile label here.
	(hppa_profile_hook): Use label_no param rather than
	current_function_number.
	(FUNC_BEGIN_PROLOG_LABEL): Move to ..
	* config/pa/pa.h: .. here.
	(FUNCTION_PROFILER): Output profile label here.

From-SVN: r52659
2002-04-23 17:41:25 +09:30
Aldy Hernandez 592de458f5 altivec.h (vec_step): Remove extraneous parentheses.
2002-04-23  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_step): Remove extraneous
        parentheses.
        (vec_ctu): Cast return.

From-SVN: r52658
2002-04-23 07:33:59 +00:00
GCC Administrator 11fc89fd6d Daily bump.
From-SVN: r52652
2002-04-23 07:16:23 +00:00
Jeff Sturm f8883516fc Makefile.am (toolexeclib_LTLIBRARIES): Remove.
* Makefile.am (toolexeclib_LTLIBRARIES): Remove.
	(noinst_LTLIBRARIES): Add libgcjgc.la.

	* Makefile.in: Rebuild.

From-SVN: r52650
2002-04-23 03:20:04 +00:00
Aldy Hernandez ac66f7fe25 rs6000.md ("*movv4si_internal"): Change 'm' constraint to 'o' for m=r and r=m alternatives.
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
        constraint to 'o' for m=r and r=m alternatives.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

From-SVN: r52647
2002-04-23 00:20:25 +00:00
Zack Weinberg 1b727feadd re PR c/6300 (sparc-sun-solaris2.7 gcc-3.1 C testsuite failure in gcc.dg/cpp/charconst.c)
* c-lex.c (lex_charconst): Call convert to get constant in
	proper type; don't just smash the type field.
	Fixes PR c/6300.

	* config.gcc: Add list of obsolete configurations.  Disallow
	building these without --enable-obsolete.
	* doc/install.texi: Document --enable-obsolete and obsoletion
	policy.  Mention obsoletion of individual targets in
	appropriate places.

From-SVN: r52640
2002-04-22 22:26:06 +00:00
Alexandre Petit-Bianco 1a84abfade re PR java/2791 (Bogus "class `foo' already defined ..." error from jc1)
* jcf-parse.c: (yyparse): Don't prepend "./" to relative
	paths. Fixes PR java/2791.

---------------------------------------------------------------------

From-SVN: r52637
2002-04-22 20:36:47 +00:00
Jason Merrill c0be689711 re PR libstdc++/4150 (catastrophic performance decrease in C++ code)
PR libstdc++/4150
        * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
        Move to filebuf.
        (basic_streambuf::_M_set_determinate): Likewise.
        (basic_streambuf::_M_is_indeterminate): Likewise.
        * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
        non-static data member.
        (basic_filebuf::_M_underflow_common): New non-static member function.
        (basic_filebuf::_M_underflow, _M_uflow): Call it.
        (basic_filebuf::sync): Avoid useless seeking.
        (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
        Set _M_filepos.
        (basic_filebuf::_M_set_determinate): Likewise.
        (basic_filebuf::_M_is_indeterminate): Likewise.
        * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
        back to _M_out_beg if necessary.
        (basic_filebuf::seekoff): Likewise.
        (basic_filebuf::_M_underflow_common): Generalization of old
        underflow().  Don't seek back to _M_in_beg.
        * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
        * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
        * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
        * config/os/mingw32/bits/os_defines.h: Likewise.
        * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
        ungetc test.

From-SVN: r52635
2002-04-22 16:28:37 -04:00
Richard Henderson f38b229cc6 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
From-SVN: r52632
2002-04-22 12:53:42 -07:00
Mark Mitchell e18c12ac0c re PR fortran/6138 (Incorrect access of integer*1 variables on PA)
PR f/6138.
	* function.c (fixup_memory_subreg): Add promoted_mode parameter.
	(walk_fixup_memory_subreg): Likewise.
	(fixup_var_refs_insn): Adjust accordingly.
	(fixup_var_refs_1): Likewise.

From-SVN: r52630
2002-04-22 19:23:29 +00:00
Benjamin Kosnik 52c9168ba3 istream.tcc (istream::read): Fix.
2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (istream::read): Fix.
	* testsuite/27_io/istream_unformatted.cc (main): Add.

From-SVN: r52629
2002-04-22 19:11:00 +00:00
Joel Sherrill c4e8ea9571 gthr-rtems.h: Correct prototypes to remove warnings.
2002-04-22	Joel Sherrill <joel@OARcorp.com>

	* gthr-rtems.h: Correct prototypes to remove warnings.

From-SVN: r52625
2002-04-22 18:24:11 +00:00
Richard Henderson 6c185cda4c Mark pr.
From-SVN: r52623
2002-04-22 11:15:13 -07:00
Richard Henderson 6d6a90a42d alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
* alias.c (canon_true_dependence): Special case (mem:blk (scratch)).

        * gcse.c (free_insn_expr_list_list): New.
        (clear_modify_mem_tables): Use it.  Fix bit set usage.
        (canon_list_insert): Use EXPR_LISTs for expressions.
        (record_last_mem_set_info): Factor BLOCK_NUM (insn).

From-SVN: r52622
2002-04-22 11:14:28 -07:00
Zack Weinberg c589790ef3 980707-1.c: Don't use isspace().
* gcc.c-torture/execute/980707-1.c: Don't use isspace().
	Include stdlib.h, not stdio.h or ctype.h.

From-SVN: r52620
2002-04-22 17:41:52 +00:00
Ulrich Weigand 8a0c9c4307 linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, LIBPATH_ARCH64_SPEC): Define.
* config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
LIBPATH_ARCH64_SPEC): Define.
(EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
(STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
(LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
(LINK_ARCH64_SPEC): Add libpath_arch64 to search path.

From-SVN: r52617
2002-04-22 16:31:14 +00:00
Ulrich Weigand 85852399b7 * configure.in: Disable libgcj on s390-linux targets.
From-SVN: r52616
2002-04-22 16:28:47 +00:00
Mark Mitchell 485b5a1f51 * gcc_release: Merge from mainline.
From-SVN: r52615
2002-04-22 16:04:44 +00:00
Philipp Thomas ef61f7afdb Update turkish catalog
From-SVN: r52611
2002-04-22 14:13:47 +00:00
Andrew Haley 684b1bdc5a jcf-write.c (push_long_const): lo, hi: New variables.
2002-04-19  Andrew Haley  <aph@redhat.com>

        * jcf-write.c (push_long_const): lo, hi: New variables.
        Use rshift_double to extract the high part of a 64-bit long.
        Use WORD_TO_INT to extract the low part.

        * jcf-parse.c (get_constant): CONSTANT_Integer: Use an unsigned
        HOST_WIDE_INT for num.  Use JPOOL_UINT to get it.
        CONSTANT_Double: Use JPOOL_UINT to get both halves of a double.

From-SVN: r52610
2002-04-22 12:53:21 +00:00
David S. Miller a94f4e1110 dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence.
2002-04-21  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
	magic instruction reading sequence.

From-SVN: r52608
2002-04-22 01:12:50 -07:00
GCC Administrator 39fb5d3646 Daily bump.
From-SVN: r52604
2002-04-22 07:16:13 +00:00
Aldy Hernandez ec99601c94 altivec.h (vec_xor): Add variant for both args being vector signed int.
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_xor): Add variant for both args
        being vector signed int.
        (vec_andc): Same.
        (vec_xor): Add variant for both args being vector signed char.
        Remove redundant variant.
        (vec_andc): Same.

From-SVN: r52603
2002-04-22 06:40:11 +00:00
David S. Miller 8ceb5363ab [multiple changes]
2002-04-22  David S. Miller  <davem@redhat.com>

	* include/private/gcconfig.h: Hard-code STACKBOTTOM on
	64-bit SPARC Linux, the __libc_stack_end technique does
	not work in this case.

2002-04-22  Jeff Sturm  <jsturm@one-point.com>

	* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.

From-SVN: r52600
2002-04-21 23:05:04 -07:00
Hans-Peter Nilsson ed935460ec 20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
	cris-*-elf* and mmix-*-*.

From-SVN: r52599
2002-04-22 03:06:03 +00:00
Hans-Peter Nilsson 7d2c4ef353 f77-edit-i-in.f: xfail for cris-*-elf.
* g77.dg/f77-edit-i-in.f: xfail for cris-*-elf.
	* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
	g77.f-torture/execute/20001201.x,
	g77.f-torture/execute/u77-test.x: Ditto.
	* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
	* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r52598
2002-04-22 01:36:17 +00:00
David S. Miller ea37d55f89 sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL.
2002-04-21  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
	compare mode in output RTL.

From-SVN: r52596
2002-04-21 18:19:23 -07:00
David Edelsohn 4a9edab999 rs6000.c (rs6000_override_options): Correct style and formatting of previous patch.
2002-04-22  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_override_options): Correct
        style and formatting of previous patch.

From-SVN: r52594
2002-04-21 21:04:49 -04:00
Alan Modra 8f4ff9960e rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX.
* config/rs6000/rs6000.c (rs6000_override_options): Always clear
	flag_pic for ABI_AIX.

From-SVN: r52592
2002-04-22 09:59:28 +09:30
Hans-Peter Nilsson 71189e76f1 cleanup1.C (C::C()): Initialize member c.
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
	Clarify comment.

From-SVN: r52589
2002-04-21 20:34:30 +00:00
Franz Sirl e27febae09 20000906-1.x: Delete.
2002-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20000906-1.x: Delete.

From-SVN: r52585
2002-04-21 16:16:13 +00:00
Joseph Myers 0a26b81235 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
From-SVN: r52583
2002-04-21 14:59:45 +01:00
Florian Weimer f55c80c1d9 * gnat_ug.texi: New file.
From-SVN: r52579
2002-04-21 14:53:33 +02:00
Mark Wielaard aeeeb9c217 re PR java/6391 (Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code)
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy.

        * libjava.mauve/xfail: Expect failures for PR java/6391 and
        libgcj/6389.

From-SVN: r52578
2002-04-21 12:35:22 +00:00
Neil Booth 43ea4b2cc6 cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
testsuite:
	* gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.

From-SVN: r52576
2002-04-21 10:50:55 +00:00
David S. Miller 68e3ca3df8 dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg.
2002-04-19  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
	arg.
	(MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
	(INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
	on Sparc too.
	* include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
	for 64-bit sparc.
	(MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
	* sysdeps/sparc/locks.h: New file.
	* configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
	on all sparc Solaris configurations.  Set to
	include/dwarf2-signal.h on sparc Linux.
	* configure: Regenerate
	* configure.host (can_unwind_signal): sparc*-linux* can do it now.

From-SVN: r52574
2002-04-21 02:36:06 -07:00
GCC Administrator f3d228565c Daily bump.
From-SVN: r52570
2002-04-21 07:16:16 +00:00
Florian Weimer 71e9ad2401 gnat_rm.texi: Do not include texiplus.texi.
* gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
        instead of gfdl.texi

        * xgnatug.adb, ug_words: New files.

        * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
        gnat_rm and gnat-style manuals.

From-SVN: r52568
2002-04-21 09:05:11 +02:00
Florian Weimer 96e1fa9d15 adaint.c (__gnat_tmp_name): Remove buffer overflow bug on GNU/Linux.
* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
	        GNU/Linux.

From-SVN: r52567
2002-04-21 08:59:36 +02:00
David Edelsohn 8d299c1070 rs6000.c (output_profile_hook): Do not increment labelno.
* config/rs6000/rs6000.c (output_profile_hook): Do not increment
        labelno.

From-SVN: r52566
2002-04-21 01:07:25 -04:00
Benjamin Kosnik 43367d3b1d re PR libstdc++/6360 (Wrong workaround in char_traits.h - ignore stops on \0xff)
2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6360
	* include/bits/istream.tcc (istream::ignore): Streamline, use
	delimiter as is.
	* include/bits/streambuf.tcc: Use this->gptr.
	* testsuite/27_io/istream_unformatted.cc (test08): Add test.

From-SVN: r52564
2002-04-21 04:18:41 +00:00
Joseph Myers 20c6d62eb2 invoke.texi: Remove Chill references.
* doc/invoke.texi: Remove Chill references.
	* doc/gcc.texi: Update last modified date.

From-SVN: r52562
2002-04-20 21:44:36 +01:00
Mark Mitchell 999538f477 Remove Chill
[[Split portion of a mixed commit.]]

From-SVN: r52560.1
2002-04-20 20:42:51 +00:00
Toon Moene 803bad99a0 root.texi: Remove variable version-g77.
2002-04-20  Toon Moene  <toon@moene.indiv.nluug.nl>

	* root.texi: Remove variable version-g77.
	* g77.texi: Remove the single use of that variable.

From-SVN: r52552
2002-04-20 11:07:45 +00:00
GCC Administrator f826e6d05f Daily bump.
From-SVN: r52547
2002-04-20 07:16:12 +00:00
David S. Miller d215e2c4df linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
2002-04-19  David S. Miller  <davem@redhat.com>

	* config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
	* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.

From-SVN: r52545
2002-04-19 21:43:48 -07:00
Jan Hubicka 8ef415c9d6 i386.md (movsi_1, movhi_1): Force reload to use more flexible alternative.
* i386.md (movsi_1, movhi_1): Force reload to use more flexible
	alternative.

From-SVN: r52543
2002-04-20 00:24:50 +00:00
Hans Boehm fba43a5604 configure: Rebuilt.
2002-04-19  Hans Boehm <Hans_Boehm@hp.com>

	* configure: Rebuilt.
	* configure.in (backtrace): Function doesn't work on IA-64.

From-SVN: r52542
2002-04-20 00:21:00 +00:00
Jakub Jelinek b10e9888cc re PR c/6358 (GCC 3.1 ICE on statement expressions)
PR c/6358
	* function.c: Reapply patch for c/6358.
	(expand_function_end): Copy decl_rtl's mode, not
	current_function_return_rtx mode.

From-SVN: r52537
2002-04-19 22:57:48 +02:00
Joel Sherrill ee22f9373f rtems.h (STARTFILE_SPEC, [...]): Fix for non-ELF targets.
2002-04-19	Joel Sherrill <joel@OARcorp.com>

	* config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
	targets.

From-SVN: r52534
2002-04-19 18:40:33 +00:00
Tom Tromey 713a3a56c1 re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
* doc/install.texi (Specific): Update status of Solaris 2.8.
	For PR libgcj/6158.

From-SVN: r52533
2002-04-19 18:29:16 +00:00
Kelley R. Cook 247a3e9213 * gcc_release: Set TZ to UTC0.
From-SVN: r52528
2002-04-19 17:23:00 +00:00
Dan Nicolaescu d1a235118a install.texi (Specific, [...]): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's...
* doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
	binutils 2.11.2 and higher generate smaller binaries than Sun's
	native tools.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

From-SVN: r52525
2002-04-19 16:43:53 +00:00
Mark Mitchell c7ac8cb11e * MAINTAINERS: Add information about purpose of this file.
From-SVN: r52524
2002-04-19 16:42:14 +00:00
Mark Mitchell 6a37e4d534 re PR c++/6352 (GCC 3.1 inliner regression from March)
PR c++/6352
	* toplev.c (rest_of_compilation): Do not defer functions for which
	TREE_SYMBOL_REFERENCED has already been set.

	* PR6352
	* g++.dg/opt/inline2.C: New test.

From-SVN: r52520
2002-04-19 16:15:17 +00:00
Benjamin Kosnik 7431d198d2 localefwd.h (locale:🆔:_M_id): Do this correctly, as type safety is important, especially on solaris.
2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * include/bits/localefwd.h (locale:🆔:_M_id): Do this correctly,
        as type safety is important, especially on solaris.
        * include/bits/istream.tcc (istream::read): Clean.
        (istream::readsome): Same.
        * locale.cc: Wrap lines.

        * testsuite/21_strings/inserters_extractors.cc: Tweaks.
        * testsuite/27_io/instantiations.cc (test): Add bool variable...
        * testsuite/21_strings/capacity.cc: Clean.

2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.

2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * config/linker-map.gnu (__malloc_alloc_template): Add.
        (__default_alloc_template): Same.
        * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
        template.
        (__default_alloc_template): Same.

2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

        * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
        * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
        (__malloc_alloc_template): Conditionalize.

        * include/bits/istream.tcc: Remove sputbackc calls.

        * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.

From-SVN: r52518
2002-04-19 08:28:24 +00:00
Benjamin Kosnik f3f6e15ac7 re PR libstdc++/4164 (33 Memory Leak when using iostream)
2002-04-19  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/4164
	Valgrind fixes.
	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
	Call close.
	(__basic_file::close): Call fflush. Correct return if fclose ok.
	(__basic_file::is_open): Make const.
	Change __c_file_type to __c_file.
	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
	(__basic_file::is_open): Make const.
	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
	(filebuf::_M_unbuf): Add.
	(filebuf::_M_file): Change to non-pointer.
	(filebuf::_M_allocate_pback_buffer): Remove.
	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
	Change initialization list for _M_file change.
	(filebuf::_M_allocate_pback_buffer): Remove.
	Change _M_file usage to reflect non-pointer data member.

	* config/locale/generic/c_locale.cc
	(locale::facet::_S_create_c_locale): Add parameter.
	* config/locale/generic/collate_members.cc: Change
	_M_compare_helper to _M_compare.
	Change _M_transform_helper to _M_transform.
	* config/locale/generic/monetary_members.cc: Changeup data types.
	Add dtors.
	* config/locale/generic/numeric_members.cc: Add dtors.
	* config/locale/generic/time_members.cc: Add dtors.
	* config/locale/gnu/c_locale.cc: Add parameter.
	* config/locale/gnu/collate_members.cc:Change
	_M_compare_helper to _M_compare.
	Change _M_transform_helper to _M_transform.
	* config/locale/gnu/ctype_members.cc: Better error checking.
	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
	* config/locale/gnu/messages_members.cc: Tweak comment.
	* config/locale/gnu/monetary_members.cc: Change data types.
	Add dtors.
	* config/locale/gnu/numeric_members.cc: Add dtors, better error
	checking.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/ieee_1003.1-2001/c_locale.cc
	(locale::facet::_S_create_c_locale): Add parameter.
	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
	bogus ctor.

	* include/bits/locale_facets.h (moneypunct): Use string literals.
	Don't define dtor.
	(numpunct): Same.
	(__timepunct): Same.
	(locale::_Impl::_M_facets): Change from vector to array.
	(locale::_Impl::_M_names): Change from array of strings to array
	of string literals.
	(locale::facet::_S_create_c_locale): Add parameter.
	(locale::locale::_S_num_facets): Move to...
	(locale::_Impl::_M_facets_size): Here.
	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
	changes.
	* include/bits/localefwd.h: (locale:🆔:_M_id): Add member function.
	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
	(locale::_Impl::_Impl(string, size_t)): Change to
	(locale::_Impl::_Impl(const char*, size_t)): This.

	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
	(streambuf::_S_pback_size): This.

	* src/globals.cc: Add pre-allocations for "C" facets.
	* src/locale-inst.cc: Remove vector instantiations.
	* src/locale.cc: Remove vector include. Fixups for _M_names,
	_M_facets changes.
	* src/localename.cc: Same.

	* include/bits/stl_vector.h: Fix odd formatting.

	* include/bits/basic_string.tcc: Tweak comment.

	* libsupc++/new: Make sure parameters are uglified.
	* libsupc++/typeinfo: Same.

	* testsuite/22_locale/num_get_members_char.cc: Fixup.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
	* testsuite/27_io/filebuf_members.cc: Same.

From-SVN: r52517
2002-04-19 07:59:24 +00:00
GCC Administrator 7bb16e44db Daily bump.
From-SVN: r52513
2002-04-19 07:16:40 +00:00
Richard Henderson 0d58a38270 * function.c: Revert patch for c/6358.
From-SVN: r52510
2002-04-18 21:40:14 -07:00
Richard Henderson 1245e56dde ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.
* ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
        blocks.  Handle multiple references to the TRAP block.  Handle
        non-adjacent THEN and OTHER blocks.

        * gcc.dg/20000906-1.c: Enable for all targets.
        * gcc.c-torture/compile/iftrap-2.c: New.

From-SVN: r52506
2002-04-18 20:56:33 -07:00
Richard Henderson c0163d3db9 ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls.
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
        crash with no type for by-mode libcalls.

From-SVN: r52505
2002-04-18 20:52:56 -07:00
Richard Henderson d53e826c80 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
From-SVN: r52504
2002-04-18 20:50:34 -07:00
David S. Miller 938490a28c sparc.h (BRANCH_COST): Define.
2002-04-18  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.h (BRANCH_COST): Define.

	* fold-const.c (BRANCH_COST): Don't provide default here, expr.h
	does it.

From-SVN: r52499
2002-04-18 16:34:11 -07:00
Tom Tromey 5154135f4e re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
* configure.in: Disallow configuring libgcj when it is already
	installed and we're using Solaris 2.8 linker.  Do enable libgcj on
	Solaris 2.8 by default.  For PR libgcj/6158.

From-SVN: r52496
2002-04-18 21:34:56 +00:00
Richard Henderson f7d53c4587 ia64.c (ia64_function_arg_pass_by_reference): New.
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
        (ia64_va_arg): Expect variable sized types by reference.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
        ia64_function_arg_pass_by_reference.

From-SVN: r52495
2002-04-18 13:31:55 -07:00
Hans-Peter Nilsson de10abbeaf flow.c (update_life_info): Ignore return value of cleanup_cfg.
* flow.c (update_life_info): Ignore return value of cleanup_cfg.
	Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
	propagate_block calls after relaxation loop using new variable
	stabilized_prop_flags.

From-SVN: r52493
2002-04-18 20:21:09 +00:00
Jakub Jelinek acf1431c70 PR optimization/5887, PR optimization/6010
PR optimization/5887, PR optimization/6010
	* gcc.dg/20020418-1.c: New test.
	* gcc.dg/20020418-2.c: New test.

From-SVN: r52491
2002-04-18 22:08:45 +02:00
Richard Henderson aa4279728a ifcvt.c: Include except.h.
* ifcvt.c: Include except.h.
        (block_has_only_trap): Break out from find_cond_trap.
        (find_cond_trap): Use it.  Always delete the trap block.
        (merge_if_block): Allow then block null.  Be less simplistic about
        what insns can end a block.
        * Makefile.in (ifcvt.o): Depend on except.h.

        * gcc.c-torture/compile/iftrap-1.c: New.
        * gcc.dg/iftrap-1.c: Adjust for ia64.
        * gcc.dg/iftrap-2.c: New.

From-SVN: r52488
2002-04-18 12:56:21 -07:00
Richard Henderson 2561d3871c * config/ia64/ia64.md (trap, conditional_trap): New.
From-SVN: r52486
2002-04-18 12:41:26 -07:00
Jakub Jelinek c5c263146f re PR c/6358 (GCC 3.1 ICE on statement expressions)
PR c/6358
	* function.c (assign_parms): Assign hard current_function_return_rtx
	register here...
	(expand_function_end): ...not here.

	* gcc.c-torture/compile/20020418-1.c: New test.

From-SVN: r52484
2002-04-18 21:02:48 +02:00
Gerald Pfeifer a8dc73a4c9 install.texi (Downloading the source): Do not mention Chill any longer, but mention Ada.
* doc/install.texi (Downloading the source): Do not mention Chill
	any longer, but mention Ada.
	(Configuration): Do not mention Chill any longer.

From-SVN: r52481
2002-04-18 17:59:49 +00:00
Hans-Peter Nilsson caf92b426d * config/cris/cris.h (TARGET_VERSION): Remove local version number.
From-SVN: r52478
2002-04-18 17:04:14 +00:00
Jan Hubicka a50b56bd30 i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
* i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
	* i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
	later.

From-SVN: r52476
2002-04-18 16:06:24 +00:00
Jason Merrill 04f55fef31 re PR c++/5658 (Regression on redefinition of a type in a derived class.)
PR c++/5658
        * search.c (setup_class_bindings): A class template qualifies as a
        type binding.

From-SVN: r52470
2002-04-18 09:59:00 -04:00
Jakub Jelinek 7f91018eb5 re PR middle-end/6205 (-O -fpmath=sse breaks visibility of register accumulated sum)
PR middle-end/6205
	* config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
	otherwise xorps.

From-SVN: r52463
2002-04-18 12:10:14 +02:00
David S. Miller 9148412ef3 20020418-1.c: New test.
2002-04-18  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020418-1.c: New test.

From-SVN: r52460
2002-04-18 01:03:55 -07:00
GCC Administrator ba14d84378 Daily bump.
From-SVN: r52456
2002-04-18 07:16:29 +00:00
Loren J. Rittle 35baf7d6b4 Revert this change:
* doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

From-SVN: r52455
2002-04-18 06:36:03 +00:00
Phil Edwards e8a1723f4d doxygroups.cc: New group on binary searching.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/doxygroups.cc:  New group on binary searching.
	* include/bits/stl_algo.h:  Document binary searches and merges.
	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.

From-SVN: r52454
2002-04-18 02:58:15 +00:00
Phil Edwards ee14a7e669 mainpage.html: Doxygen logo is now a PNG file.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
	* docs/doxygen/run_doxygen:  Bump required version.
	* docs/doxygen/user.cfg.in:  Revert accidental change.
	* docs/html/faq/index.html:  Reindent a block of links.
	(4.4):  New note on using dlsym.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r52452
2002-04-18 01:45:45 +00:00
Bryce McKinlay 97561ee281 class.c (make_class_data): Set DECL_ALIGN on static class data, for hash synchronization.
* class.c (make_class_data): Set DECL_ALIGN on static class data,
	for hash synchronization.
	* expr.c (java_expand_expr): Set DECL_ALIGN on static array objects.
	* decl.c (java_init_decl_processing): Don't set TYPE_ALIGN for
	class_type_node.

From-SVN: r52449
2002-04-18 00:20:43 +01:00
Adam King ceba9d086a File.java (normalizePath): Add Win32 support for auto conversion of a '/' path separator to Win32's '\'...
* java/io/File.java (normalizePath): Add Win32 support for auto
	conversion of a '/' path separator to Win32's '\' separator.

From-SVN: r52446
2002-04-18 00:01:09 +01:00
Hans Boehm e9368e842a gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
	SPARC Linux.

From-SVN: r52439
2002-04-17 19:51:32 +00:00
Dale Johannesen 731ebd7862 rs6000.c (rs6000_emit_cmove): Fail if modes of comparison operands do not match each other or if...
2002-04-17  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
        comparison operands do not match each other or if modes of
        conditions do not match result.
        (rs6000_output_function_prologue): Compute instruction addresses.
        (rs6000_output_function_epilogue): Likewise.

From-SVN: r52438
2002-04-17 14:44:09 -04:00
Jakub Jelinek 563684e699 re PR c++/6316 (trap when compiling file)
PR c++/6316
	* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
	before expanding.

	* g++.dg/opt/inline1.C: New test.

From-SVN: r52433
2002-04-17 19:13:41 +02:00
Mark Wielaard a99e4f4f2f negzero.java: New.
* libjava.lang/negzero.java: New.
	* libjava.lang/negzero.out: New.

From-SVN: r52431
2002-04-17 16:40:32 +00:00
No Author 6199b6a81a This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52430
2002-04-17 16:40:32 +00:00
Mark Wielaard db33ff9bef jcf-write.c (generate_bytecode_insns): Only write const_0 if not negative zero.
* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
	negative zero.

From-SVN: r52428
2002-04-17 16:38:24 +00:00
Ulrich Weigand 73a188b1e5 s390.c (legitimize_pic_address): Do not generate illegal address constant without CONST.
* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

From-SVN: r52424
2002-04-17 15:59:45 +00:00
Kaveh R. Ghazi 3729d34e4a linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
	* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.

From-SVN: r52422
2002-04-17 14:23:51 +00:00
No Author bc073455c0 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52418
2002-04-17 13:51:30 +00:00
Ulrich Weigand 13d8b67ef2 re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
PR optimization/6305
* config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
to make sure previous reloads are taken into account.  Generate
better code if one operand is an in-range immediate constant.

From-SVN: r52416
2002-04-17 12:19:40 +00:00
Andrew Haley a39107f106 install.texi (Building): libgcj requires GNU make.
2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>

	* doc/install.texi (Building): libgcj requires GNU make.

From-SVN: r52415
2002-04-17 09:42:05 +00:00
Bryce McKinlay 61fe567e3e re PR java/6294 (private inner interface is flagged illegal)
Fix for PR java/6294:
	* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
	interfaces.

From-SVN: r52413
2002-04-17 09:24:44 +01:00
Jakub Jelinek 95cf9281d5 re PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)
PR bootstrap/6315
	* config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
	even if hard quad and register is not floating.
	(movtf reg<-mem split): Disallow splitting if hard quad and
	register is floating.
	(movtf mem<-reg split): Likewise.
	* config/sparc/sparc.c (fp_register_operand): New predicate.
	* config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.

	* gcc.dg/20020416-1.c: New test.

From-SVN: r52410
2002-04-17 10:16:55 +02:00
GCC Administrator 5dbb74b303 Daily bump.
From-SVN: r52406
2002-04-17 07:16:52 +00:00
Zack Weinberg db85688a3c Makefile.in (PROTO_OBJS): Add cppdefault.o.
2002-04-17  Zack Weinberg  <zack@codesourcery.com>
	* Makefile.in (PROTO_OBJS): Add cppdefault.o.
	(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
	(unprotoize.o): Ditto.  Build from protoize.c.  Define
	UNPROTOIZE on command line.
	* protoize.c: Include cppdefault.h.  Delete include_defaults.
	(in_system_include_dir): Use cpp_include_defaults (defined in
	cppdefault.o).
	* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

From-SVN: r52403
2002-04-17 03:20:57 +00:00
Aldy Hernandez e969890658 altivec.h (vec_ld): Add array variants.
2002-04-17  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_ld): Add array variants.
        (vec_lde): Same.
        (vec_ldl): Same.

From-SVN: r52401
2002-04-17 02:35:19 +00:00
Alan Matsuoka a6bd0e2dc7 altivec.h: Define __ALTIVEC__.
2002-04-17  Alan Matsuoka  <alanm@redhat.com>
            Aldy Hernandez <aldyh@redhat.com>

        * config/rs6000/altivec.h: Define __ALTIVEC__.
        (bool): New.
        (__pixel): New.
        (pixel): New.
        (vec_cfux): New.
        (vec_vmaddfp): New.
        (vec_vsldoi): New.
        Add parentheses to all macro arguments.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>

From-SVN: r52399
2002-04-17 02:05:47 +00:00
Richard Henderson e0a724308a re PR c++/6320 (3.1 regression wrt 3.0: ICE in remove_eh_handler, at except.c:2696)
PR c++/6320
        * except.c (remove_eh_handler): Insert inner regions at beginning
        of sibling chain.  Refactor expressions.

	* g++.dg/eh/dead1.C: New.

From-SVN: r52396
2002-04-16 18:48:19 -07:00
Mark Mitchell ea8e104407 c-common.h (STMT_EXPR_NO_SCOPE): New macro.
* c-common.h (STMT_EXPR_NO_SCOPE): New macro.
	* c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
	* tree.h (expand_start_stmt_expr): Update prototype.
	* stmt.c (expand_start_stmt_expr): Add has_scope parameter.
	* tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
	on the STMT_EXPR created for the inline function.

	* trans.c (tree_transform): Add has_scope argument to
	expand_start_stmt_expr.

	* com.c (ffecom_expr_power_integer): Add has_scope argument to
	call to expand_start_stmt_expr.

	* init.c (begin_init_stmts): Remove commented out code.
	(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
	* semantics.c (begin_gobal_stmt_expr): Adjust call to
	expand_start_stmt_expr.

From-SVN: r52394
2002-04-17 01:44:02 +00:00
Richard Henderson 6c0a04dac0 sol2-bi.h (AS_SPARC64_FLAG): New.
* config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
        * config/sparc/sol2-gas-bi.h: New file.
        * config.gcc (sparc*-solaris): Add it as needed.
        * configure.in (AS_SPARC64_FLAG): Remove check.
        * config.in, configure: Regenerate.

From-SVN: r52392
2002-04-16 18:36:05 -07:00
Richard Henderson 2142756405 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
From-SVN: r52390
2002-04-16 18:32:11 -07:00
Richard Henderson 97143ef837 mips.c (override_options): Don't override N32 for a 64-bit ISA.
* config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

From-SVN: r52388
2002-04-16 17:42:38 -07:00
Richard Henderson 220604655e re PR c/6202 (Failure of gcc.c-torture/execute/950607-2.c execution on irix6)
PR 6202
        * config/mips/mips.md (can_delay): Split out of existing define_delays.
        (HILO_delay): Set can_delay false.

From-SVN: r52384
2002-04-16 17:26:44 -07:00
David S. Miller 4b6219696e xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.
2002-04-16  David S. Miller  <davem@redhat.com>

	* xregex2.h (__restrict_arr): Define to __restrict on GCC
	3.1 and later.  Do not redefine.

From-SVN: r52382
2002-04-16 17:11:58 -07:00
Kaveh R. Ghazi 2d4cf2c2c7 20010122-1.x: New file.
* gcc.c-torture/execute/20010122-1.x: New file.  XFAIL this test
	for mips*-sgi-irix6*.

From-SVN: r52381
2002-04-16 23:57:09 +00:00
Paolo Carlini 72cbfaa903 c-parse.in (poplevel, [...]): Add ending ';', in accordance with POSIX.
2002-04-16  Paolo Carlini  <pcarlini@unitus.it>

	* c-parse.in (poplevel, compstmt_start, compstmt_primary_start):
	Add ending ';', in accordance with POSIX.

From-SVN: r52380
2002-04-16 22:05:54 +00:00
DJ Delorie 37d8d5e66d configure.in: Allow building in $srcdir.
* configure.in: Allow building in $srcdir.
* configure: Regenerated.

From-SVN: r52377
2002-04-16 14:59:29 -04:00
Richard Henderson 20e24c4828 config.gcc (sparcv9-solaris): Configure for 64-bit default.
* config.gcc (sparcv9-solaris): Configure for 64-bit default.
        Adjust tm_file order to get TARGET_DEFAULT set properly.
        (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
        * doc/install.texi (sparc-solaris): Update.

From-SVN: r52372
2002-04-16 11:01:12 -07:00
Tom Tromey 8781bf7030 re PR libgcj/6081 (libjava make install fails: Arg list too long)
Fix for PR libgcj/6081:
	* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Use GNU make trick to avoid
	shell limit.

From-SVN: r52371
2002-04-16 15:52:53 +00:00
Adam King 86ba22fb24 natFileWin32.cc (performList): Return the correct array type.
2002-04-16  Adam King <aking@dreammechanics.com>
	    Tom Tromey  <tromey@redhat.com>

	* java/io/natFileWin32.cc (performList): Return the correct array
	type.  Don't duplicate the creation of a File since it's already
	done earlier in the method and the existing code would cause a
	ArrayStoreException.  Don't use fixed-size array.
	(_access, _stat, attr, getCanonicalPath, performMkdir,
	performRenameTo): Don't use fixed-size array.
	(getCanonicalPath): Use throw, not _Jv_Throw.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r52368
2002-04-16 15:35:20 +00:00
Hartmut Penner 01d63f9213 re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
PR target/6305
        * config/s390/s390.md (mulsidi3): Set both subregs of the
        multiword register.

From-SVN: r52365
2002-04-16 12:35:43 +00:00
GCC Administrator 461b872532 Daily bump.
From-SVN: r52361
2002-04-16 07:16:22 +00:00
Aldy Hernandez 0306b7106d altivec.h (vec_addc): Type check.
2002-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_addc): Type check.

From-SVN: r52359
2002-04-16 06:39:40 +00:00
Jakub Jelinek bb9bb0af1b re PR target/6303 (output_operand: invalid expression as operand)
PR target/6303
	* dwarf2out.c (rtl_for_decl_location): Call ASM_SIMPLIFY_DWARF_ADDR
	before returning.
	* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT only
	when inside of MEM by eliminating the indirection too.
	* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Define.
	* config/s390/s390.c (s390_simplify_dwarf_addr): New.
	* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Add
	prototype.

	* gcc.dg/20020415-1.c: New test.

From-SVN: r52357
2002-04-16 08:15:58 +02:00
Jakub Jelinek 3cabba931b re PR middle-end/6279 (gcc-3.1 miscompiles qmake on IA-64)
PR middle-end/6279
	* expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.

	* expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.

From-SVN: r52355
2002-04-16 08:03:36 +02:00
Mark Mitchell 6286adb45c decl.c (register_dtor_fn): Pass the address of dso_handle, not dso_handle itself, to __cxa_atexit.
* decl.c (register_dtor_fn): Pass the address of dso_handle, not
	dso_handle itself, to __cxa_atexit.

From-SVN: r52353
2002-04-16 03:15:54 +00:00
Gabriel Dos Reis 5b25ca6833 [multiple changes]
2002-04-16  Paolo Carlini <pcarlini@unitus.it>
    * testsuite/24_iterators/rel_ops.cc: New test.

2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

    * include/bits/type_traits.h (__normal_iterator): Declare in
      __gnu_cxx.  Adjust use at global namespace.
    * include/bits/stl_iterator.h (__normal_iterator): Move definition
      into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
    * include/bits/basic_string.h (basic_string): Adjust use  of
      __normal_iterator.
    * include/bits/stl_vector.h (_Alloc>): Likewise.
    * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
    * src/locale-inst.cc (__gnu_cxx): Likewise.
    * src/string-inst.cc (operator==): Instantiate in  __gnu_cxx.

From-SVN: r52351
2002-04-16 02:53:23 +00:00
No Author 8017720c01 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52350
2002-04-16 02:53:23 +00:00
Richard Henderson ed9673dccc abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.
* config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

From-SVN: r52349
2002-04-15 19:50:20 -07:00
Richard Henderson 4cde197bec * config.guess (sun4u:SunOS:5.*:*): Revert 04-12 change.
From-SVN: r52344
2002-04-15 17:15:59 -07:00
David S. Miller 546c6a6899 rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.
2002-04-15  David S. Miller  <davem@redhat.com>

	* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
	as being CLOBBERed.

From-SVN: r52341
2002-04-15 16:11:27 -07:00
Jakub Jelinek 7643ba8fca re PR c/6290 (ICE compiling altivec code with 3.1)
PR c/6290
	* config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
	CONST_VECTOR is { 0, ... 0 }.

From-SVN: r52339
2002-04-16 00:28:30 +02:00
Loren J. Rittle 06cc8947d0 aclocal.m4 (gcc_version_trigger): Use robust path construction.
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
        * configure: Rebuilt.

From-SVN: r52337
2002-04-15 21:57:52 +00:00
Loren J. Rittle 08c3e19c7b install.texi (Installing GCC: Configuration): Clarify the only supported ways to configure gcc.
* doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

From-SVN: r52336
2002-04-15 21:56:33 +00:00
Mark Wielaard 53eca4de73 Integer.java (getInteger(String,Integer): Return def when nm is null or the empty String.
* java/lang/Integer.java (getInteger(String,Integer): Return def when
	nm is null or the empty String.

From-SVN: r52333
2002-04-15 21:06:59 +00:00
Steve Ellcey dc60696d17 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
        does not define strtoll or strtoull, but does define strtol
        and strtoul which are the same since in 64 bit mode
        sizeof(long) == sizeof(long long).

From-SVN: r52330
2002-04-15 20:35:49 +00:00
Richard Henderson 50e60409d2 linux.h, [...] (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux.
* config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
        config/i386/linux-aout.h, config/i386/linux-oldld.h,
        config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
        config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
        config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
        config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
        config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
        Define __gnu_linux__, not gnu_linux.
        * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.

From-SVN: r52328
2002-04-15 13:27:46 -07:00
Mark Mitchell 1629730106 MAINTAINERS: Remove chill maintainers.
* MAINTAINERS: Remove chill maintainers.
	* Makefile.in (CHILLFLAGS): Remove.
	(CHILL_LIB): Remove.
	(TARGET_CONFIGDIRS): Remove libchill.
	(CHILL_FOR_TARGET): Remove.
	(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
	CHILL_LIB.
	(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-libchill): Remove.
	(all-target-libchill): Remove.
	* configure.in (target_libs): Remove target-libchill.
	Do not compute CHILL_FOR_TARGET.
	* libchill: Remove directory.

	Remove Chill front end.
	* gcc.c (default_compilers): Remove Chill entries.
	* ch: Remove directory.
	* doc/frontends.texi: Remove information about Chill.
	* doc/sourcebuild.texi: Likewise.
	* doc/standards.texi: Likewise.

	* testsuite/lib/chill.exp: Remove.

	* g77.texi: Remove Chill reference.

	* gcc_release (build_tarfiles): Do not build Chill tarfiles.
	(CHILL_DIRS): Remove.

From-SVN: r52325
2002-04-15 19:00:10 +00:00
Douglas B Rupp d5c66eccdf vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
* config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
	(LONGLONG_STANDALONE): Define.

From-SVN: r52322
2002-04-15 06:52:24 -04:00
David S. Miller b71eb9f50d sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.
2002-04-15  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_emit_float_lib_cmp):
	Call emit_library_call with LCT_NORMAL.
	(sparc_initialize_trampoline): Use LCT_foo instead of
	magic constant in emit_library_call invocations.
	(sparc64_initialize_trampoline): Likewise.
	(sparc_profile_hook): Likewise.
	* config/sparc/sparc.md: Likewise.

	* config/sparc/sparc.c (sparc_extra_constraint_check):
	Fix type of argument 'c'.
	* config/sparc/sparc-protos.h (sparc_extra_constraint_check):
	Likewise.

From-SVN: r52320
2002-04-15 03:08:51 -07:00
Bryce McKinlay faa381377e re PR java/6085 (gcj SEGVs on complicated inner class structures)
Fix for PR java/6085:
        * parse.y (patch_method_invocation): Always use build_access_to_thisn
        to get enclosing "this" argument for inner-class constructor
        invocation. Pass correct arguments to build_access_to_thisn.

From-SVN: r52319
2002-04-15 10:28:53 +01:00
GCC Administrator d4b7721822 Daily bump.
From-SVN: r52314
2002-04-15 07:16:12 +00:00
Mark Wielaard 8a93a2ec22 natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
        * java/net/natSocketImpl.cc (close): Likewise.

From-SVN: r52313
2002-04-15 03:21:58 +00:00
Mark Wielaard 846b514743 Connection.java (usingProxy): return false.
2002-04-14  Mark Wielaard <mark@klomp.org>

        * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.

From-SVN: r52311
2002-04-15 03:16:02 +00:00
Adam King 42557a76f1 natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers.
2002-04-13  Adam King <aking@dreammechanics.com>

        * java/lang/natDouble.cc (parseDouble): Allow a number to end with
        the f/F/d/D modifiers.

From-SVN: r52309
2002-04-15 03:12:06 +00:00
Mark Wielaard 8b309f8d3d re PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked transfer encoding))
* libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
        libgcj/6298.

From-SVN: r52306
2002-04-14 22:38:09 +00:00
Jakub Jelinek 70427c9b1a class.c (layout_virtual_bases): Do all dsize computation on trees.
* class.c (layout_virtual_bases): Do all dsize computation on trees.

	* g++.dg/other/big-struct.C: New test.

From-SVN: r52303
2002-04-14 22:53:59 +02:00
Hans-Peter Nilsson 350bd56e77 Make-lang.in (f/target.o): Depend on diagnostic.h.
* Make-lang.in (f/target.o): Depend on diagnostic.h.
	* target.c: Include diagnostic.h.
 	(ffetarget_memcpy_): Call sorry if host and target endians are
	not matching.

From-SVN: r52301
2002-04-14 16:21:51 +00:00
Andreas Schwab a317140001 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
From-SVN: r52300
2002-04-14 16:01:15 +00:00
Mark Wielaard 41039d7118 re PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))
* libjava.mauve/xfails: Expect failures for PR libgcj/6293,
	libgcj/6295, libgcj/6296 and libgcj/6297.

From-SVN: r52298
2002-04-14 15:06:32 +00:00
Jason Merrill f41f16c533 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r52295
2002-04-14 10:27:09 -04:00
David Billinghurst 9736a901a2 re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)
2002-04-13  David Billinghurst <David.Billinghurst@riotinto.com>

	PR c/6277
	* gcc.dg/i386-387-1.c:  Allow optional leading underscore
	in scan-assembler function name

From-SVN: r52291
2002-04-14 11:47:50 +00:00
GCC Administrator 26ad699696 Daily bump.
From-SVN: r52287
2002-04-14 07:16:19 +00:00
Mark Mitchell 33216c2df3 linux.h (CPP_PREDEFINES): Fix typo.
* config/alpha/linux.h (CPP_PREDEFINES): Fix typo.
	* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
	not gnu_hurd.

From-SVN: r52285
2002-04-13 22:09:30 +00:00
Hans-Peter Nilsson 1810d3d857 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
From-SVN: r52284
2002-04-13 20:18:34 +00:00
Joel Sherrill 38a2082413 t-elf: Enable v8 multilibs.
2002-04-13	Joel Sherrill <joel@OARcorp.com>

	* config/sparc/t-elf: Enable v8 multilibs.  Impacts
	sparc-elf and sparc-rtems targets.

From-SVN: r52282
2002-04-13 19:54:36 +00:00
Mark Mitchell 36e7aea4ef linux.h: Define __gnu_linux__ wherever __linux__ is defined...
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
	defined, and __gnu_hurd__ wherever __GNU__ is defined.
	* arm/linux-elf.h: Likewise.
	* cris/aout.h: Likewise.
	* cris/linux.h: Likewise.
	* i370/linux.h: Likewise.
	* i386/gnu.h: Likewise.
	* i386/linux-aout.h: Likewise.
	* i386/linux-oldld.h: Likewise.
	* i386/linux.h: Likewise.
	* i386/linux64.h: Likewise.
	* ia64/linux.h: Likewise.
	* m68k/linux-aout.h: Likewise.
	* m68k/linux.h: Likewise.
	* mips/linux.h: Likewise.
	* pa/pa-linux.h: Likewise.
	* pj/linux.h: Likewise.
	* rs6000/sysv4.h: Likewise.
	* s390/linux.h: Likewise.
	* sh/linux.h: Likewise.
	* sparc/linux-aout.h: Likewise.
	* sparc/linux.h: Likewise.
	* sparc/linux64.h: Likewise.
	* xtensa/linux.h: Likewise.

From-SVN: r52278
2002-04-13 19:16:45 +00:00
David O'Brien e78c850b5c Seems I did not add the entry before issue 'cvs ci'.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
	(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
	(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
	DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
	elfos.h and dbxelf.h values are fine now.
	* config/i386/freebsd.h, config/alpha/freebsd.h
	(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411175216.B11442@redhat.com>

From-SVN: r52277
2002-04-13 19:07:08 +00:00
Toon Moene 19b935cf93 news.texi: Deprecate frontend version number; update list of fixed bugs.
2002-04-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Deprecate frontend version number;
	update list of fixed bugs.

From-SVN: r52276
2002-04-13 16:44:44 +00:00
Hans-Peter Nilsson ce476d48d5 980628-4.x, [...]: New, xfail cross-endian tests; powerpc-*-* and mmix hosted on i[34567]86-*-*.
* g77.f-torture/execute/980628-4.x,
	g77.f-torture/execute/980628-5.x,
	g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
	g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
	g77.f-torture/compile/alpha1.x: New, xfail cross-endian tests;
	powerpc-*-* and mmix hosted on i[34567]86-*-*.
	* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
	* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
	g77.f-torture/execute/20001201.x,
	g77.f-torture/execute/u77-test.x: New files.
	* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
	* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r52275
2002-04-13 12:27:48 +00:00
No Author b16df601ba This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52274
2002-04-13 12:27:48 +00:00
David S. Miller 69a4793a4e 20020413-1.c: New test.
2002-04-13  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020413-1.c: New test.

From-SVN: r52271
2002-04-13 03:31:50 -07:00
GCC Administrator dc2af98475 Daily bump.
From-SVN: r52265
2002-04-13 07:16:17 +00:00
Mark Mitchell 85e45f9136 re PR c++/5373 (Statement expressions broken in C++)
PR c++/5373.
	* semantics.c (finish_expr_stmt): Remember the type of the
	expression before any conversions are performed.

From-SVN: r52263
2002-04-13 07:08:03 +00:00
Andreas Schwab 67d9f46baf * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
From-SVN: r52261
2002-04-13 01:58:28 +00:00
Mark Mitchell c1f45f89a1 re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)
PR c++/5189.
	* g++.dg/template/copy1.C: New test.

From-SVN: r52259
2002-04-13 01:31:10 +00:00
Mark Mitchell 6d840fb794 Revert these changes:
2002-04-06  Mark Mitchell  <mark@codesourcery.com>

	PR c++/5571
	* stor-layout.c (layout_decl): Reset the RTL for the decl.

	2002-03-15  Mark Mitchell  <mark@codesourcery.com>

	* expr.c (expand_expr): Tidy.

	* decl.c (duplicate_decls): Do not copy the RTL for a variable
	declaration if the old variable had an incomplete type and the new
	variable does not.
	(complete_vars): Do not call layout_decl for completed variables.

From-SVN: r52257
2002-04-13 01:25:11 +00:00
Richard Henderson 36ea005204 * gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
From-SVN: r52254
2002-04-12 16:54:03 -07:00
Richard Henderson 01e93ba048 config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa is supported.
* config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa
        is supported.

From-SVN: r52252
2002-04-12 16:03:01 -07:00
Richard Henderson c91ae42b2b config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
        (sparc*-*-solaris): Clean up header files.
        * configure.in (AS_SPARC64_FLAG): Error out if can't find it
        and plan on generating 64-bit code.
        * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
        * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
        * config/sparc/sol2-sld-64.h: Rename ...
        * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
        for AS_SPARC64_FLAG not defined.
        * config/sparc/sol2-gld-bi.h: New.
        * config/sparc/sol2-sld.h: Remove.
        * config/sparc/sol26-sld.h: New.
        * config/sparc/sol2.h: Tidy comments.
        * doc/install.texi: Document sparc-solaris configury changes.

From-SVN: r52249
2002-04-12 15:46:28 -07:00
Richard Henderson 8613921a3f recog.c (offsettable_address_p): Match the logic in adjust_address.
* recog.c (offsettable_address_p): Match the logic in adjust_address.

        * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
        in 64-bit mode only.  Use only for 32-bit or MEDLOW.

From-SVN: r52248
2002-04-12 15:36:01 -07:00
Rainer Orth 647ffb4ef7 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
From-SVN: r52245
2002-04-12 22:16:56 +00:00
Jeff Law e2aafba527 pa.c (pa_can_combine_p): Call extract_insn before calling constrain_operands.
* pa.c (pa_can_combine_p): Call extract_insn before calling
	constrain_operands.

From-SVN: r52243
2002-04-12 15:52:07 -06:00
Douglas B Rupp 260d8a3889 * hwint.h (HAVE___INT64): Correct spelling.
From-SVN: r52240
2002-04-12 15:59:09 -04:00
Douglas B Rupp 967e577354 * config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
From-SVN: r52238
2002-04-12 15:52:34 -04:00
Douglas B Rupp a838068c1f i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
	(TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
	(DEFAULT_PCC_STRUCT_RETURN): Define as 0.
	* config/i386/t-interix (USER_H): Remove.

From-SVN: r52236
2002-04-12 15:44:42 -04:00
DJ Delorie 681843aa43 integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof(char *).
* integrate.c (compare_blocks): Make comparisons safe for when
sizeof(int) < sizeof(char *).
(find_block): Likewise.

From-SVN: r52235
2002-04-12 15:17:54 -04:00
Phil Edwards cf8a1ae612 std_bitset.h: Doxygenate std::bitset<>.
2002-04-12  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
	trailing spaces, indentation, and macro names.  Make exception
	messages more informative.

From-SVN: r52234
2002-04-12 19:16:37 +00:00
Andreas Schwab 8cc5b1cf38 ia64.h (ASM_SPEC): Moved from here ...
* config/ia64/ia64.h (ASM_SPEC): Moved from here ...
	* config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
	overrides the definition in config/svr4.h.

From-SVN: r52229
2002-04-12 14:42:52 +00:00
Eric Norum 24b3749329 rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets...
2002-04-12	Eric Norum <eric.norum@usask.ca>

	* config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
	config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
	config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
	config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
	config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
	config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
	config/v850/rtems.h (*-rtems*): Cleanup pass to move common
	definitions to config/rtems.h and make the targets more similar.

From-SVN: r52224
2002-04-12 13:09:37 +00:00
Richard Kenner 5fdd953869 expr.c (expand_assigment): Remove duplicate conversions #ifdef POINTERS_EXTEND_UNSIGNED.
* expr.c (expand_assigment): Remove duplicate conversions #ifdef
	POINTERS_EXTEND_UNSIGNED.
	(store_constructor, expand_expr, case COMPONENT_REF): Likewise.
	(store_expr): Use TYPE_MODE (sizetype), not ptr_mode.

From-SVN: r52222
2002-04-12 08:29:31 -04:00
Richard Kenner e2abdfc57a emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET not specified.
* emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
	not specified.

From-SVN: r52219
2002-04-12 08:13:26 -04:00
Hans-Peter Nilsson e55c6325f4 function.c (fixup_var_refs_1): For paradoxical (subreg VAR), replace VAR, don't try the subreg.
* function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
	For paradoxical (subreg VAR), replace VAR, don't try the subreg.

From-SVN: r52218
2002-04-12 11:37:42 +00:00
Andrew Haley 6654a73d37 typeck.c (type_after_usual_arithmetic_conversions): If two types have the same variant, return immediately.
2002-04-11  Andrew Haley  <aph@redhat.com>

        * typeck.c (type_after_usual_arithmetic_conversions):
        If two types have the same variant, return immediately.
        When two floating-point operands are the same precision:
          convert to float if one of the operands is float;
          if neither operand is one of the standard types, return the type
          of the first operand.

From-SVN: r52216
2002-04-12 11:00:29 +00:00
Richard Sandiford 6ee48c3c3d * g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.

From-SVN: r52212
2002-04-12 10:52:03 +00:00
Richard Sandiford ccc5dbba43 decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
	with an explicit one.
	(follow_tag_typedef): New.
	(lookup_tag): Use it to extract the tag of an explicit typedef.
	(xref_tag): Likewise.

From-SVN: r52211
2002-04-12 10:49:41 +00:00
Andreas Schwab 8ad223886d * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
From-SVN: r52208
2002-04-12 08:36:03 +00:00
Richard Henderson 3bd891df73 re PR bootstrap/4191 (GCC does not build for d30v-elf - needs tweaking for crtstuff.c changes)
PR bootstrap/4191
        * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.

        * flow.c (mark_used_reg): Manage reg_cond_dead properly for
        modes spanning multiple hard regs.

        * recog.c (peephole2_optimize): Rebuild jump labels as needed.

From-SVN: r52204
2002-04-12 00:49:14 -07:00
GCC Administrator 344ab910eb Daily bump.
From-SVN: r52200
2002-04-12 07:16:26 +00:00
Richard Henderson 96f5ce192e fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
	(basic_ostream<>::operator<<(long long)): Same.

From-SVN: r52199
2002-04-11 22:45:52 -07:00
John David Anglin 27b63c9c68 pa.c (output_millicode_call): Check attribute type as well as length when length is 28.
* pa.c (output_millicode_call): Check attribute type as well as length
	when length is 28.

From-SVN: r52197
2002-04-12 03:12:24 +00:00
David O'Brien 72a2f7d420 freebsd.h (NO_IMPLICIT_EXTERN_C, [...]): Give value.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
	(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
	(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
	DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
	elfos.h and dbxelf.h values are fine now.
	* config/i386/freebsd.h, config/alpha/freebsd.h
	(DEFAULT_PCC_STRUCT_RETURN): Define to 0.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411175216.B11442@redhat.com>

From-SVN: r52195
2002-04-12 01:58:39 +00:00
David O'Brien 55edd5b449 aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ or set Acpu or Amachine.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
	or set Acpu or Amachine.  Reformat.
	(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
	define.
	(LINK_SPEC): Do not need to undef.
	* config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
	* config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
	(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
	define.
	* config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
	(ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
	(LINK_SPEC): Do not need to undef.
	(DONT_USE_BUILTIN_SETJMP): Do not define.
	* config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
	(CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
	(DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
	Remove trailing spaces.
	* config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
	__ELF__, or set Acpu or Amachine.  Reformat.
	(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
	define.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411160138.A11250@redhat.com>

From-SVN: r52192
2002-04-12 01:11:43 +00:00
David O'Brien df6f2b5948 config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match all other *-*-freebsd* targets.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
	all other *-*-freebsd* targets.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020411174756.A11442@redhat.com>

From-SVN: r52190
2002-04-12 00:56:52 +00:00
Richard Henderson c09fe4f1d9 * config/linker-map.gnu: Add __gxx_personality_sj0.
From-SVN: r52185
2002-04-11 16:25:42 -07:00
Tom Tromey 422f02203b * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
From-SVN: r52184
2002-04-11 22:23:56 +00:00
Bryce McKinlay aaeb0fcd93 configure.host: Set can_unwind_signal on hosts which support it.
* configure.host: Set can_unwind_signal on hosts which support it.
	Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
	* configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
	exceptions and can_unwind_signal isn't set.
	* configure: Rebuilt.

From-SVN: r52182
2002-04-11 23:20:48 +01:00
Richard Sandiford e673b31060 extend.texi: Remove old claim that typedefs cannot have an alignment attribute.
* doc/extend.texi: Remove old claim that typedefs cannot have
	an alignment attribute.

From-SVN: r52181
2002-04-11 21:36:04 +00:00
Jakub Jelinek feabd2ec22 re PR rtl-optimization/6177 (ia64 ICE with single-element complex array in LAPACK)
PR optimization/6177
	* expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
	bitpos is 0 and bitsize CONCAT size.

	* gcc.c-torture/execute/20020411-1.c: New test.

From-SVN: r52177
2002-04-11 23:00:54 +02:00
Anthony Green e45e39031c Fix classpath with a hack.
From-SVN: r52175
2002-04-11 20:55:51 +00:00
Jakub Jelinek 5a0dfc2e06 re PR c/6223 (internal compiler error in Wine-20020310)
PR c/6223
	* combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.

	* gcc.dg/20020411-1.c: New test.

From-SVN: r52174
2002-04-11 22:51:38 +02:00
David O'Brien 6453191c99 freebsd.h: Minor reformatting.
2002-04-11  David O'Brien  <obrien@FreeBSD.org>
	* config/alpha/freebsd.h: Minor reformatting.
	(CPP_SPEC): Define ELF and add cpp_subtarget.
	(ASM_SPEC): No longer needed.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20020410.203814.109035383.davem@redhat.com>

From-SVN: r52171
2002-04-11 18:23:30 +00:00
Richard Sandiford f0bf617e43 Properly revert it this time. Sorry.
From-SVN: r52169
2002-04-11 17:30:20 +00:00
Richard Henderson 1937688b36 sparc.md (movdi_insn_sp32): Add o/J alternative.
* config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
        (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
        (dimode mem/zero splitter): New.

From-SVN: r52167
2002-04-11 10:19:49 -07:00
Richard Sandiford 53e00ae82f Revert previous patch.
From-SVN: r52165
2002-04-11 16:38:14 +00:00
Adam King 7a3fced419 jvm.h (_Jv_ThrowBadArrayIndex, [...]): Mark as noreturn.
2002-04-11  Adam King <aking@dreammechanics.com>
	    Tom Tromey  <tromey@redhat.com>

	* include/jvm.h (_Jv_ThrowBadArrayIndex,
	_Jv_ThrowNullPointerException): Mark as noreturn.
	* win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
	and _Jv_free.  Correctly invoke GetTempPath().  Indentation
	fixes.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r52163
2002-04-11 15:56:34 +00:00
Hans-Peter Nilsson 6c1b90c492 cris.c (cris_override_options): Tweak error message for PIC not implemented.
* config/cris/cris.c (cris_override_options): Tweak error message
	for PIC not implemented.

	* config/cris/cris.h: Tweak comments related to parameter-passing.

	* config/cris/t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.

From-SVN: r52162
2002-04-11 15:16:18 +00:00
Richard Sandiford b99f20ca20 * g++.dg/ext/attrib5.C: New test.
From-SVN: r52158
2002-04-11 14:09:27 +00:00
Richard Sandiford e67af10f27 decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
	with an explicit one.
	(lookup_tag): Extract the tag of an explicit typedef.

From-SVN: r52157
2002-04-11 14:07:36 +00:00
Hans-Peter Nilsson ce6e264e00 cris.c (cris_target_asm_function_prologue): Cast uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
* config/cris/cris.c (cris_target_asm_function_prologue): Cast
	uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
	(cris_target_asm_function_epilogue): Ditto.
	(cris_initial_frame_pointer_offset): Ditto.
	(cris_simple_epilogue): Ditto.
	(cris_expand_builtin_va_arg): Variable-size types come in
	by-reference.

From-SVN: r52156
2002-04-11 13:59:05 +00:00
GCC Administrator 34f224db75 Daily bump.
From-SVN: r52150
2002-04-11 07:16:16 +00:00
Richard Henderson 335074c449 except.c (add_ehl_entry): Allow duplicates after landing pad creation.
* except.c (add_ehl_entry): Allow duplicates after landing pad
        creation.

From-SVN: r52148
2002-04-10 18:04:32 -07:00
Jakub Jelinek 627f6f85bb re PR middle-end/6247 (Konqueror miscompilation on IA-32)
PR middle-end/6247
	* g++.dg/opt/cleanup1.C: New test.

	* g++.dg/opt/const1.C: New test.

From-SVN: r52145
2002-04-10 23:47:47 +02:00
David Edelsohn 1d2ceaa72d * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
From-SVN: r52143
2002-04-10 16:31:47 -04:00
Ulrich Weigand 8c26768ffd reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM is only used as frame pointer when...
* reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
	is only used as frame pointer when frame_pointer_needed is true.

From-SVN: r52139
2002-04-10 17:54:40 +00:00
Lars Brinkhoff c4ba110155 * gcc.c-torture/execute/20020406-1.c: Declare malloc.
From-SVN: r52137
2002-04-10 10:46:49 -07:00
Andreas Jaeger 52101467b6 * gcj.texi (Input Options): Fix extdirs patch.
From-SVN: r52135
2002-04-10 18:10:47 +02:00
Anthony Green 25a7d546e9 Fix build problem.
From-SVN: r52134
2002-04-10 15:23:05 +00:00
Richard Earnshaw 17856d217b re PR target/817 (ARM compiler generates out-of-range accesses to constant pool data)
PR target/817
* arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses two words.
(movdf_hard_insn): Similarly.  Also, ADR instruction can span
1k bytes.
(movdf_soft_insn): Similarly.
(movxf_hard_insn): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses three words.

From-SVN: r52133
2002-04-10 14:25:51 +00:00
Anthony Green f59c0da6dc Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
2002-04-05  Anthony Green  <green@redhat.com>

	* Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
	(install-data-hook): Define.
	* Makefile.in: Rebuilt.

From-SVN: r52131
2002-04-10 13:10:16 +00:00
Anthony Green 2c4d1583b8 gcj.texi (Input Options): Add --extdirs documentation.
2002-04-09  Anthony Green  <green@redhat.com>

	* gcj.texi (Input Options): Add --extdirs documentation.
	* jcf-dump.c (OPT_extdirs): New macro.
	(options): Add extdirs option.
	(help): Describe --extdirs.
	(main): Handle OPT_extdirs.
	* gjavah.c (OPT_extdirs): New macro.
	(options): Add extdirs option.
	(help): Describe --extdirs.
	(main): Handle OPT_extdirs.
	* jcf-path.c (jcf_path_init): Add extdirs support.
	(jcf_path_extdirs_arg): New function.
	(extensions): New variable to hold extensions path entries.
	* jvspec.c: Remove -fextdirs= when compiling main().
	* lang.c (java_decode_option): Handle -fextdirs=.
	* jcf.h (jcf_path_extdirs_arg): Declare new function.
	* Make-lang.in: Compile jcf-path with version info for use in
	identifying the appropriate libgcj.jar.

From-SVN: r52130
2002-04-10 13:09:03 +00:00
Nathan Sidwell 670bfd2741 re PR c++/5507 (Overzealous implicit typename warning)
cp:
	PR c++/5507
	* decl.c (make_typename_type): Remove implicit typenameness.
testsuite:
	PR c++/5507
	* g++.dg/template/typename2.C: New test.

From-SVN: r52123
2002-04-10 09:38:55 +00:00
GCC Administrator c09dfadf8a Daily bump.
From-SVN: r52119
2002-04-10 07:16:25 +00:00
Richard Henderson c506336394 expr.c (expand_expr): Don't force into registers if EXPAND_INITIALIZER.
* expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
        if EXPAND_INITIALIZER.

From-SVN: r52117
2002-04-10 00:10:18 -07:00
Alan Modra 0dc8f2034b * gcc.c-torture/execute/loop-12.c: New.
From-SVN: r52116
2002-04-10 16:28:41 +09:30
No Author 5e4b4103bc This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52115
2002-04-10 06:58:41 +00:00
Alan Modra f4333b6182 re PR rtl-optimization/6233 (simple loop miscompilation)
PR optimization/6233
	* rtlanal.c (pure_call_p): New function.
	* rtl.h (pure_call_p): Declare.
	* loop.c (prescan_loop): Use it to set has_nonconst_call.
	* gcse.c (store_killed_in_insn): Use pure_call_p here too.

From-SVN: r52114
2002-04-10 16:22:21 +09:30
Richard Henderson 3b2f3c8167 alpha.md (movdi_er_maybe_g): New.
* config/alpha/alpha.md (movdi_er_maybe_g): New.
        * config/alpha/alpha.c (alpha_expand_mov): Use it.

From-SVN: r52112
2002-04-09 22:14:55 -07:00
Loren J. Rittle d3f2fdb6f7 * configure.in: Add *-*-freebsd* configurations.
From-SVN: r52108
2002-04-10 02:52:12 +00:00
Richard Henderson 172879b658 expr.c (expand_expr): Force overflows into registers.
* expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.

	* gcc.c-torture/compile/20020409-1.c: New.

From-SVN: r52106
2002-04-09 19:23:35 -07:00
No Author 2da3687b32 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52105
2002-04-10 02:23:35 +00:00
Loren J. Rittle 4831961528 gcconfig.h (DATAEND): Update comment example to match reality.
* include/private/gcconfig.h (DATAEND): Update comment example
	to match reality.  Clarify comment.
	Change all likely references to linker script synthesized
	symbols to use this idiom: extern int etext[]; etext
	* os_dep.c (GC_init_linux_data_start): Fix references to
	__data_start and _end.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r52103
2002-04-10 01:18:08 +00:00
Andrew MacLeod 87e4376701 * expr.c (expand_expr): A RESULT_DECL is part of a call.
From-SVN: r52102
2002-04-10 00:37:02 +00:00
Richard Henderson 95e726f37e cfg.c (expunge_block): Decrement num_elements here ...
* cfg.c (expunge_block): Decrement num_elements here ...
        (expunge_block_nocompact): ... not here.
        * cfgcleanup.c (delete_unreachable_blocks): Set num_elements.

From-SVN: r52101
2002-04-09 17:18:53 -07:00
Benjamin Kosnik fd0df8a0ff localefwd.h (locale::_Impl::_M_facets): Change from pointer to vector.
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>

        libstdc++/1072
        * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
        pointer to vector.
        Remove forward declaration of vector.
        Include vector.
        * include/bits/locale_facets.tcc: Remove vector include.
        (use_locale): Adjust.
        (has_locale): Adjust.
        * src/locale.cc: Adjust.
        * src/localename.cc: Same.

From-SVN: r52096
2002-04-09 21:20:25 +00:00
Richard Henderson 71644c160a basic-block.h (flow_delete_block_noexpunge): Declare.
* basic-block.h (flow_delete_block_noexpunge): Declare.
	(expunge_block_nocompact): Declare.
	* cfg.c (expunge_block_nocompact): Split out from ...
	(expunge_block): ... here.
	* cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
	(flow_delete_block_noexpunge): Split out from ...
	(flow_delete_block): ... here.
	* cfgcleanup.c (delete_unreachable_blocks): Compact while
	removing dead blocks.
	* except.c (exception_handler_labels): Remove.
	(exception_handler_label_map): New.
	(struct eh_region): Add aka member.
	(mark_ehl_map_entry, mark_ehl_map, free_region): New.
	(ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
	(for_each_eh_label, for_each_eh_label_1): New.
	(init_eh): Register exception_handler_label_map.
	(free_eh_status): Use free_region.
	(find_exception_handler_labels): Use the map, not the list.
	(remove_exception_handler_label): Likewise.
	(maybe_remove_eh_handler): Likewise.
	(remove_eh_handler): Use the region aka bitmap.
	* except.h (exception_handler_labels): Remove.
	(for_each_eh_label): Declare.
	* jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
	* loop.c (invalidate_loops_containing_label): New.
	(find_and_verify_loops): Use it.  Use for_each_eh_label.
	* sched-rgn.c (is_cfg_nonregular): Use
	current_function_has_exception_handlers.

From-SVN: r52093
2002-04-09 13:39:01 -07:00
Richard Henderson c2ddba8ab6 hashtab.c (higher_prime_number): Use 7 as minimum.
* hashtab.c (higher_prime_number): Use 7 as minimum.
        (find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.

From-SVN: r52092
2002-04-09 13:29:31 -07:00
Richard Henderson da37c48385 * reorg.c (get_branch_condition): Use reversed_comparison_code.
From-SVN: r52089
2002-04-09 12:40:36 -07:00
Stephane Carrez dcb704396b larith.asm (__map_data_section): Fix condition and optimize for size.
* config/m68hc11/larith.asm (__map_data_section): Fix condition
	and optimize for size.
	(__do_global_ctors): Fix pointer comparison.
	(__do_global_dtors): Likewise.

From-SVN: r52087
2002-04-09 20:56:42 +02:00
Tom Tromey 9bba76525a * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
From-SVN: r52085
2002-04-09 17:46:05 +00:00
Jason Merrill cc4d25c18a re PR rtl-optimization/6189 (Regression from 3.0.x: g++ -O3 generates wrong code)
PR optimization/6189
        * semantics.c (genrtl_start_function): Don't free
        DECL_SAVED_FUNCTION_DATA for inline functions.

[[Split portion of a mixed commit.]]

From-SVN: r52083.1
2002-04-09 13:02:43 -04:00
David S. Miller 1028a4d91b sparc.c (sparc_extra_constraint_check): New function, implementing EXTRA_CONSTRAINTS.
2002-04-09  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_extra_constraint_check): New
	function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
	allow reloading pseudos.
	* config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
	* config/sparc/sparc-protos.h: Declare it.

	* config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
	unsigned comparison warning.
	(output_restore_regs): Mark leaf_function as unused.

From-SVN: r52079
2002-04-09 07:50:52 -07:00
Richard Kenner 47a036ed46 expr.c (is_aligning_offset): New function.
* expr.c (is_aligning_offset): New function.
	(expand_expr, case COMPONENT_EXPR): Call it.

From-SVN: r52076
2002-04-09 09:40:36 -04:00
Benjamin Kosnik a129752b4e sstream.tcc: Clean up bit ops.
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
	    Richard Henderson  <rth@redhat.com>

	* include/bits/sstream.tcc: Clean up bit ops.
	* include/bits/fstream.tcc: Same.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r52071
2002-04-09 08:48:49 +00:00
Jakub Jelinek 72a8e872af locale_facets.h (__num_base::_S_scale_hex): Remove.
2002-04-09  Jakub Jelinek  <jakub@redhat.com>

	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.
	* src/locale.cc (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.

From-SVN: r52069
2002-04-09 08:00:36 +00:00
Benjamin Kosnik d7b1f130cd bitset_members.cc: New test.
2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/6124
	* testsuite/23_containers/bitset_members.cc: New test.
	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
	(_S_bit_count): Here.
	(_First_one::_S_first_one): Move...
	(_S_first_one): Here.
	Format.
	* src/bitset.cc: Adjust.
	* config/linker-map.gnu: Export.

From-SVN: r52067
2002-04-09 07:40:10 +00:00
Benjamin Kosnik d893c6a976 fstream.tcc (filebuf::seekpos): Fix.
2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5180
	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
	* include/std/std_fstream.h: Clean.
	* include/bits/ostream.tcc: Remove extraneous variables.
	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
	open modes and which modes.
	(stringbuf::seekpos): Same.
	* testsuite/27_io/stringbuf_virtuals.cc: New tests.

From-SVN: r52065
2002-04-09 07:27:32 +00:00
GCC Administrator 3ab15f4bb6 Daily bump.
From-SVN: r52061
2002-04-09 07:16:26 +00:00
Hans-Peter Nilsson 81e6765afa re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64)
PR objc/6107
	* objc/objc-api.h (struct objc_protocol_list): Change type of
	member count from int to size_t.

From-SVN: r52060
2002-04-09 07:11:53 +00:00
Alan Modra 4574fcd6e1 configure.in (auto-build.h): Use target_alias and build_alias when running configure.
* configure.in (auto-build.h): Use target_alias and build_alias
	when running configure.
	(gcc_cv_as): Use $target_alias in directory searchs rather than
	$target.  Heed program_prefix and program_transform_name.  Search
	for gas in cross-compiler case too.  "test -x" rather than "test -f".
	(gcc_cv_ld): Likewise.
	(gcc_cv_nm): Set for cross compilers too.  Heed program_prefix and
	program_transform_name.
	(gcc_cv_objdump): Likewise.
	* configure: Regenerate.

From-SVN: r52052
2002-04-09 10:03:05 +09:30
Hans-Peter Nilsson a7b1b08874 Fix ChangeLog date
From-SVN: r52051
2002-04-09 00:15:50 +00:00
Hans-Peter Nilsson 604bf9e0cd t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
* config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
	here.

	* config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
	semicolon.

	* config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
	types come in by-reference.  Fix typo in comment.

From-SVN: r52050
2002-04-09 00:12:51 +00:00
Hans Boehm cc4d90e336 gc_priv.h (WARN macro): Add "GC warning:" prefix.
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
	(GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
	declare.
	* allchblk.c (GC_allchblk_nth): Change text and support reduced
	frequency for blacklist warning message.
	* misc.c (GC_large_alloc_warn_interval,
	GC_large_alloc_warn_suppressed): define.
	(GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
	GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
	* doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
	(GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.

	* dyn_load.c (_DYNAMIC): Move declaration to file scope.

From-SVN: r52049
2002-04-09 00:03:25 +00:00
Hans Boehm 6a8bf5e9d8 java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly.
* src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE
	correctly.
	* src/ia64/unix.S: Add unwind information. Fix comments.
	Save sp in a way that's compatible with unwind info.
	(ffi_call_unix): Correctly restore sp in all cases.
	* src/ia64/ffi.c: Add, fix comments.

From-SVN: r52044
2002-04-08 22:31:16 +00:00
Adam Megacz 7c9d77b6ba exception.cc (abort): added static modifier
2002-04-05  Adam Megacz <adam@xwt.org>

        * exception.cc (abort): added static modifier

From-SVN: r52042
2002-04-08 20:40:35 +00:00
Jakub Jelinek 2a7efa087b * src/sparc/v8.S: Make .eh_frame dependent on target word size.
From-SVN: r52040
2002-04-08 22:22:24 +02:00
Paolo Carlini b653b3bb75 parse.y (namespace_qualifier, [...]): Add ending ';', in accordance with POSIX.
2002-04-08  Paolo Carlini  <pcarlini@unitus.it>

	* parse.y (namespace_qualifier, maybe_identifier,
	begin_explicit_instantiation, end_explicit_instantiation,
	apparent_template_type, .finish_template_type,
	do_id, maybe_init, defarg_again, component_decl_1):
	Add ending ';', in accordance with POSIX.

From-SVN: r52039
2002-04-08 20:17:47 +00:00
Tom Tromey b5515bce78 re PR libgcj/6068 (libgcj build picks up libgcj.spec from install tree)
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
	Fixes PR libgcj/6068.

From-SVN: r52037
2002-04-08 18:55:32 +00:00
Alberto Biancardi c003db19ed re PR libgcj/6187 (method distance of class java.awt.geom.Point2D causes infinite recursion)
2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>

	Fix for PR libgcj/6187:
	* java/awt/geom/Point2D.java (distance): Call distanceSq, not
	distance.

From-SVN: r52036
2002-04-08 18:48:55 +00:00
Tom Tromey 468196d3b4 For PR libgcj/5303:
* .cvsignore: Added rmic.1 and rmiregistry.1.
	* gcj.texi (Top): Link to new nodes.
	(Invoking rmic): New node.
	(Invoking rmiregistry): Likewise.
	* Make-lang.in (java.generated-manpages): Added rmic.1 and
	rmiregistry.1.
	(java.maintainer-clean): Likewise.
	($(srcdir)/java/rmic.1): New target.
	($(srcdir)/java/rmiregistry.1): Likewise.
	(java.install-man): Handle rmic.1 and rmiregistry.1.

From-SVN: r52034
2002-04-08 18:27:33 +00:00
Richard Henderson 9eb438c55c re PR rtl-optimization/6007 (cfg cleanup tremendous performance hog with -O1)
PR opt/6007
        * toplev.c (rest_of_compilation): Disable cross-jumping for
        highly connected graphs.

From-SVN: r52033
2002-04-08 11:15:43 -07:00
David S. Miller 6a4756a570 Missed this for 3.1 branch commit.
From-SVN: r52032
2002-04-08 10:34:17 -07:00
David S. Miller 9262a3d1f2 re PR target/6082 (memory model wrong for FreeBSD/sparc64)
2002-04-08  David S. Miller  <davem@redhat.com>

	PR target/6082
	* config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW

	Make init_priority work on Sparc when using GNU ld.
	* config/sparc/linux.h, config/sparc/linux64.h,
	config/sparc/netbsd-elf.h, config/sparc/freebsd.h
	(CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
	* config/sparc/sol2-gld.h: New file to do the same.
	* config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
	sparc/sol2-gld.h to tm_file.

	PR optimization/4328
	* config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
	* doc/md.texi: Document it.
	* config/sparc/sparc.md (movdi_insn_sp64_novis,
	movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
	movdf_insn_v9only_vis, movdf_insn_sp64_novis,
	movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
	* config/sparc/sparc.c (mem_min_alignment): Fix comment.

From-SVN: r52030
2002-04-08 10:17:18 -07:00
Gerald Pfeifer b0f2a018da contrib.texi (Contributors): Add John David Anglin and Loren J. Rittle (the latter also to Testers).
* doc/contrib.texi (Contributors): Add John David Anglin and Loren
	J. Rittle (the latter also to Testers).  Update David O'Brien's entry.

From-SVN: r52025
2002-04-08 12:15:05 +00:00
Bryce McKinlay 7b7e8380c3 gcj.texi (Invocation): Update JvAttachCurrentThread documentation.
* gcj.texi (Invocation): Update JvAttachCurrentThread documentation.
	Add note about handling uncaught exceptions. Add an exception handler
	to example.

From-SVN: r52023
2002-04-08 13:07:29 +01:00
GCC Administrator 7f622153bf Daily bump.
From-SVN: r52016
2002-04-08 07:16:14 +00:00
Bryce McKinlay 349a4258b8 parse.y (resolve_qualified_expression_name): Clear "from_super" flag after using it to patch CALL_EXPR.
* parse.y (resolve_qualified_expression_name): Clear "from_super" flag
	after using it to patch CALL_EXPR.

From-SVN: r52014
2002-04-08 07:40:50 +01:00
Bryce McKinlay 775177eb92 * gcj.texi (Invocation): Document CNI invocation API.
From-SVN: r52013
2002-04-08 07:39:34 +01:00
David S. Miller 15da020b0a config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
2002-04-07  David S. Miller  <davem@redhat.com>

	* config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.

From-SVN: r52010
2002-04-07 17:29:23 -07:00
Mark Wielaard 158f133541 AbstractMap.java (putAll): Use entrySet size.
* java/util/AbstractMap.java (putAll): Use entrySet size.
	(toString): Explicitly use getKey() and getValue().

From-SVN: r52009
2002-04-08 00:24:46 +00:00
Mark Wielaard cf6f4c4d1b xfails: Add CASE_INSENSITIVE_ORDER...
* libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result was
    unspecified and test should be updated to match latest spec.
    Add AcuniaPropertiesTest, known bug #6219. Add test_getClassLoader,
    what we do seems to be not really right or wrong.

From-SVN: r52007
2002-04-07 22:33:25 +00:00
John David Anglin 80c4bc14e5 re PR c++/5933 (HP-UX: broken MI of virtual classes)
PR 5933
	* pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
	generating 32-bit pic code.

From-SVN: r52005
2002-04-07 21:47:27 +00:00
Franz Sirl 84d80e2ae2 re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)
2002-04-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR optimization/6086
	* g++.dg/opt/preinc1.C: New test.

From-SVN: r52003
2002-04-07 18:26:51 +00:00
No Author d00670e928 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r52002
2002-04-07 18:26:51 +00:00
Franz Sirl da0c50d950 rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
2002-04-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
	(PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
	!flag_pic.
	(CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
	* config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
	of PIC_OFFSET_TABLE_REGNUM thruout.
	* config/rs6000/rs6000.md: Likewise.
	* config/rs6000/darwin.h: Likewise.

From-SVN: r52000
2002-04-07 18:17:45 +00:00
Mark Wielaard 0b9a32abdb Hashtable.java (contains): Remove NullPointer check.
* java/util/Hashtable.java (contains): Remove NullPointer check.
        (containsValue): Add NullPointer check.
        (remove): Always throw NullPointerException when key is null.

From-SVN: r51993
2002-04-07 12:15:36 +00:00
Adam King fd9aa8924c natSystem.cc (init_properties): Call new function _Jv_platform_initProperties.
2002-04-07  Adam King <aking@dreammechanics.com>

	* java/lang/natSystem.cc (init_properties): Call new function
	_Jv_platform_initProperties.
	* win32.cc (_Jv_platform_initProperties): New function that adds Win32
	support for the System properties os.name, os.arch, os.version,
	user.name, user.home, and user.dir.
	* include/posix.h, include/win32.h, posix.cc: New function
	_Jv_platform_initProperties.

From-SVN: r51990
2002-04-07 12:30:09 +01:00
Mark Wielaard 07cc396fdc mauve.exp: Use libgcj.jar not libgcj.zip.
* libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip.
	* libjava.mauve/xfails: add Character.classify12 (number 1),
	Character.getType (number 11), Character.getType (number 20) and
	Character.getType (number 22). We implement 1.4 Character.

From-SVN: r51988
2002-04-07 09:22:00 +00:00
GCC Administrator 9660e5628e Daily bump.
From-SVN: r51983
2002-04-07 08:16:13 +00:00
Mark Wielaard fa461e07d1 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
From-SVN: r51981
2002-04-07 07:43:37 +00:00
Mark Wielaard 3e08ac0c2a ArrayList.java (addAll(int,Collection)): System.arraycopy all of the remaining elements.
* java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
        all of the remaining elements.
        * java/util/Vector.java (addAll(int,Collection)): Likewise.
        (removeRange): If toIndex == fromIndex do
        nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
        (removeAll): Always throw NullPointerException when collection is
        null.
        (retrainAll): Likewise.

From-SVN: r51980
2002-04-07 07:42:30 +00:00
Mark Mitchell c515dffbcd re PR c++/5571 (crash in initialization of a static variable)
PR c++/5571
	* stor-layout.c (layout_decl): Reset the RTL for the decl.

	* class.c (layout_class_type): Remember incomplete static
	variables.
	(finish_struct_1): Call complete_vars, not
	hack_incomplete_structures.
	* cp-tree.h (hack_incomplete_structures): Rename to ...
	(complete_vars): ... this.
	(struct saved_scope): Remove incomplete.
	(namespace_scope_incomplete): Remove.
	* decl.c (struct binding_level): Remove incomplete.
	(incomplete_vars): New variable.
	(mark_binding_level): Don't mark incomplete.
	(print_binding_level): Don't print it.
	(mark_saved_scope): Don't mark incomplete.
	(pushdecl): Use maybe_register_incopmlete_var.
	(cxx_init_decl_processing): Register incomplete_vars for GC.
	(start_decl_1): Clarify error message.
	(hack_incomplete_vars): Remove.
	(maybe_register_incomplete_var): New function.
	(complete_vars): Likewise.

	* g++.dg/opt/static2.C: New test.

From-SVN: r51977
2002-04-07 06:02:47 +00:00
Jason Merrill 6f2317e2dc re PR c++/4934 (Seg fault on legal code)
PR c++/4934
        * error.c (dump_expr) [CONVERT_EXPR]: Make sure TREE_TYPE (t) is
        set before checking it.

From-SVN: r51973
2002-04-06 17:22:47 -05:00
John David Anglin b89f158cef * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
From-SVN: r51970
2002-04-06 21:55:14 +00:00
Mark Mitchell a7b13c871b Tweak ChangeLog entry
From-SVN: r51968
2002-04-06 19:39:33 +00:00
Mark Mitchell 6e59c903e0 sibcall.c (optimize_sibling_and_tail_recursive_call): Clear RTX_UNCHANGING_P for the functions arguments when a tail call is made.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
	RTX_UNCHANGING_P for the functions arguments when a tail call
	is made.

From-SVN: r51967
2002-04-06 19:37:39 +00:00
Jason Merrill 1c0400ac1c toplev.c (flag_no_inline, [...]): Default to 2.
* toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
        (parse_options_and_default_flags): Set them appropriately.
        * c-common.c (c_common_post_options): Don't set flag_really_no_inline.

From-SVN: r51960
2002-04-06 11:58:38 -05:00
Jan Hubicka d777f21092 Sat Apr 6 18:26:32 CEST 2002 Jan Hubicka <jh@suse.cz>
* ifcvt.c (if_convert): Clear aux fields of blocks.

From-SVN: r51957
2002-04-06 16:27:25 +00:00
Jason Merrill d3822259da re PR c++/6179 (EH regression test failure for STLport-4.5.3)
PR c++/6179
        * method.c (implicitly_declare_fn): Pass unqualified type to
        synthesize_exception_spec.

From-SVN: r51953
2002-04-06 10:58:48 -05:00
Mark Wielaard 4436d35624 ArrayList.jva (removeRange): If toIndex == fromIndex do nothing...
* java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do
        nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.

From-SVN: r51948
2002-04-06 08:27:28 +00:00
GCC Administrator 2fead30bd7 Daily bump.
From-SVN: r51942
2002-04-06 08:16:32 +00:00
David S. Miller ea62b618c2 freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
2002-04-05  David S. Miller  <davem@redhat.com>

	* config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
	* config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
	sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
	{sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.

From-SVN: r51939
2002-04-05 20:53:34 -08:00
John David Anglin 0176ed1a66 splay-tree.c (splay_tree_xmalloc_allocate): Use K & R syntax.
* splay-tree.c (splay_tree_xmalloc_allocate): Use K & R syntax.
	(splay_tree_xmalloc_deallocate): Likewise.

From-SVN: r51934
2002-04-05 22:46:55 +00:00
Jan Hubicka b8009f90a7 optabs.c (emit_no_conflict_block, [...]): Avoid nesting of libcall regions.
* optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
	of libcall regions.

From-SVN: r51929
2002-04-05 19:13:00 +00:00
Jonathan Wakely 5b0a61bdd4 stl_algo.h (unique_copy, [...]): Doxygenate.
2002-04-05  Jonathan Wakely <jw@kayari.org>

	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
	random_shuffle, partition, stable_partition, sort, stable_sort,
	partial_sort, partial_sort_copy, nth_element):  Doxygenate.

From-SVN: r51928
2002-04-05 17:59:57 +00:00
David S. Miller 2f734ea4c5 sparc.c (sparc_nonflat_function_epilogue): If we are not going to emit return instructions...
2002-04-05  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
	are not going to emit return instructions, emit at least a nop
	for the sake of sane backtraces.

From-SVN: r51922
2002-04-05 07:01:46 -08:00
David S. Miller 98089de755 2002-04-05 David S. Miller <davem@redhat.com>
* config/os/gnu-linux/bits/os_defines.h
	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.

From-SVN: r51920
2002-04-05 05:44:54 -08:00
Nic Ferrier 5db42cf328 gcj.texi: @code{gcj} becomes @command{gcj}.
* gcj.texi: @code{gcj} becomes @command{gcj}.
	@code{gcc} becomes @command{gcc}.
	GcjRaw changed to gnu.gcc.RawData.

From-SVN: r51919
2002-04-05 12:20:04 +00:00
Jakub Jelinek a20ee20be3 mklibgcc.in: Use separate libgcc.map for each multilib.
* mklibgcc.in: Use separate libgcc.map for each multilib.
	* Makefile.in (distclean): Don't remove libgcc.map here.

From-SVN: r51913
2002-04-05 10:22:19 +02:00
Jakub Jelinek 0ffe10e923 Makefile.in (s-mlib): Handle --disable-multilib by separate genmultilib invocation.
* Makefile.in (s-mlib): Handle --disable-multilib by separate
	genmultilib invocation.

From-SVN: r51911
2002-04-05 10:18:14 +02:00
GCC Administrator 592ecf4f73 Daily bump.
From-SVN: r51907
2002-04-05 08:16:17 +00:00
David S. Miller 38e84e128c crtfastmath.c: New file.
2002-04-03  David S. Miller  <davem@redhat.com>

	* config/sparc/crtfastmath.c: New file.
	* config/sparc/t-crtfm: New file.
	* config/sparc/linux.h (ENDFILE_SPEC): Use crtfastmath.o
	* config/sparc/linux64.h (ENDFILE_SPEC): Likewise.
	* config/sparc/sol2.h (ENDFILE_SPEC): Likewise.
	* config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise.
	* config/sparc/elf.h (ENDFILE_SPEC): Likewise.
	* config.gcc (sparc*-*-{elf*,linux*,solaris2*}): Add
	sparc/t-crtfm to tmake_file.

From-SVN: r51905
2002-04-04 23:42:44 -08:00
No Author 5c63fb35ea This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51904
2002-04-05 07:42:44 +00:00
Alan Modra 4631b49629 t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o Add rules to make null object file.
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
	Add rules to make null object file.

From-SVN: r51902
2002-04-05 14:17:28 +09:30
Adam Megacz 16d652a3d1 win32.h (_Jv_platform_close_on_exec): added inline modifier.
2002-04-04  Adam Megacz <adam@xwt.org>

    * include/win32.h (_Jv_platform_close_on_exec): added inline
    modifier.

From-SVN: r51900
2002-04-05 04:22:53 +00:00
Loren J. Rittle cad8f6e065 configure.host: Add case statement to support generic port properties.
* configure.host: Add case statement to support generic port
	properties.  Add *-*-freebsd* section.

From-SVN: r51898
2002-04-05 04:19:30 +00:00
Mark Wielaard 8580c531f3 mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test.
* mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
        test.
        * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
        FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
        that depend on awt code and BufferedByteOutputStream.interrupt.

From-SVN: r51892
2002-04-05 00:46:19 +00:00
Jeff Sturm 3f2261f151 v8.S: Add unwind info.
* src/sparc/v8.S: Add unwind info.
	* src/sparc/v9.S: Likewise.

From-SVN: r51891
2002-04-05 00:40:11 +00:00
David S. Miller a5026f6646 20020404-1.c: New test.
2002-04-04  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020404-1.c: New test.

From-SVN: r51888
2002-04-04 15:52:35 -08:00
David S. Miller b0feacf4d3 calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
2002-04-04  David S. Miller  <davem@redhat.com>

	* calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.

From-SVN: r51885
2002-04-04 15:28:48 -08:00
Laurent Guerby a6ddc0c5dc make.adb: Implement -margs, remove restriction about file name placement.
2002-04-04  Laurent Guerby  <guerby@acm.org>

	* make.adb: Implement -margs, remove restriction about file name placement.
	* makeusg.adb: Documentation update.

From-SVN: r51883
2002-04-04 23:02:09 +00:00
Richard Henderson 7ba09f6035 re PR rtl-optimization/6165 ([i686] stack frame freed too early)
PR opt/6165
        * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
        (write_dependence_p): Likewise.

From-SVN: r51881
2002-04-04 14:47:03 -08:00
Richard Henderson 2955af8676 predict.c (estimate_bb_frequencies): Do frequency calculation with a volatile temporary.
* predict.c (estimate_bb_frequencies): Do frequency calculation
        with a volatile temporary.

From-SVN: r51878
2002-04-04 13:37:47 -08:00
Benjamin Kosnik 162a50c82e via gawrilow@math.tu-berlin.de
2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3457
	via gawrilow@math.tu-berlin.de
	* acinclude.m4 (version_specific_libs): Fix combo usage with
	--with-gxx-include-dir.
	* aclocal.m4: Regenerate.
	* configure: Same.

From-SVN: r51877
2002-04-04 21:35:48 +00:00
Ulrich Weigand 80923ac854 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
From-SVN: r51876
2002-04-04 21:34:55 +00:00
Jakub Jelinek 53c4c9b91f re PR c++/6119 (sparc-sun-solaris2.7 gcc-3.1 extra g++ testsuite failure w/-fpic|-fPIC)
PR c++/6119
	* final.c (final_start_function): Don't bump profile_label_no here...
	(final_end_function): ...but here.

From-SVN: r51871
2002-04-04 23:03:17 +02:00
Jakub Jelinek ef8e745a4d sparc.md (pic): New attribute.
* config/sparc/sparc.md (pic): New attribute.
	(do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
	into stack slots.
	(split after do_builtin_setjmp_setup): New.

From-SVN: r51869
2002-04-04 22:54:02 +02:00
Loren J. Rittle dc25bcbeb9 gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data...
* include/private/gcconfig.h: Add support for an unmapped
	memory hole between the end of the initialized data segment
	and the start of the BSS on FreeBSD/i386.

From-SVN: r51868
2002-04-04 20:49:53 +00:00
Jakub Jelinek 12d4be42da re PR target/6123 (__pic__/__PIC__ not defined when -fpic/-fPIC is specified)
PR c/6123
	* gcc.dg/20020312-2.c: Do not declare global register variable
	if __PIC__ or __pic__ is defined.

From-SVN: r51858
2002-04-04 14:37:24 +02:00
Jakub Jelinek 9533ac1096 re PR fortran/6106 (sparc-sun-solaris2.7 gcc-3.1 extra g77 testsuite failures w/-m64)
PR fortran/6106
	* config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
	change.

From-SVN: r51856
2002-04-04 14:14:37 +02:00
Bryce McKinlay d9d5895444 Arrays.java (qsort): Fix off-by-one errors and use of incorrect "hi" value when count > 40.
* java/util/Arrays.java (qsort): Fix off-by-one errors and use of
	incorrect "hi" value when count > 40.

From-SVN: r51855
2002-04-04 13:02:36 +01:00
Jakub Jelinek df7066da56 sparc.c (sparc_va_arg): Adjust va_list by UNITS_PER_WORD for zero sized aggregates.
* config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
	UNITS_PER_WORD for zero sized aggregates.

From-SVN: r51852
2002-04-04 12:46:12 +02:00
Gerald Pfeifer deaafaaa5b * doc/contrib.texi (Contributors): Add David O'Brien.
From-SVN: r51850
2002-04-04 08:50:51 +00:00
Mark Wielaard e0d07e6486 Modifier.java (toString(int,StringBuffer)): Fix ordering.
* java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
	ordering.

From-SVN: r51849
2002-04-04 08:32:33 +00:00
GCC Administrator 68838c9ac2 Daily bump.
From-SVN: r51844
2002-04-04 08:16:26 +00:00
David S. Miller 3a37e2c681 gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this, just use %(link_gcc_c_sequence).
2002-04-03  David S. Miller  <davem@redhat.com>

	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
	one-character spec for this, just use %(link_gcc_c_sequence).

From-SVN: r51841
2002-04-03 23:19:57 -08:00
Benjamin Kosnik 7a705f2bd0 As per DR 184, libstdc++/3139
2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>

        As per DR 184, libstdc++/3139
        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
        (numeric_limits<bool>::is_iec559): False.
        (numeric_limits<bool>::is_modulo): False.

	* testsuite/27_io/ios_init.cc: Add instantiations.

From-SVN: r51839
2002-04-04 05:34:56 +00:00
Alan Modra 84ef1384f8 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
From-SVN: r51837
2002-04-04 12:18:50 +09:30
David S. Miller 90ecf17f7b gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker.
2002-04-03  David S. Miller  <davem@redhat.com>

	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
	library sequence passed to the linker.
	(LINK_COMMAND_SPEC): Use it.
	* doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
	a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
	* config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

From-SVN: r51833
2002-04-03 17:13:52 -08:00
Jason Merrill 7c69a366d8 re PR c++/525 (Problem with Multiple Inheritance and -pedantic)
PR c++/525
        * init.c (build_member_call): Convert to intermediate base even
        with -pedantic.

From-SVN: r51831
2002-04-03 20:11:37 -05:00
Kaveh R. Ghazi 53b898a095 linkage.exp: Update last change to handle sparc*-, not just sparc-.
* gcc.misc-tests/linkage.exp: Update last change to handle
	sparc*-, not just sparc-.

From-SVN: r51829
2002-04-04 00:18:30 +00:00
Jason Merrill 661b5652b9 re PR c++/5636 (gcc-3.0.3, memory leakage: function that take a string as parameter will not call local variable destructors if exception is thrown.)
PR c++/5636
        * tree.h (CLEANUP_EH_ONLY): New macro.
        * stmt.c (expand_decl_cleanup_eh): New fn.
        (expand_cleanups): Check CLEANUP_EH_ONLY.
        * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
        Use expand_decl_cleanup_eh.
        (expand_stmt): Adjust.
        * c-common.h: Adjust prototype.
        * cp/semantics.c (nullify_returns_r): Just set CLEANUP_EH_ONLY on
        cleanup for nrv.

From-SVN: r51826
2002-04-03 18:55:55 -05:00
Jason Merrill 933d821b1f re PR c++/5104 (template using std::set_terminate fails due to throw() qualifier in <exception>)
PR c++/5104
        * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception
        specifiers.
        [METHOD_TYPE]: Use same code as FUNCTION_TYPE.

From-SVN: r51822
2002-04-03 18:46:06 -05:00
Jakub Jelinek e84dce8878 configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() works properly with .hidden symbols.
* configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
	works properly with .hidden symbols.
	* configure: Rebuilt.
	* config.in: Rebuilt.
	* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
	DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
	properly with .hidden symbols.

From-SVN: r51814
2002-04-03 23:57:03 +02:00
Jakub Jelinek c1df97ac9e re PR middle-end/6102 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure on gcc.dg/20020201-4.c)
PR middle-end/6102
	* df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
	USE argument.

From-SVN: r51811
2002-04-03 23:26:51 +02:00
Roger Sayle d02985ab72 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (duplicate_decls): Don't mess with assembler names when
	redeclaring builtin functions as static.

From-SVN: r51810
2002-04-03 21:26:36 +00:00
Zack Weinberg a75fa1eaf0 * texi2pod.pl: Handle @end ftable and @end vtable.
From-SVN: r51807
2002-04-03 18:33:58 +00:00
Richard Henderson b5f81a141a sched-rgn.c (sets_likely_spilled): New.
* sched-rgn.c (sets_likely_spilled): New.
        (sets_likely_spilled_1): New.
        (add_branch_dependences): Use it.

From-SVN: r51805
2002-04-03 09:49:49 -08:00
Mark Wielaard cb7a4711c8 Long.java (getLong(String,Long)): Actually decode property value, not key.
* java/lang/Long.java (getLong(String,Long)): Actually decode property
	value, not key.

From-SVN: r51803
2002-04-03 08:23:48 +00:00
GCC Administrator 44141014cc Daily bump.
From-SVN: r51799
2002-04-03 08:16:26 +00:00
Richard Henderson 2f90c3f7e3 re PR rtl-optimization/4311 (unrolling loops creates non-ending loop)
PR opt/4311
        * loop.h (LOOP_FIRST_PASS): New.
        * loop.c (strength_reduce): Mind it when deciding to unroll.
        * toplev.c (rest_of_compilation): Set it.

From-SVN: r51797
2002-04-02 23:53:52 -08:00
David S. Miller 427f38e312 sparc.md (ldd peephole2s): Fix final arg to mems_ok_for_ldd_peep when the order of the loads being...
2002-04-02  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (ldd peephole2s): Fix final arg to
	mems_ok_for_ldd_peep when the order of the loads being examined
	is reversed.
	* config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
	existing comment to increase comprehension of this situation.

From-SVN: r51795
2002-04-02 22:28:06 -08:00
Richard Henderson bb53921a61 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
From-SVN: r51793
2002-04-02 20:20:51 -08:00
Eric Botcazou 40a5eee0ae function.c (assign_temp): Accept either type or decl argument.
* function.c (assign_temp): Accept either type or decl argument.
        Detect variables whose size is too large to fit into an integer.
        * stmt.c (expand_decl): Pass the decl, not the type.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51790
2002-04-02 19:43:37 -08:00
David O'Brien 468b10d1d1 protoize.c: Match include directory usage with cppdefault.c.
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
	* protoize.c: Match include directory usage with cppdefault.c.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020329131400.C19829@redhat.com>

From-SVN: r51789
2002-04-03 03:42:56 +00:00
Jeff Law 7333b91027 combine.c (simplify_comparison): Avoid narrowing a comparison with a paradoxical subreg when...
* combine.c (simplify_comparison): Avoid narrowing a comparison
	with a paradoxical subreg when doing so would drop signficant bits.

Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com>

From-SVN: r51786
2002-04-03 03:32:17 +00:00
David Edelsohn c0efb3ae1e [multiple changes]
2002-04-02  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.

2002-04-02  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
        associated splitter.  Remove MQ constraint.
        (ctrdi_internal4): Correct CCmode clobber.

From-SVN: r51784
2002-04-02 22:20:56 -05:00
Hans-Peter Nilsson 05849e00fa Doh! cvs ci -F /dev/stdin ChangeLog... not cvs ci -F ChangeLog...
From-SVN: r51783
2002-04-03 02:53:48 +00:00
Hans-Peter Nilsson cdecd88e1a bprob.exp: Skip for mmix-*-* and cris-*-*.
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* gcc.misc-tests/bprob.exp: Ditto.

From-SVN: r51782
2002-04-03 02:46:02 +00:00
David S. Miller b1d3428f75 20020402-3.c: New test.
2002-04-02  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020402-3.c: New test.

From-SVN: r51780
2002-04-02 18:34:58 -08:00
Benjamin Kosnik 77ddde0ad7 ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5268
	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
	* testsuite/27_io/ios_init.cc (tests04): Add test.

	libstdc++/3983
	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
	* include/bits/istream.tcc: Use _M_fctype, make consistent with
	ostream.
	* testsuite/27_io/ios_init.cc (tests03): Add test.

From-SVN: r51779
2002-04-03 02:33:13 +00:00
Hans-Peter Nilsson 9a7996ef89 mmix.md (define_constants): Remove misleading FIXME.
* config/mmix/mmix.md (define_constants): Remove misleading
	FIXME.  Add MMIX_fp_rO_OFFSET.
	("nonlocal_goto_receiver"): Don't have stack-frame address of
	saved rO as part of the pattern.  Remove FIXME.
	("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
	here, at output-time.
	* config/mmix/crti.asm (_init): Register _fini with atexit.
	* config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
	* config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
	unwind information when frame_pointer_needed.
	(mmix_assemble_integer): Tweak wording in comment.

From-SVN: r51776
2002-04-03 02:23:07 +00:00
Richard Henderson 1a8129b342 local-alloc.c (contains_replace_regs): LO_SUM may contain replace regs.
* local-alloc.c (contains_replace_regs): LO_SUM may contain
        replace regs.

	* gcc.c-torture/execute/20020402-2.c: New.

From-SVN: r51775
2002-04-02 18:09:15 -08:00
No Author f208074a9e This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51774
2002-04-03 02:09:15 +00:00
Richard Henderson 125049d517 * doc/standards.texi: Document required freestanding libc entry points.
From-SVN: r51769
2002-04-02 16:13:51 -08:00
Franz Sirl e7d6d481e3 20020402-1.c: New test.
2002-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20020402-1.c: New test.

From-SVN: r51766
2002-04-02 22:26:25 +00:00
No Author ed58c20146 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51765
2002-04-02 22:26:25 +00:00
Tom Tromey c702347dc1 natClassLoader.cc (findClass): Compare against `3', not `0'.
* java/lang/natClassLoader.cc (findClass): Compare against `3',
	not `0'.

From-SVN: r51763
2002-04-02 22:19:55 +00:00
Alexandre Oliva 2fe0168ea1 mips.c (mips_va_arg): Apply big-endianness address offset before loading address of argument passed...
* config/mips/mips.c (mips_va_arg): Apply big-endianness address
offset before loading address of argument passed by transparent
reference.

From-SVN: r51761
2002-04-02 21:36:24 +00:00
Richard Henderson 6c4d4ed5da inclhack.def (AAB_solaris_sys_varargs_h): Move and rename solaris_sys_varargs_h.
* fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
        rename solaris_sys_varargs_h.

From-SVN: r51758
2002-04-02 10:23:17 -08:00
Mark Wielaard e251d3e592 mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of testsuite crashers.
* mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
        list of testsuite crashers.

From-SVN: r51754
2002-04-02 14:22:59 +00:00
Bryce McKinlay c8d9e398e3 IdentityHashMap.java (put): Set new threshold correctly when resizing table.
* java/util/IdentityHashMap.java (put): Set new threshold correctly
	when resizing table.

From-SVN: r51752
2002-04-02 14:56:44 +01:00
Phil Edwards 8d5b4d0bf5 Makefile.am (install-data-local): Use mkinstalldirs.
2002-04-02  Phil Edwards  <pme@gcc.gnu.org>

	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
	* include/Makefile.in:  Regenerate.

From-SVN: r51748
2002-04-02 12:59:36 +00:00
Richard Kenner 91a2adb061 stor-layout.c (layout_type, [...]): Give one-element array the same mode as its component.
* stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
	the same mode as its component.

From-SVN: r51744
2002-04-02 06:55:23 -05:00
GCC Administrator facb719682 Daily bump.
From-SVN: r51737
2002-04-02 08:16:26 +00:00
Richard Henderson 5ac462c355 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
From-SVN: r51735
2002-04-02 00:14:14 -08:00
Benjamin Kosnik ad9dd8fadf acinclude: More extensive checks for msgfmt, --enable-nls.
2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5542
	* acinclude: More extensive checks for msgfmt, --enable-nls.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r51734
2002-04-02 02:47:07 +00:00
Phil Edwards f61318464a exception (__verbose_terminate_handler): Point to docs.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
	* docs/html/18_support/howto.html:  Document the demangler.
	* docs/html/17_intro/howto.html:  And link to it.

	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.

From-SVN: r51731
2002-04-02 02:07:51 +00:00
Richard Henderson e34bfd812c Mark pr last change.
From-SVN: r51728
2002-04-01 17:43:49 -08:00
Richard Henderson ba52c53437 inclhack.def (solaris_sys_varargs_h): New.
* fixinc/inclhack.def (solaris_sys_varargs_h): New.
        * fixinc/fixincl.x: Rebuild.

From-SVN: r51727
2002-04-01 17:39:05 -08:00
Richard Henderson f57f174d1d * gcc.c-torture/compile/920625-1.x: Revert -O1 xfail.
From-SVN: r51724
2002-04-01 16:04:39 -08:00
Richard Henderson ec5a7b07a9 unwind-ia64.c: Include ia64intrin.h.
* config/ia64/unwind-ia64.c: Include ia64intrin.h.
        (atomic_alloc, atomic_free): New.
        (SIZE, MASK_FOR, PTR_IN): New.
        (emergency_reg_state, emergency_reg_state_free): New.
        (emergency_labeled_state, emergency_labeled_state_free): New.
        (reg_state_alloced, labeled_state_alloced): New.
        (alloc_reg_state, free_reg_state): New.
        (alloc_label_state, free_label_state, free_label_states): New.
        (push, pop, dup_state_stack, free_state_stack): Use them.
        (desc_label_state): Likewise.
        (uw_frame_state_for): Free label states and state stack.
        (uw_update_reg_address): Eliminate warnings.

From-SVN: r51723
2002-04-01 15:29:46 -08:00
Loren J. Rittle 6f47873776 * doc/install.texi (*-*-freebsd*): Update.
From-SVN: r51721
2002-04-01 23:10:53 +00:00
Loren J. Rittle 147177f9e9 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
From-SVN: r51720
2002-04-01 23:08:40 +00:00
Loren J. Rittle cb0eddabd0 gcconfig.h: Add unified test for FreeBSD.
* include/private/gcconfig.h: Add unified test for FreeBSD.
	Support FreeBSD/alpha.
	* os_dep.c: Do not include <machine/trap.h> unless available.
	(GC_freebsd_stack_base): Fix types.

From-SVN: r51719
2002-04-01 23:06:42 +00:00
Loren J. Rittle 2ad08a52d5 configure.in: Enable alpha*-*-freebsd*.
* configure.in: Enable alpha*-*-freebsd*.
	* configure: Rebuilt.

From-SVN: r51718
2002-04-01 23:04:35 +00:00
Phil Edwards 70dd6f4150 Version.c: Fix misplaced leading blanks on first line.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* libF77/Version.c:  Fix misplaced leading blanks on first line.
	* libI77/Version.c:  Likewise.
	* libU77/Version.c:  Likewise.

From-SVN: r51717
2002-04-01 23:01:45 +00:00
Phil Edwards 1ab811557a version.c: Fix misplaced leading blanks on first line.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* version.c:  Fix misplaced leading blanks on first line.

From-SVN: r51716
2002-04-01 22:59:49 +00:00
Phil Edwards e8e1d2489e c++config: Fix misplaced leading blanks on first line.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/c++config:  Fix misplaced leading blanks on first line.

From-SVN: r51715
2002-04-01 22:56:53 +00:00
Vladimir Makarov 21dbc4c261 pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, [...]): Redefine them.
2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>

	* config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
        ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.

From-SVN: r51714
2002-04-01 22:45:32 +00:00
Phil Edwards 70a9f3ec11 linker-map.gnu: Export __verbose_terminate_handler.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* config/linker-map.gnu:  Export __verbose_terminate_handler.
	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
	Make new LTCOMPILE variable, use it in new special build rules.
	* libsupc++/Makefile.in:  Rebuild.
	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
	runtime __cxa_demangle.

	* docs/html/install.html:  Update prereqs and instructions.
	* docs/html/19_diagnostics/howto.html:  Bring naming for
	verbose_terminate_handler into line with reality.

From-SVN: r51712
2002-04-01 22:10:44 +00:00
Phil Edwards 5f2e72fc4e cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
	(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
	not compile if IN_GLIBCPP_V3 defined.
	* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.

From-SVN: r51711
2002-04-01 22:09:10 +00:00
Phil Edwards 533e66e6f1 dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.
2002-04-01  Phil Edwards  <pme@gcc.gnu.org>

	* dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.

From-SVN: r51710
2002-04-01 22:08:49 +00:00
Jim Blandy 46e1036fec cppmacro.c (cpp_macro_definition): Do not emit spaces after macro formal parameter names.
* cppmacro.c (cpp_macro_definition): Do not emit spaces after
macro formal parameter names.

From-SVN: r51706
2002-04-01 21:16:43 +00:00
Bob Wilson 23367e11b2 xtensa.c (xtensa_va_arg): Fix compiler warning in previous change.
* config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
        in previous change.

From-SVN: r51703
2002-04-01 20:05:45 +00:00
Mark Wielaard 9995e40e0e BitSet.java (BitSet(int)): if nbits < 0 throw NegativeArraySizeException
* java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
        NegativeArraySizeException
        (clear(int)): Use sign extended shift.
        (flip(int)): Likewise.
        (get(int)): Likewise.
        (nextClearBit(int)): Likewise.
        (nextSetBit(int)): Likewise.
        (set(int)): Likewise.

From-SVN: r51702
2002-04-01 20:00:31 +00:00
Bob Wilson f062672eb3 xtensa.c (xtensa_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....
* config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
        for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).

From-SVN: r51699
2002-04-01 19:49:39 +00:00
Mark Wielaard 2a60079ccc Integer.java (decode): Throw NullPointerException when argument is null.
* java/lang/Integer.java (decode): Throw NullPointerException when
        argument is null. A minus sign can precede other leading characters.

From-SVN: r51697
2002-04-01 19:11:16 +00:00
Benjamin Kosnik a0875807c5 basic_ios.h (basic_ios::_M_exception): Move.
2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3129
	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
	(basic_ios::_M_streambuf_state): Move.
	* include/bits/ios_base (ios_base): To here.
	* include/bits/ios_base.h (ios_base::_S_local_words): To
	_S_local_word_size.
	(ios_base::_M_word_array): To _M_local_word.
	(ios_base::_M_words_limit): To _M_word_size.
	(ios_base::_M_words): To _M_word.
	Comment.
	* include/bits/basic_ios.tcc: Adjust.
	* src/ios.cc (ios_base::_M_grow_words): Tweak.
	* testsuite/27_io/ios_base_storage.cc: Add tests.

	libstdc++/5207
	Kenny Simpson <theonetruekenny@yahoo.com>
	* include/bits/ios_base.h: Fix.

	Richard Henderson  <rth@redhat.com>
	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
	last change.

	* include/bits/basic_string.h: Tweak formatting.

From-SVN: r51696
2002-04-01 18:56:29 +00:00
Mark Wielaard 3420d4e3cc mauve-libgcj: Add JDK1.3...
* mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
	that can be compiled now and add testsuite crashers to ignore list.

From-SVN: r51694
2002-04-01 18:09:29 +00:00
Kaveh R. Ghazi 209130b0ed * gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
From-SVN: r51692
2002-04-01 16:35:10 +00:00
Roger Sayle a9ad75a234 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (duplicate_decls):  Overwrite the RTL when (and only
	when) overwriting a built-in function.  Don't use COPY_DECL_RTL,
	but follow the SET_DECL_RTL idiom used elsewhere in the function.

From-SVN: r51689
2002-04-01 16:32:19 +00:00
Hans-Peter Nilsson 3b3f078beb instantiate1.C, [...]: Tweak match patterns.
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
	g++.dg/ext/instantiate3.C: Tweak match patterns.

	* g++.old-deja/g++.pt/static11.C: Skip on mmix-knuth-mmixware.

	* gcc.dg/weak-1.c: Fix typo in scan-assembler pattern.

	* g++.old-deja/g++.law/bit-fields2.C: Skip on mmix-knuth-mmixware.

From-SVN: r51688
2002-04-01 15:49:48 +00:00
Paolo Carlini 16d9fa4169 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
	By definition, sizeof(char) == 1.
	* include/bits/locale_facets.tcc (money_get::do_get,
	money_put::do_put): Ditto.
	* testsuite/21_strings/inserters_extractors.cc
	(test04): Ditto.

From-SVN: r51686
2002-04-01 09:04:02 +00:00
GCC Administrator 81b4a85184 Daily bump.
From-SVN: r51680
2002-04-01 08:16:17 +00:00
Richard Henderson 3b3768e069 unwind-ia64.c (alloc_spill_area): Fix offset.
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
	(desc_frgr_mem): Fix reference to f16-f31.

From-SVN: r51678
2002-03-31 22:48:21 -08:00
Richard Kenner 3b9edbd88c emit-rtl.c (adjust_address_1, [...]): Cast value to unsigned HOST_WIDE_INT, not unsigned int.
* emit-rtl.c (adjust_address_1, offset_address): Cast value to
	unsigned HOST_WIDE_INT, not unsigned int.

From-SVN: r51669
2002-03-31 14:48:03 -05:00
Jakub Jelinek 30b6e80b41 PR middle-end/6096, middle-end/6098, middle-end/6099
PR middle-end/6096, middle-end/6098, middle-end/6099
	* reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
	CODE_LABELs.
	(fill_slots_from_thread): Likewise.

From-SVN: r51666
2002-03-31 20:41:44 +02:00
Jakub Jelinek 7c6d12954b sparc.c (function_arg_record_value_1): Pass complex floating fields in float regs.
* config/sparc/sparc.c (function_arg_record_value_1): Pass complex
	floating fields in float regs.
	(function_arg_record_value_2): Likewise.

From-SVN: r51665
2002-03-31 20:39:18 +02:00
Jakub Jelinek 42217a8ca2 re PR middle-end/6100 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure w/-m64 on compile/20020320-1.c)
PR middle-end/6100
	* config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
	REG_BR_PRED.
	(output_v9branch): Likewise.

From-SVN: r51662
2002-03-31 20:36:08 +02:00
Alexandre Oliva 745687e084 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
From-SVN: r51661
2002-03-31 18:26:31 +00:00
Alexandre Oliva eb8f582e7c gcc.c: Revert previous patch for now.
* gcc.c: Revert previous patch for now.
* config/i386/djgpp.h: Likewise.

From-SVN: r51660
2002-03-31 18:26:21 +00:00
Richard Henderson d4f9a0cd36 elf.h (ASM_OUTPUT_DEF): Tidy.
* config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
        (ASM_OUTPUT_DEF_FROM_DECLS): New.

        * gcc.dg/special/alias-2.c: New.
        * gcc.dg/special/ecos.exp: Run it.

From-SVN: r51652
2002-03-31 03:52:09 -08:00
No Author afcea599cb This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51651
2002-03-31 11:52:09 +00:00
Richard Henderson 9c6d6c464c * config/alpha/alpha.md (trap): New.
From-SVN: r51648
2002-03-31 03:09:01 -08:00
Richard Henderson 59c5c992a8 * libgcc2.c (__bb_exit_func): Make static.
From-SVN: r51646
2002-03-31 02:57:53 -08:00
Alexandre Oliva fc3575f783 libgcj.spec.in: Override libgcc, not lib.
* libgcj.spec.in: Override libgcc, not lib.
* libgcj-test.spec.in: Likewise.

From-SVN: r51645
2002-03-31 10:29:15 +00:00
Alexandre Oliva 5400c780c7 gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
(LINK_COMMAND_SPEC): ... from here.
(init_gcc_specs): Duplicate it here too, omitting
shared_name in the second copy.
(init_spec): Test for duplicate
* config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.

From-SVN: r51644
2002-03-31 10:29:00 +00:00
Richard Henderson 3635d947d3 * gcc.dg/va-arg-1.c: Expect warnings, not errors.
From-SVN: r51642
2002-03-31 01:49:26 -08:00
Richard Henderson 35ddbf5091 builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap.
* builtins.c (expand_builtin_va_arg): Give warnings not errors for
        promoted argument types; build trap.
        (expand_builtin_trap): New.
        (expand_builtin): Use it.
        * stmt.c (expand_nl_goto_receivers): Likewise.
        * expr.h (expand_builtin_trap): Declare.
        * libfuncs.h (LTI_abort, abort_libfunc): New.
        * optabs.c (init_optabs): Init abort_libfunc.

        * gcc.dg/va-arg-1.c: Expect warnings, not errors.

From-SVN: r51641
2002-03-31 01:42:10 -08:00
GCC Administrator fbb35f2255 Daily bump.
From-SVN: r51635
2002-03-31 08:16:14 +00:00
David S. Miller 86b46b201b linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
* config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
	* config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.

From-SVN: r51633
2002-03-31 00:00:55 -08:00
Richard Henderson 9a679bf8a0 Fix main return value.
From-SVN: r51631
2002-03-30 23:39:53 -08:00
Kazu Hirata 698d04c71d * gcc.dg/weak-1.c: Disable on h8300 port.
From-SVN: r51630
2002-03-31 06:47:42 +00:00
Roger Sayle cd9b69f1f0 regmove.c (combine_stack_adjustments_for_block): Avoid emitting a stack adjustment of zero bytes.
* regmove.c (combine_stack_adjustments_for_block): Avoid
        emitting a stack adjustment of zero bytes.  Let delete_insn
        update bb->head.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51627
2002-03-30 19:32:41 -08:00
Richard Henderson 78548a3621 sparc.c: Remove all references to TARGET_EPILOGUE.
* config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
        (sparc_emitting_epilogue): New.
        (leaf_label, output_return, sparc_return_peephole_ok): Remove.
        * config/sparc/sparc-protos.h: Update.
        * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
        (TARGET_SWITCHES): Update.
        * config/sparc/sparc.md (return): Remove.
        (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
        * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
        config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
        config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
        config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
        config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
        config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
        Remove MASK_EPILOGUE.
        * doc/invoke.texi: Update.

From-SVN: r51625
2002-03-30 19:10:19 -08:00
Richard Henderson f2749a1c06 re PR c++/3719 (Unable to retrow exception in unexpected exception handler.)
PR c++/3719
        * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
        data out of the exception struct before calling unexpectedHandler.

	* g++.dg/eh/unexpected1.C: New.

From-SVN: r51622
2002-03-30 18:54:08 -08:00
Daniel Berlin 3242948b8f dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the file for us.
2002-03-30  Daniel Berlin  <dan@dberlin.org>

	* dwarf2out.c (dwarf2out_define): Remove start_source_file call,
	CPP will start the file for us.

From-SVN: r51619
2002-03-31 00:32:12 +00:00
Krister Walfridsson db2ba32a16 configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.

libffi:
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* configure.in: Enable i*86-*-netbsdelf*.
	* configure: Rebuilt.

From-SVN: r51618
2002-03-31 00:29:38 +00:00
Krister Walfridsson 8e664ea24f gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386.
2002-03-30  Krister Walfridsson  <cato@df.lth.se>

	* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
        NetBSD/i386.

From-SVN: r51617
2002-03-31 00:16:09 +00:00
Richard Henderson b0a5b507b3 ia64.c (group_barrier_needed_p): Special case prologue_allocate_stack.
* config/ia64/ia64.c (group_barrier_needed_p): Special case
        prologue_allocate_stack.
        (ia64_single_set): Use insn codes for recognition of special
        cases, not rtl matching.
        * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.

	* gcc.c-torture/compile/20020330-1.c: New.

From-SVN: r51614
2002-03-30 16:12:34 -08:00
Richard Henderson 7585fd0428 sparc.h (OVERRIDE_OPTIONS): Don't override -fpic or -fomit-frame-pointer with profiling.
* config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
        or -fomit-frame-pointer with profiling.
        (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        (FUNCTION_PROFILER): Do nothing.
        (PROFILE_HOOK): New.
        * config/sparc/sparc.c (sparc_override_options): Don't check
        code models for profiling.
        (sparc_function_profiler): Remove.
        (sparc_profile_hook): New.
        * config/sparc/sparc-protos.h: Update.

From-SVN: r51609
2002-03-30 12:59:19 -08:00
Richard Henderson ce325321b4 Fix whitespace.
From-SVN: r51607
2002-03-30 12:46:03 -08:00
Jakub Jelinek 2e03b6a3aa re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)
PR optimization/6086
	* combine.c (combine_simplify_rtx): If simplify_rtx failed because
	of SUBREG of volatile MEM or because the MEM was mode dependent,
	return CLOBBER instead of unmodified SUBREG.

From-SVN: r51605
2002-03-30 19:48:06 +01:00
David O'Brien 1ddc71b946 linux.h: Update copyright.
2002-03-30  David O'Brien  <obrien@FreeBSD.org>
	* config/i370/linux.h: Update copyright.

This file has had commits after 1997.

From-SVN: r51601
2002-03-30 10:29:58 +00:00
GCC Administrator 1d942baecc Daily bump.
From-SVN: r51597
2002-03-30 08:16:25 +00:00
Alexandre Oliva 70fc768e2a mips.c (function_arg_pass_by_reference): Force to 0 in o32 and o64 ABIs.
* config/mips/mips.c (function_arg_pass_by_reference): Force to 0
in o32 and o64 ABIs.
* config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
but getting fixed-size structs passed in registers regardless of
padding in o32 and o64 ABIs.

From-SVN: r51596
2002-03-30 08:08:12 +00:00
Bryce McKinlay be7a0f7d3b cp-demangle.c (java_demangle_v3): Don't try to release "demangled" if it is NULL.
* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
	if it is NULL.

From-SVN: r51595
2002-03-30 03:31:31 +00:00
Richard Henderson 552eafe8cf re PR target/5672 ([mn10200] Compiler segmentation fault in static initialiser.)
PR target/5672
        * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.

From-SVN: r51592
2002-03-29 18:15:46 -08:00
Franz Sirl 44d79ac6b4 rs6000.c (rs6000_va_arg): Correctly set register count for aggregate and TFmode types.
2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
	for aggregate and TFmode types.

From-SVN: r51590
2002-03-30 00:55:25 +00:00
Richard Henderson 0bdeb248a4 aix.h (CPP_PREDEFINES): Add -D_LP64.
* config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
        * config/ia64/hpux.h, config/ia64/linux.h: Likewise.

From-SVN: r51587
2002-03-29 15:44:51 -08:00
Loren J. Rittle b8882dcea1 * doc/install.texi (*-*-freebsd*): Fix last commit.
From-SVN: r51585
2002-03-29 23:32:09 +00:00
Richard Henderson 80748e6e80 i386.c (x86_arch_always_fancy_math_387): New.
* config/i386/i386.c (x86_arch_always_fancy_math_387): New.
        (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
        * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
        * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
        conditional.
        * docs/invoke.texi: Update -mno-fancy-math-387 docs.

From-SVN: r51583
2002-03-29 15:21:41 -08:00
Hans Boehm 129a2dda0e linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
	(GC_local_gcj_malloc): Add assertion.
	(start_mark_threads): Fix abort message.
	* mark.c (GC_mark_from): Generalize assertion.
	* reclaim.c (GC_clear_fl_links): New function.
	(GC_start_reclaim): Must clear some freelist links.
	* include/private/specific.h, specific.c: Add assertions.
	Safer definition for INVALID_QTID, quick_thread_id.  Fix/add comments.
	Rearrange tse fields.

From-SVN: r51580
2002-03-29 22:33:35 +00:00
Martin Kahlert 353af37152 parse.y (do_resolve_class): Fix infinite recursion.
2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

	* parse.y (do_resolve_class): Fix infinite recursion.

(http://gcc.gnu.org/ml/java/2002-03/msg00654.html)

From-SVN: r51579
2002-03-29 14:29:52 -08:00
Loren J. Rittle c890269a65 config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
* config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
	* config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
	No functional change except ...
	* config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
	* doc/install.texi (*-*-freebsd*): Document port configuration.

From-SVN: r51577
2002-03-29 22:04:32 +00:00
No Author 3a99d09dd0 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51576
2002-03-29 22:04:32 +00:00
Tom Tromey 09a58fbb51 parse.y (check_inner_circular_reference): Ignore incomplete types.
2002-03-29  Tom Tromey  <tromey@redhat.com>

	* parse.y (check_inner_circular_reference): Ignore incomplete
	types.

(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01987.html)

From-SVN: r51575
2002-03-29 14:03:14 -08:00
No Author 0073520808 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51569
2002-03-29 20:43:09 +00:00
Roger Sayle 530c3394c7 re PR c++/5998 (regression, all builtins disabled)
PR c++/5998:
	* decl.c (cxx_init_decl_processing): Re-enable built-in functions
	in the g++ front-end.
	(duplicate_decl): Allow redefinition of anticipated built-ins.
	Fix inlining problem by over-writing the old DECL_RTL.
	(lookup_namespace_name): Fail to find an identifier in the
	specified namespace if its still anticipated.
	(builtin_function_1): New function split out from builtin_function
	to create a builtin in the current namespace with given context.
	(builtin_function): Call builtin_function_1 to define the
	appropriate builtins in both the std and global namespaces.
	(select_decl): Don't test for anticipated decls here.
	(unqualified_namespace_lookup): Instead ignore them whilst
	searching through scopes and namespaces.
	* decl2.c (do_nonmember_using_decl): If a using declaration
	specifies an anticipated built-in function, mark it as no longer
	anticipated in that scope.
	(ambiguous_decl):  Avoid resolving to an anticipated decl.
	* lex.c (do_scoped_id): Fail to find an identifier in the global
	namespace if its still anticipated.

	* include/c_std/std_cmath.h:  To prevent problems overloading
	g++ builtins, use the double variants from the global namespace
	before defining float and long double variants in std::.

	* g++.old-deja/g++.other/builtins5.C: New test.
	* g++.old-deja/g++.other/builtins6.C: New test.
	* g++.old-deja/g++.other/builtins7.C: New test.
	* g++.old-deja/g++.other/builtins8.C: New test.
	* g++.old-deja/g++.other/builtins9.C: New test.

From-SVN: r51567
2002-03-29 20:31:01 +00:00
Martin Kahlert 61dc0a1585 lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>

	* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.

From-SVN: r51565
2002-03-29 19:31:09 +00:00
Tom Tromey 061768b07d natPlainDatagramSocketImpl.cc (close): New function.
* java/net/natPlainDatagramSocketImpl.cc (close): New function.
	* java/net/natPlainSocketImpl.cc (close): Indentation fix.

From-SVN: r51561
2002-03-29 17:05:56 +00:00
Jakub Jelinek 7ff525b09f re PR c++/5964 (g++ generates code that results in "word displacement will not fit in 16 bits" on sparcv9)
PR c++/5964
	* config/sparc/sparc.md (empty_delay_slot, branch_type): New
	attributes.
	(length): Compute variable length for branches/calls/jumps here.
	(branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
	normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
	define branch_type attribute.
	(divsi3_sp32): Maximum length is 6 not 7.
	(call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
	call_address_untyped_struct_value_sp32,
	call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
	* config/sparc/sparc.c (empty_delay_slot): New function.
	* config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
	* config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.

	* g++.dg/opt/longbranch1.C: New test.

From-SVN: r51556
2002-03-29 09:22:24 +01:00
GCC Administrator 609a5019ac Daily bump.
From-SVN: r51552
2002-03-29 08:16:16 +00:00
Jakub Jelinek 809c04c7fc combine.c (set_nonzero_bits_and_sign_copies): Don't call nonzero_bits if not needed.
* combine.c (set_nonzero_bits_and_sign_copies): Don't call
	nonzero_bits if not needed.
	(nonzero_bits) [XOR]: Likewise.
	(nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
	reg_last_set_mode and mode are both MODE_INT, but not equal.
	(record_value_for_reg): Compute reg_last_set_nonzero_bits
	in nonzero_bits_mode for MODE_INT modes.

From-SVN: r51550
2002-03-29 08:54:15 +01:00
Jakub Jelinek ead65964e0 re PR c++/6073 ([Solaris] Internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2711)
PR c++/6073
	* class.c (finish_struct_1): Update static field's DECL_MODE even
	if its type is a variant of t.

	* g++.dg/opt/static1.C: New test.

From-SVN: r51548
2002-03-29 08:43:10 +01:00
Richard Henderson 9e7bc1319b re PR target/5715 (alpha-OSF - sends incorrect options to as.)
PR target/5715
        * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
        to GAS.  Correct drift between alternatives.

From-SVN: r51546
2002-03-28 23:15:09 -08:00
Loren J. Rittle ba2e0fd6ba * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
From-SVN: r51545
2002-03-29 06:34:45 +00:00
Richard Henderson 9d0320b140 re PR target/6087 (3.1 i86 FP stack pop bug)
PR target/6087
        * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.

From-SVN: r51542
2002-03-28 22:17:00 -08:00
Loren J. Rittle 46c7b09094 freebsd.h (LINK_SPEC): Don't pass default emulation to the linker.
* config/i386/freebsd.h (LINK_SPEC): Don't pass default
	emulation to the linker.
	* config/alpha/freebsd.h (LINK_SPEC): Likewise.
	* config/sparc/freebsd.h (LINK_SPEC): Likewise.

From-SVN: r51541
2002-03-29 05:22:32 +00:00
Tom Tromey 5e351be245 re PR java/5986 (SIGSEGV in __gcj_personality_v0)
* except.c (expand_end_java_handler): If the handler type is NULL,
	use java.lang.Throwable.  Fixes PR java/5986.

From-SVN: r51538
2002-03-29 00:41:17 +00:00
David Billinghurst 7fde267ede re PR other/2620 (Filenames differ only in case)
2002-03-29  David Billinghurst <David.Billinghurst@riotinto.com>

	PR other/2620
	* src/mips/n32.s: Delete
	* src/mips/o32.s: Delete

From-SVN: r51536
2002-03-29 00:35:52 +00:00
Alexandre Petit-Bianco 1df75b77ed re PR java/4715 (Tree check failure in check_inner_circular_reference)
2002-03-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

	Fix for PR java/4715:
	* jcf-parse.c (parse_source_file_3): New function.
	(read_class): Call it.
	(java_parse_file): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01917.html)

From-SVN: r51535
2002-03-28 16:14:00 -08:00
John David Anglin 3830f7ab9a * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
From-SVN: r51533
2002-03-28 23:38:46 +00:00
Jeff Law 31a3dacbfe re PR rtl-optimization/3311 (GCC-SH: gcc loses result of AND operation due to force_to_mode bug)
* combine.c (simplify_and_const_int): Make sure to apply mask
        when force_to_mode returns a constant integer.  PR3311.

From-SVN: r51531
2002-03-28 16:31:23 -07:00
Paolo Carlini 773481c820 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
* testsuite/24_iterators/istream_iterator.cc
	(test02): New tests.

From-SVN: r51528
2002-03-28 20:27:49 +00:00
Gerald Pfeifer 0a3f4b50a8 invoke.texi (Warning Options): Refer to C++ Dialect Options and Objective-C Dialect Options.
* doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
	and Objective-C Dialect Options.

From-SVN: r51524
2002-03-28 19:45:25 +00:00
Ulrich Weigand 0ce724ca02 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
        (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
        fix i_lit_base e_lit_base arrays, making them independent
	from the endianness of the platform; tweak UCS4 to UCS-4BE.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r51522
2002-03-28 19:22:40 +00:00
Richard Henderson 66b43b5310 alpha.c (alpha_emit_conditional_branch): TFmode NE comparison should be done vs !=0 not >0 return code.
* config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
        comparison should be done vs !=0 not >0 return code.  Tidy cases.

From-SVN: r51520
2002-03-28 10:53:38 -08:00
Richard Henderson dc004e43e0 c-decl.c (finish_function): New arg can_defer_p.
* c-decl.c (finish_function): New arg can_defer_p.  Pass it
        on to c_expand_body.
        * c-tree.h (finish_function): Update decl.
        * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.

From-SVN: r51517
2002-03-28 10:49:59 -08:00
Andrew Haley 93cbad8e3c Throw_2.java: New.
2002-03-28  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Throw_2.java: New.
	* libjava.lang/Throw_2.out: New.

From-SVN: r51514
2002-03-28 16:21:56 +00:00
GCC Administrator 7d52105c45 Daily bump.
From-SVN: r51504
2002-03-28 08:16:14 +00:00
Bryce McKinlay 5c6146b8a7 parse.y (resolve_package): Initialize "decl".
* parse.y (resolve_package): Initialize "decl".
	(lookup_package_type): Remove unused function.

From-SVN: r51501
2002-03-28 07:42:50 +00:00
Bryce McKinlay 01a4ee76eb re PR java/5993 (crashes on Hello World)
Fix for PR java/5993:
	* parse.y (resolve_package): Return the decl if resolution was
	successful. Don't special case "java.lang" and "java.lang.reflect"
	packages. Set type_name to the merged identifier.
	(resolved_qualified_expression_name): Print error using "name" if
	resolve_package returns NULL_TREE.

From-SVN: r51498
2002-03-28 04:29:39 +00:00
Benjamin Kosnik 8f899e92f7 ostream.tcc (ostream::operator<<(_CharT)): Always allocate at least a byte.
2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
	allocate at least a byte.

	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
	debugger-friendly.
	* testsuite/27_io/streambuf.cc (test07): Fix.
	(test06): Enable.

From-SVN: r51495
2002-03-28 03:15:29 +00:00
Jeff Sturm 64cd9fccd5 * java/net/PlainDatagramSocketImpl.java
(close): Use native implementation.
	(finalize): New method.

	* java/net/PlainSocketImpl.java (finalize): New method.

	* java/net/natPlainDatagramSocketImpl.cc
	(java/io/FileDescriptor.h): Don't include.
	(close): Implement method here.
	(create): Don't assign fd.

	* java/net/natPlainSocketImpl.cc
	(java/io/FileDescriptor.h): Don't include.
	(create): Don't assign fd.
	(accept): Likewise.
	(close): Synchronize.

From-SVN: r51493
2002-03-28 02:36:51 +00:00
Richard Henderson d041d00d96 instantiate1.C: Use scan-assembler, not link errors.
* g++.dg/ext/instantiate1.C: Use scan-assembler, not link errors.
        * g++.dg/ext/instantiate2.C, g++.dg/ext/instantiate3.C: Likewise;
        move from g++.old-deja/g++.ext/.

From-SVN: r51490
2002-03-27 17:50:36 -08:00
Tom Tromey d5290d1d63 expr.c (expand_invoke): Don't generate null pointer check if we're calling <init>.
* expr.c (expand_invoke): Don't generate null pointer check if
	we're calling <init>.

From-SVN: r51486
2002-03-27 23:11:11 +00:00
Andreas Schwab decfa6a5e9 i386.c (classify_argument): Also check for QUAL_UNION_TYPE.
* config/i386/i386.c (classify_argument): Also check for
	QUAL_UNION_TYPE.

From-SVN: r51485
2002-03-27 23:06:37 +00:00
Rainer Orth a13fa160d9 configure.in (alpha*-dec-osf*): Enable libgcj.
* configure.in (alpha*-dec-osf*): Enable libgcj.

	gcc:
	* doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
	any more.

From-SVN: r51482
2002-03-27 22:49:02 +00:00
Phil Edwards ae76aa0ceb Bulk documentation merge (copy) from trunk.
2002-03-27  Phil Edwards  <pme@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
	docs/html/Makefile, docs/html/17_intro/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
	Merge from trunk.

From-SVN: r51481
2002-03-27 22:38:39 +00:00
Phil Edwards 34f07ac7f0 stl_algo.h: Remove @maint and @endmaint.
2002-03-27  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_algo.h:  Remove @maint and @endmaint.
	* include/bits/stl_alloc.h:  Likewise.
	* include/bits/stl_construct.h:  Likewise.
	* include/bits/stl_deque.h:  Likewise.
	* include/bits/stl_iterator_base_types.h:  Likewise.
	* include/bits/stl_list.h:  Likewise.
	* include/bits/stl_relops.h:  Likewise.
	* include/bits/stl_tempbuf.h:  Likewise.
	* include/bits/stl_vector.h:  Likewise.
	* include/std/std_memory.h:  Likewise.

	* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
	* include/bits/stl_list.h:  Likewise.
	* include/bits/stl_vector.h:  Likewise.

From-SVN: r51474
2002-03-27 21:54:38 +00:00
Zdenek Dvorak dd76916c0f cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly.
* cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
	assigning to BLOCK_FOR_INSN directly.

From-SVN: r51473
2002-03-27 21:53:15 +00:00
Jan Hubicka b9229c5dad * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
From-SVN: r51472
2002-03-27 21:50:33 +00:00
Mark Mitchell c132ed9bc8 re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
PR c++/4884
	* call.c (build_op_delete_call): Allow for the fact the placement
	may be a COMPOUND_EXPR.

	* g++.dg/init/new2.C: New test.

From-SVN: r51465
2002-03-27 19:13:59 +00:00
Richard Henderson 38676fa4a9 toplev.c (rest_of_compilation): Don't compile if we've had errors.
* toplev.c (rest_of_compilation): Don't compile if we've had errors.

        * g++.old-deja/g++.brendan/crash52.C: Remove return warning marker.
        * g++.old-deja/g++.jason/report.C: Likewise.

From-SVN: r51464
2002-03-27 10:49:14 -08:00
Richard Henderson 6b62ba9246 * g++.dg/init/new1.C: Fix size_t.
From-SVN: r51463
2002-03-27 10:40:49 -08:00
Mark Mitchell 44592372ab * dyn-string.c: Add libgcc exception to copyright notice.
From-SVN: r51460
2002-03-27 18:25:32 +00:00
Andrew Haley 975e3fae17 dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>

        * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
        (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
        instead of syscall on IA-64.
        Add FIXME comment.

From-SVN: r51458
2002-03-27 17:06:17 +00:00
Tom Tromey d705c69ab6 TextComponent.java (TextComponent): Editable by default.
2002-03-24  Tom Tromey  <tromey@redhat.com>

	* java/awt/TextComponent.java (TextComponent): Editable by
	default.

	* java/awt/MenuItem.java (eventMask): No longer private.

From-SVN: r51456
2002-03-27 16:40:30 +00:00
Anthony Green 89c2ac2d97 InvokeReturn.java: Modify test for targets which do not yet support reflection.
2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.lang/InvokeReturn.java: Modify test for targets
	which do not yet support reflection.

From-SVN: r51454
2002-03-27 16:30:58 +00:00
Anthony Green d636ddd45d jni.exp (gcj_jni_run): Fix cross build test.
2002-03-27  Anthony Green  <green@redhat.com>

	* libjava.jni/jni.exp (gcj_jni_run): Fix cross build test.

From-SVN: r51452
2002-03-27 16:28:23 +00:00
Anthony Green 09d6dc7a66 libjava.exp: Add the wrapper link options only when we're linking.
2002-03-27  Anthony Green  <green@redhat.com>

	* lib/libjava.exp: Add the wrapper link options only when we're
	linking.

From-SVN: r51450
2002-03-27 16:26:40 +00:00
Richard Henderson 703e57db1c freebsd.h, [...] (LOCAL_LABEL_PREFIX): Define.
* config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
        config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
        config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.

	* gcc.dg/debug/20020327-1.c: New.

From-SVN: r51442
2002-03-27 02:28:17 -08:00
Richard Henderson 0513cc86a2 re PR target/6054 (GCC 3.1 for ia64 fails to restore gp after indirect call in Linux kernel)
PR target/6054
        * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
        TARGET_CONST_GP.  Simplify conditions.

	* gcc.dg/20020326-1.c: New.

From-SVN: r51441
2002-03-27 02:04:22 -08:00
Bryce McKinlay 1003658a76 re PR java/5850 (resolving inherited member variables with same name works poorly)
Fix for PR java/5850:
	* parse.y (lookup_field_wrapper): Call itself recursively for enclosing
	context if nothing was found in the current context.
	* expr.c (lookup_field): Don't look in enclosing contexts.

From-SVN: r51439
2002-03-27 08:39:56 +00:00
GCC Administrator d8b225d777 Daily bump.
From-SVN: r51434
2002-03-27 08:16:37 +00:00
Benjamin Kosnik bec0bb6f1d c/: Guard with _CPP_.
2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>

        * include/c/: Guard with _CPP_.
        * include/c_std/: Same.
        * include/Makefile.am: Fixup install, link routines for null
        c_base_headers_extra scenarios.
        * include/Makefile.in: Regerate.

From-SVN: r51432
2002-03-27 04:49:33 +00:00
Vladimir Makarov 3169973662 pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
* pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.

	* pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
	or __rtems_ is defined.

From-SVN: r51429
2002-03-26 20:54:40 -07:00
Richard Henderson c6374573fc alpha.c (alpha_emit_set_const): Add a REG_EQUAL note if a non-trivial load was emitted.
* config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
        if a non-trivial load was emitted.
        (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
        in high+extra+low case.

From-SVN: r51427
2002-03-26 18:58:25 -08:00
Richard Henderson f90ebaae0e * gcc.dg/pragma-re-2.c: Avoid empty source file warning.
From-SVN: r51425
2002-03-26 18:29:49 -08:00
Richard Henderson 4ba49b4c7b * config.gcc (sparc*-solaris): Use float_format=sparc.
From-SVN: r51423
2002-03-26 18:23:53 -08:00
Richard Henderson 16634471b5 20020312-2.c: Don't test epilogue vs global register on sparc.
* gcc.dg/20020312-2.c: Don't test epilogue vs global register
        on sparc.

From-SVN: r51421
2002-03-26 17:42:58 -08:00
Richard Henderson 846ed37839 20001101-1.c: Add -mcpu=ultrasparc.
* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.
        * gcc.dg/20001102-1.c: Likewise.

From-SVN: r51419
2002-03-26 17:22:23 -08:00
Richard Henderson 1bbd89d6fe sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
* config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
        * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
        * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
        * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
        (WINT_TYPE_SIZE): Fix at 32.

From-SVN: r51417
2002-03-26 17:10:19 -08:00
Richard Henderson 94f2cc46e7 toplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing pad generation.
* toplev.c (rest_of_compilation): Delay emit_initial_value_sets
        until after eh landing pad generation.
        * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
        * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.

From-SVN: r51414
2002-03-26 14:39:31 -08:00
Hans Boehm 3bf4783567 * include/dwarf2-signal.h: Temporarily back out last change.
From-SVN: r51413
2002-03-26 22:35:00 +00:00
Richard Henderson 47d180792a * expr.h (ADD_PARM_SIZE): One more convert for INC.
From-SVN: r51412
2002-03-26 14:21:59 -08:00
Tom Tromey 5a771fabe1 mauve.exp (test_mauve): Use correct stderr redirection code.
* libjava.mauve/mauve.exp (test_mauve): Use correct stderr
	redirection code.

From-SVN: r51404
2002-03-26 20:50:54 +00:00
David Edelsohn e097161b38 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
From-SVN: r51403
2002-03-26 15:16:32 -05:00
Hans Boehm 74b5fab863 linux.h (MD_FALLBACK_FRAME_STATE_FOR): Restore more of the signal context.
* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
	Restore more of the signal context.  Set no_reg_stack_frame.
	* config/ia64/unwind-ia64.c (unw_state_record):
	Add no_reg_stack_frame, comments.
	(uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
	(uw_update_context): Adjust bsp when unwinding from leaf,
	but not signal frame.

From-SVN: r51401
2002-03-26 19:37:13 +00:00
Bob Wilson 747556c85c * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
From-SVN: r51399
2002-03-26 19:25:07 +00:00
Tom Tromey c673d06f2a re PR java/5942 (tree check failure when compiling Classpath with strictfp StrictMath class)
Fix for PR java/5942:
	* parse.y (init_src_parse): Added sanity check.
	* parse.h (struct parser_ctxt) [modifier_ctx]: Array has 12
	elements, not 11.

From-SVN: r51397
2002-03-26 18:52:34 +00:00
Nathan Sidwell a2cbcfe560 re PR c++/5682 (ICE in build_secondary_vtable)
cp:
	PR c++/5682
	* cp-tree.h (BINFO_PRIMARY_P): Explain meaning better.
	(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
	(dfs_skip_nonprimary_vbases_markedp): Remove.
	* search.c (get_shared_vbase_if_not_primary): Remove.
	(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
	(dfs_skip_nonprimary_vbases_markedp): Remove.
	(dfs_unmarked_real_bases_queue_p): Just get the canonical binfo.
	(dfs_marked_real_bases_queue_p): Likewise.
testsuite:
	* g++.dg/abi/vbase9.C: New test.

From-SVN: r51395
2002-03-26 18:36:17 +00:00
No Author 61cca464b7 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51394
2002-03-26 18:36:17 +00:00
Mark Mitchell 6c9d56d4fc re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
PR c++/4884.
	* init.c (build_new_1): Allow for the fact the result of
	build_function_call may be a COMPOUND_EXPR.

	* g++.dg/init/new1.C: New test.

From-SVN: r51393
2002-03-26 18:29:22 +00:00
Richard Earnshaw 1e6fa295f1 re PR target/5621 (ARM compiler aborts with asm "m" constraint)
PR target/5621
* arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
"Add a pool_range attribute", which was lost during the ARM/Thumb
merge.

From-SVN: r51391
2002-03-26 18:02:34 +00:00
Bob Wilson b400db6cd7 xtensa.c (xtensa_valid_move): Allow move from a register into the MAC16 accumulator.
* config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
        a register into the MAC16 accumulator.

From-SVN: r51387
2002-03-26 17:13:29 +00:00
Hartmut Penner 1a5e9b817d s390.c (s390_emit_epilogue): Change epilogue code to not restoring global registers.
* config/s390/s390.c (s390_emit_epilogue): Change epilogue
        code to not restoring global registers.

From-SVN: r51382
2002-03-26 09:24:50 +00:00
Richard Henderson 4c73fe6c28 expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
* expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
        (SUB_PARM_SIZE): Cast DEC to ssizetype.

        * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
        types from the normal argument frame.

From-SVN: r51381
2002-03-26 01:08:32 -08:00
Richard Henderson 77e10ee442 sparc.c (function_arg_pass_by_reference): Pass variable sized objects by reference.
* config/sparc/sparc.c (function_arg_pass_by_reference): Pass
        variable sized objects by reference.
        (sparc_va_arg): Receive them by reference too.

From-SVN: r51377
2002-03-26 00:59:12 -08:00
Richard Henderson 5c0abf3b8e 20020307-2.c (main): Pass a variable sized structure.
* gcc.c-torture/execute/20020307-2.c (main): Pass a variable sized
        structure.

From-SVN: r51375
2002-03-26 00:52:34 -08:00
GCC Administrator 6dc28d18e9 Daily bump.
From-SVN: r51370
2002-03-26 08:16:44 +00:00
Bruce Korb 8af2b14fbe run $(MAKE) check in the fixinc directory when autogen is present
From-SVN: r51368
2002-03-26 06:06:57 +00:00
Andrew Haley 3824da6fdd configure.in, configure: enable dwarf2-exception-style exception handling on IA-64.
* configure.in, configure: enable dwarf2-exception-style
	exception handling on IA-64.
	* include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
	(INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
	Add FIXME comment.

From-SVN: r51366
2002-03-26 03:28:00 +00:00
Tom Tromey 7c25767ebb Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
* Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
	(jv_convert_LDFLAGS): Likewise.
	(gij_LDFLAGS): Likewise.
	(rmic_LDFLAGS): Likewise.
	(rmiregistry_LDFLAGS): Likewise.
	* configure.in (THREADLDFLAGS): New subst; set correctly for
	*BSD.

From-SVN: r51361
2002-03-26 00:53:24 +00:00
Paolo Carlini 7ff3f3c04e 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
Richard Henderson  <rth@redhat.com>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): make sure that the i_lit_base array
	is sufficiently aligned.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51360
2002-03-26 00:39:06 +00:00
Richard Henderson 61fee22b62 recog.c (peephole2_optimize): Distribute EH_REGION -1 notes anywhere in the block.
* recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
        anywhere in the block.  Don't refer to insns that have been
        removed from the chain.  Iterate backward through the new insns.
        Don't refer to edges that have been removed.

From-SVN: r51358
2002-03-25 16:31:40 -08:00
David Billinghurst d1db771802 g++.exp: Fix handling of LD_LIBRARY_PATH et al
* lib/g++.exp:  Fix handling of LD_LIBRARY_PATH et al
	* lib/g77.exp:  Likewise
	* lib/objc.exp: Likewise
	* gcc.dg/weak-1.c:  Early return from dg-final on platforms
	that do not support weak symbols

From-SVN: r51356
2002-03-25 23:49:06 +00:00
Benjamin Kosnik 009377b2c7 ctype_noninline.h (ctype::classic): Set to _ctype_.
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>

        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
        _ctype_.

From-SVN: r51355
2002-03-25 23:39:17 +00:00
Paolo Carlini b639b72367 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/collate_byname.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare; values
	returned by collate::compare are normalized, therefore
	test against +-1.

From-SVN: r51353
2002-03-25 23:32:11 +00:00
Alan Modra 75c56fe03d combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct test for overflow of constant.
* combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
	test for overflow of constant.

From-SVN: r51350
2002-03-26 09:41:30 +10:30
Richard Earnshaw c8d003c104 re PR target/2623 ([ARM/2.95] Wrong code when accessing unsigned short in a structure.)
PR target/2623
* arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
(loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
these patterns on arm_archv4.

From-SVN: r51348
2002-03-25 22:36:39 +00:00
Richard Henderson 97e745b95a 20001013-1.c: Add -mcpu=ultrasparc.
* gcc.dg/20001013-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.

From-SVN: r51346
2002-03-25 14:29:11 -08:00
Tom Tromey cdc09e8f96 For PR libgcj/5303:
* gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
	and --version.
	(help): New method.
	(version): Likewise.
	* gnu/gcj/convert/Convert.java (version): Removed extraneous
	"GNU".
	* gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
	"GNU".

From-SVN: r51344
2002-03-25 22:15:21 +00:00
Paolo Carlini f930fc9cc5 locale-inst.cc (__convert_from_v): Add an additional __size parameter in the declarations.
2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
	    Ulrich Drepper  <drepper@redhat.com>

	* src/locale-inst.cc (__convert_from_v): Add an additional
	__size parameter in the declarations.
	* include/bits/locale_facets.tcc
	(__convert_from_v): When available (that is,
	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
	being defined or not, call and use __convert_from_v in the
	appropriate way.
	(num_put::_M_convert_int): Same here.
	(money_put::do_put(long double)): Same here.

Co-Authored-By: Ulrich Drepper <drepper@redhat.com>

From-SVN: r51341
2002-03-25 21:49:10 +00:00
Benjamin Kosnik c585384d23 [multiple changes]
2002-03-19  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
	* docs/html/faq/index.txt:  Regenerate.

2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/faq/index.html: Add OS X workaround.
	* docs/html/17_intro/TODO: Update.

From-SVN: r51339
2002-03-25 21:07:19 +00:00
Benjamin Kosnik 0a0da12859 [multiple changes]
2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
	signbit and __signbit directly.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* libmath/Makefile.am: Simplify.
	* libmath/Makefile.in: Regenerate.
	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.

	* include/Makefile.am: Clean up handling of extra "C" header files.
	Add hooks for "C" compatibility headers.
	* include/Makefile.in: Regenerate.

	* include/c/*: Formatting tweaks, cleanups.
	* include/c_std/*: Same.

2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Likewise.

2002-03-19  Steve Ellcey  <sje@cup.hp.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
	--enable-libunwind-exceptions is set.
	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
	macro to check for libunwind.
	* configure: Regenerate.
	* src/Makefile.am (libstdc___la_LDFLAGS): Add
	LIBUNWIND_FLAG to libstdc link line.
	* src/Makefile.in: Regenerate.

2002-03-18  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
	* configure.in:  Add comments pointing the way for autoconf 2.5x.
	* aclocal.m4, config.h.in, configure:  Regenerate.

From-SVN: r51338
2002-03-25 21:02:27 +00:00
Richard Henderson e7969749ce 20011119-1.c (xxx): New.
* gcc.c-torture/compile/20011119-1.c (xxx): New.
        * gcc.c-torture/compile/20011119-2.c (xxx): New.

From-SVN: r51335
2002-03-25 12:50:44 -08:00
Benjamin Kosnik 6b7aec015a ChangeLog: Correct typo.
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>

	* ChangeLog: Correct typo.

From-SVN: r51334
2002-03-25 20:32:01 +00:00
Benjamin Kosnik 0adb396d7f [multiple changes]
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>

	* config/locale/gnu/messages_members.h: Correct conditional.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>

	* config/locale/gnu/messages_members.h: Add __uselocale bits.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

From-SVN: r51333
2002-03-25 20:29:16 +00:00
Benjamin Kosnik 3f8823a948 hash_map.h: hash, hashtable, hash_map and hash_multimap are in namespace __gnu_cxx.
2002-03-18  Philipp Thomas  <pthomas@suse.de>

	* include/backward/hash_map.h: hash, hashtable, hash_map and
	hash_multimap are in namespace __gnu_cxx.
	include/backward/hash_set.h: hash, hashtable, hash_set and
	hash_multiset are in namespace __gnu_cxx.
	include/backward/hashtable.h: hash and hashtable are in
	namespace __gnu_cxx.
	include/backward/rope.h: char_producer, sequence_buffer,
	rope, crope and wrope are in namespace __gnu_cxx.
	include/backward/slist.h: slist is in namespace __gnu_cxx.
	* testsuite/backward/header_hash_map_h.cc
	testsuite/backward/header_hash_set_h.cc
	testsuite/backward/header_hashtable_h.cc
	testsuite/backward/header_rope_h.cc
	testsuite/backward/header_slist_h.cc
	testsuite/backward/header_tempbuf_h.cc: New tests for
	checking that we're using the correct namespace.

From-SVN: r51331
2002-03-25 19:56:57 +00:00
Nick Clifton 5c67690ead Fixes for PR bootstrap/3591, target/5676:
* configure.in (mcore-pe): Disable the configuration of
  libstdc++-v3 since exceptions are not supported.

From-SVN: r51330
2002-03-25 19:37:10 +00:00
Mark Wielaard e90decef0d re PR java/5368 (gcj-3.0.3 segfaults with 20 line program)
Fix for PR java/5368:
	* parse.y (resolve_qualified_expression_name): Use decl not field_decl
	when printing error message.

From-SVN: r51328
2002-03-25 19:24:02 +00:00
Jakub Jelinek c443c91d9a re PR target/5676 (mcore-elf libstdc++-v3 does not build on trunk (to-be 3.1))
PR target/5676
	* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
	explicitely.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.
	* configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
	by default to c++ flags.

	* config/mcore/mcore.h (CC1_SPEC): Define only if not already
	defined.  Do not disable exceptions or rtti.
	* config/mcore/mcore-pe.h (CC1_SPEC): Define before including
	mcore.h.  Disable exceptions and rtti, since they are not
	supported by EPOC.

From-SVN: r51325
2002-03-25 20:16:29 +01:00
Jeff Sturm 95ae1c5b35 * linux_threads.c (GC_get_nprocs): Close file descriptor.
From-SVN: r51323
2002-03-25 18:23:36 +00:00
Bob Wilson 2e0e3ef1eb thunk3.C: Add xtensa-*-* to list of targets using generic thunk support.
* g++.old-deja/g++.jason/thunk3.C: Add xtensa-*-* to list of
        targets using generic thunk support.

From-SVN: r51319
2002-03-25 17:55:36 +00:00
Ulrich Weigand 83bf437a4b 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): Fix i_lit_base arrays, making them
	independent from the endianness of the platform.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r51315
2002-03-25 14:34:23 +00:00
Jakub Jelinek 88257731e3 regrename.c (build_def_use): Move recog_memoized before extract_insn.
* regrename.c (build_def_use): Move recog_memoized
	before extract_insn.

From-SVN: r51312
2002-03-25 13:48:25 +01:00
Jakub Jelinek bcfa597e8a re PR target/6043 (IICE on ia64 for Blitz config test for C++ complex math)
PR target/6043
	* expr.c (emit_group_store): Handle storing into CONCAT.

	* g++.dg/opt/conj2.C: New test.

From-SVN: r51310
2002-03-25 12:15:59 +01:00
GCC Administrator a16c292ca3 Daily bump.
From-SVN: r51306
2002-03-25 08:16:38 +00:00
Jakub Jelinek 54f7b9eee5 regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and corresponding MATCH_DUP.
* regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
	corresponding MATCH_DUP.

	* gcc.c-torture/compile/20020323-1.c: New test.

From-SVN: r51304
2002-03-25 08:36:34 +01:00
Jakub Jelinek c2e525ebba re PR c++/6037 (ICE in enum after switch() (gcc 3.0.4))
PR c++/6037
	* decl.c (start_enum): Don't set TREE_ADDRESSABLE on TREE_LIST node.

	* g++.dg/other/enum1.C: New test.

From-SVN: r51303
2002-03-25 08:26:06 +01:00
No Author 56fec4f0e7 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51302
2002-03-25 07:26:06 +00:00
Richard Henderson 0451550d7c * unroll.c (unroll_loop): Zero label_map.
From-SVN: r51299
2002-03-24 18:46:43 -08:00
Richard Henderson cdf3d9cb90 * gcc.c-torture/compile/920625-1.x: XFAIL -O1 too.
From-SVN: r51298
2002-03-24 18:44:52 -08:00
Bryce McKinlay 606796523a Based on patch from Intel's ORP team:
* java/io/PushbackInputStream.java (available): Calculate correct
	number of bytes in buffer.
	(read): Remove redundant bound check. Return bytes from both the
	buffer and the stream.

From-SVN: r51295
2002-03-25 02:28:02 +00:00
Richard Henderson 8598355aa5 gcse.c: Include except.h.
* gcse.c: Include except.h.
        * Makefile.in (gcse.o): Update.

From-SVN: r51294
2002-03-24 18:25:49 -08:00
Bryce McKinlay 8ab498c8b1 PushbackReader.java: Reformat.
* java/io/PushbackReader.java: Reformat.

	* java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
	calculate correct number of bytes skipped.

From-SVN: r51292
2002-03-25 01:59:54 +00:00
Richard Henderson b5b0d53527 varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
* varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
        Do resolve_unique_section before shared data clause.

        * gcc.dg/weak-1.c: Use -fno-common.

From-SVN: r51290
2002-03-24 16:54:29 -08:00
Richard Henderson 3c6f5393f7 * objc/execute/formal_protocol-6.x: New XFAIL.
From-SVN: r51283
2002-03-24 16:16:25 -08:00
Richard Henderson 30be7279ff * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
From-SVN: r51282
2002-03-24 16:14:49 -08:00
Richard Henderson 9de943a2ec recog.c (peephole2_optimize): Split blocks when EH insns are generated in the middle of a block.
* recog.c (peephole2_optimize): Split blocks when EH insns are
        generated in the middle of a block.  Do global life update if
        zapped EH edges.

From-SVN: r51281
2002-03-24 16:05:05 -08:00
Richard Henderson 3e325b826b * mips.c (mips_function_value): Only promote_mode for non-libcalls.
From-SVN: r51275
2002-03-24 13:33:37 -08:00
Mark Wielaard 632dcb12dd [multiple changes]
2002-03-24  Eric Blake  <ebb9@email.byu.edu>

        * java/beans/IntrospectionException.java: Update to 1.4.
        * java/beans/PropertyVetoException.java: Ditto.

2002-03-24  Eric Blake  <ebb9@email.byu.edu>

        * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
        Arrays.equals instead of ArrayHelper.equalsArray.

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: added new static final fields
        introduced in 1.2, lots of other updates remain to be done

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: reformatting

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: default beanInfoSearchPath will
        not include sun.beans.infos given we provide no such package and
        the API doesn't really require it; gnu.java.beans.info is the
        default.

2002-03-24  Mark Wielaard  <mark@klomp.org>

        Thanks to Orp developers
        * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
        switch TRUE and FALSE return values.

From-SVN: r51274
2002-03-24 21:32:22 +00:00
Hans-Peter Nilsson a63e6e010d 20020312-2.c [__MMIX__]: No pic register.
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
	* gcc.c-torture/compile/981006-1.x: Don't use -fpic on cris-*-elf*
	cris-*-aout* mmix-*-*.
	* g++.old-deja/g++.other/local-alloc1.C: Skip on cris-*-elf*
	cris-*-aout* mmix-*-*.
	* g++.dg/debug/debug3.C: Expect warning for unsupported -fpic on
	cris-*-elf* cris-*-aout* and mmix-*-*.
	* gcc.dg/20001009-1.c: Ditto.
	* gcc.dg/20010912-1.c: Ditto.
	* gcc.dg/20020122-4.c: Ditto.
	* gcc.dg/inline-2.c: Ditto.

From-SVN: r51271
2002-03-24 20:44:02 +00:00
Neil Booth f2bffcbab8 * gcc.c (cpp_unique_options): Fix typo in committed patch.
From-SVN: r51269
2002-03-24 18:27:58 +00:00
Neil Booth 29d61f3a18 gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
preprocessor/3951
	* gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
	* cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
	(init_dependency_output): Don't make no_output decision here.

From-SVN: r51268
2002-03-24 17:37:31 +00:00
Stephane Carrez a7c8872bc5 fix changelog 2002-03-24 Stephane Carrez
From-SVN: r51266
2002-03-24 17:20:44 +01:00
Stephane Carrez a52a696295 m68hc11.c (m68hc11_autoinc_compatible_p): New function.
* config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
	(m68hc11_split_move): Call it to see if the source and destination
	operands use the same direction auto inc/dec mode, otherwise make the
	source an offsetable operand and generate an add.

From-SVN: r51265
2002-03-24 17:13:25 +01:00
Stephane Carrez 1b85c8d579 m68hc11.md ("*subsi3_zero_extendhi"): Allow address register for operand 2.
* config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
	register for operand 2.
	("*subsi3_zero_extendqi"): Likewise.
	("*iorhi3_gen"): Do the operation on the upper bits and then lower
	bits so that it is compatible with a pop.
	("*andhi3_gen"): Likewise.
	("xorhi3"): Likewise.

From-SVN: r51263
2002-03-24 17:05:41 +01:00
GCC Administrator 9b0e3cf8ea Daily bump.
From-SVN: r51252
2002-03-24 08:16:20 +00:00
Richard Henderson 3c813ce09b re PR rtl-optimization/5742 (bug with -freg-struct-return and functions returning 1 byte values)
PR optimization/5742
        * machmode.def: Add inner mode field to complex modes.
        * config/mips/mips.c (mips_function_value): Always define.  Add
        new argument to handle libcalls.
        * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
        (FUNCTION_VALUE): Likewise.
        * config/mips/abi64.h (FUNCTION_VALUE): Remove.
        * config/mips/mips-protos.h: Update.

From-SVN: r51251
2002-03-24 00:13:16 -08:00
Richard Henderson 5314ffd366 sparc.c (sparc_emit_floatunsdi): New.
* config/sparc/sparc.c (sparc_emit_floatunsdi): New.
        * config/sparc/sparc-protos.h: Update.
        * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.

From-SVN: r51247
2002-03-23 18:18:51 -08:00
Richard Henderson 2332a245d9 gmon-sol2.c (internal_mcount): Assume either _start or _init begins the text segment.
* config/sparc/gmon-sol2.c (internal_mcount): Assume either
        _start or _init begins the text segment.

From-SVN: r51246
2002-03-23 18:17:32 -08:00
Bruce Korb 732988b851 clean up make check
From-SVN: r51244
2002-03-23 21:33:49 +00:00
Jakub Jelinek ed8c7d88b5 * gcc.dg/pragma-ep-3.c: Fix typo.
From-SVN: r51242
2002-03-23 20:28:30 +01:00
Toon Moene b04a21340d com.c (ffecom_check_size_overflow_): Add a test so that arrays too large for 32-bit byte-offset addressing get caught.
2002-03-23  Toon Moene  <toon@moene.indiv.nluug.nl>

	* com.c (ffecom_check_size_overflow_): Add a test
	so that arrays too large for 32-bit byte-offset
	addressing get caught.
	* news.texi: Document the fixing of this problem.

From-SVN: r51239
2002-03-23 17:15:55 +00:00
Tom Tromey 3a4e662f7b removed extraneous entry
From-SVN: r51237
2002-03-23 16:18:19 +00:00
Tom Tromey 19ace427f7 name-finder.h (_Jv_name_finder::myclose): New method.
* include/name-finder.h (_Jv_name_finder::myclose): New method.
	* name-finder.cc (_Jv_name_finder): Initialize file descriptors.

From-SVN: r51236
2002-03-23 16:17:07 +00:00
Michael Smith 7fdaac3d3b re PR libgcj/6045 (GregorianCalendar: getMinimum() and getMaximum() incorrect for month)
2002-03-23  Michael Smith  <msmith@spinnakernet.com>

	* java/util/GregorianCalendar.java (minimums, maximums): Correct
	MONTH entry.  Fixes PR libgcj/6045.

From-SVN: r51233
2002-03-23 16:12:49 +00:00
Jeff Sturm 48e4beeca8 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
From-SVN: r51231
2002-03-23 15:05:30 +00:00
GCC Administrator 5f7ed64a15 Daily bump.
From-SVN: r51222
2002-03-23 08:16:22 +00:00
Alan Modra bbce4c202e combine.c (simplify_comparison): When widening modes, ignore sign extension on CONST_INTs.
* combine.c (simplify_comparison): When widening modes, ignore
	sign extension on CONST_INTs.

From-SVN: r51218
2002-03-23 12:32:31 +10:30
Tom Tromey c3ed1426e9 expr.c (build_field_ref): Don't build a check if the field is a member of `this'.
2002-03-22  Tom Tromey  <tromey@redhat.com>
            Andrew Haley  <aph@cambridge.redhat.com>

	* expr.c (build_field_ref): Don't build a check if the field is a
	member of `this'.

Co-Authored-By: Andrew Haley <aph@cambridge.redhat.com>

From-SVN: r51212
2002-03-23 01:17:52 +00:00
Bob Wilson f10f409a91 xtensa.c (print_operand): Fix incorrect mode passed to adjust_address.
* config/xtensa/xtensa.c (print_operand): Fix incorrect mode
        passed to adjust_address.  Fix comment formatting.

From-SVN: r51211
2002-03-23 01:13:08 +00:00
Eric Blake 4bad8dcb15 For PR java/6026:
2002-03-22  Eric Blake  <ebb9@email.byu.edu>

	For PR java/6026:
	* libjava.compile/PR6026.java: New file.

From-SVN: r51208
2002-03-23 00:04:30 +00:00
Eric Blake 0e9f8d99c5 re PR java/6026 (float literals in expressions are not properly recognized)
2002-03-21  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/6026:
	* lex.c (java_lex): Fix parsing of consecutive floats.

From-SVN: r51206
2002-03-22 23:59:20 +00:00
Alexandre Oliva a9a04dc095 * g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.
From-SVN: r51205
2002-03-22 23:18:35 +00:00
Jeff Knaggs 22d4bff0a3 typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index into the vtable_entry array regardless of...
* typeck.c (expand_ptrmemfunc_cst): Scale idx down to an index
into the vtable_entry array regardless of
TARGET_PTRMEMFUNC_VBIT_LOCATION.

From-SVN: r51204
2002-03-22 23:17:59 +00:00
Alexandre Oliva f60c9bac0a mips.h (MASK_RETURN_ADDR): Define.
* config/mips/mips.h (MASK_RETURN_ADDR): Define.
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.

From-SVN: r51203
2002-03-22 23:17:09 +00:00
Richard Henderson ab68df1d79 c-pragma.c (maybe_apply_renaming_pragma): New.
* c-pragma.c (maybe_apply_renaming_pragma): New.
        (handle_pragma_redefine_extname, pending_redefine_extname): New.
        (handle_pragma_extern_prefix, pragma_extern_prefix): New.
        (init_pragma): Register them.
        * c-pragma.h (maybe_apply_renaming_pragma): Declare.
        * c-decl.c (finish_decl): Call it.
        * cp/decl.c (cp_finish_decl): Likewise.
        * doc/extend.texi: Document the new pragmas.

        * config/alpha/osf.h (CPP_SUBTARGET_SPEC): Add __EXTERN_PREFIX.
        (HANDLE_PRAGMA_EXTERN_PREFIX): New.

        * config/i386/sol2.h (CPP_PREDEFINES): Add __PRAGMA_REDEFINE_EXTNAME.
        (HANDLE_PRAGMA_REDEFINE_EXTNAME): New.
        * config/sparc/sol2.h: Likewise.

        * g++.dg/other/pragma-re-1.C: New.
        * g++.dg/other/pragma-ep-1.C: New.
        * gcc.dg/pragma-re-1.c, gcc.dg/pragma-re-2.c: New.
        * gcc.dg/pragma-ep-1.c, gcc.dg/pragma-ep-2.c: New.
        * gcc.dg/pragma-ep-3.c: New.

From-SVN: r51199
2002-03-22 14:49:51 -08:00
Bob Wilson 71cc6aeaf0 xtensa-protos.h (non_acc_reg_operand): Remove.
* config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
	(xtensa_valid_move, xtensa_preferred_reload_class): Define.
	* config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
	(xtensa_valid_move, xtensa_preferred_reload_class): Define to
	prevent use of sp as a reload register.
	(xtensa_emit_move_sequence): Use xtensa_valid_move instead of
	non_acc_reg_operand.
	* config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
	(PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
	* config/xtensa/xtensa.md (movsi_internal, movhi_internal,
	movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.

From-SVN: r51198
2002-03-22 22:46:46 +00:00
Jakub Jelinek 0d519550c8 dwarf2-1.C: Move...
* g++.old-deja/g++.other/dwarf2-1.C: Move...
	* g++.dg/debug/debug5.C: ...here.  Convert for dg framework.

From-SVN: r51196
2002-03-22 23:43:24 +01:00
Jakub Jelinek 296d218d15 re PR rtl-optimization/5854 (initialize_uninitialized_subregs() breaks HC11/HC12 port)
PR optimization/5854
	* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
	Shut up warnings.
	(CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
	(EXTRA_CONSTRAINT): Use S for non-push memory operand.
	* config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
	const0 if scratch register was not allocated.
	(m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
	m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
	with GEN_INT (...).
	(m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
	* config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
	with GEN_INT (...) everywhere.  Remove constraints in define_split
	patterns.
	(movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
	require scratch register for setting 0 into regs/non-pushable memory.

From-SVN: r51189
2002-03-22 22:54:44 +01:00
Benjamin Kosnik 1418b681fb vterminate.cc: Format, -fno-exceptions cleanup.
2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>

	* src/vterminate.cc: Format, -fno-exceptions cleanup.

From-SVN: r51187
2002-03-22 20:31:23 +00:00
Alexandre Oliva f8c1c44308 flow.c (calculate_global_regs_live): Clear aux fields of ENTRY and EXIT.
* flow.c (calculate_global_regs_live): Clear aux fields of
ENTRY and EXIT.

From-SVN: r51184
2002-03-22 19:56:57 +00:00
Jakub Jelinek 76e26ef0cf v850.c (v850_reorg): Only call alter_subreg on REG or MEM subregs, pass rtx * instead of rtx to it.
* config/v850/v850.c (v850_reorg): Only call alter_subreg on
	REG or MEM subregs, pass rtx * instead of rtx to it.
	* config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
	rtx * instead of rtx to alter_subreg.
	* config/m32r/m32r.c (gen_split_move_double): Likewise.
	* config/pj/pj.c (pj_output_rval): Likewise.

From-SVN: r51181
2002-03-22 20:25:55 +01:00
Richard Henderson c70f7617a4 re PR target/3177 (Invalid sibcall optimisation on ia64)
PR target/3177
        * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
        (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
        * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
        (ia64_expand_prologue): Look at int_regs, not words, for number
        of incomming int regs.

	* gcc.c-torture/execute/20020321-1.c: New.

From-SVN: r51179
2002-03-22 11:10:21 -08:00
Jan Hubicka df8638793a cfgcleanup.c (outgoing_edges_math): Fix condition; relax frequencies match; avoid match on different loop depths.
* cfgcleanup.c (outgoing_edges_math): Fix condition; relax
	frequencies match; avoid match on different loop depths.
	(try_crossjump_to_bb): Kill tests that no longer brings time
	savings.
	* cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
	updating code.
	(split_edge): Likewise.

From-SVN: r51174
2002-03-22 15:17:35 +00:00
Andrew Haley 6eac0433c9 Thread_Interrupt.java (Looper.calibrate): New.
2002-03-21  Andrew Haley  <aph@redhat.com>

	* libjava.lang/Thread_Interrupt.java (Looper.calibrate): New.
	(yields): New.

From-SVN: r51171
2002-03-22 11:19:49 +00:00
GCC Administrator 2d071f7c59 Daily bump.
From-SVN: r51162
2002-03-22 08:16:21 +00:00
Richard Henderson 5d2205e424 re PR target/5996 (libstdc++ (FILE related) sparc-sun-solaris2.8 bootstrap failure)
PR target/5996
        * fixinc/inclhack.def (solaris_stdio_tag): New.
        * fixinc/fixincl.x: Regenerate.

From-SVN: r51157
2002-03-21 18:20:49 -08:00
Eric Botcazou 9020c59a43 re PR c/5597 ([regression from 2.95.3] Initialization of flexible char array member segfaults)
PR c/5597
        * c-typeck.c (process_init_element): Flag non-static
        initialization of a flexible array member as illegal.

From-SVN: r51155
2002-03-21 17:53:41 -08:00
Alan Modra 8b02caa12d mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
* mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
	* mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
	* Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.

From-SVN: r51154
2002-03-22 11:27:15 +10:30
Alan Modra 1d0f830650 t-linux64: New.
* config/rs6000/t-linux64: New.
	* config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
	t-ppccomm.  Use t-rs6000 and t-linux64.
	(powerpc64-*-gnu* <tmake_file>): Likewise.

From-SVN: r51152
2002-03-22 10:52:02 +10:30
No Author 5aa40b00ae This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r51151
2002-03-22 00:22:02 +00:00
Aldy Hernandez 3a51e31490 tree.c (cp_cannot_inline_tree_fn): Same.
2002-03-21  Aldy Hernandez  <aldyh@redhat.com>

        * tree.c (cp_cannot_inline_tree_fn): Same.

From-SVN: r51148
2002-03-21 23:17:10 +00:00
Aldy Hernandez 5eaa9eaa81 langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check flag_really_no_inline instead of optimize == 0.
2002-03-21  Aldy Hernandez  <aldyh@redhat.com>

        * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
        flag_really_no_inline instead of optimize == 0.

        * c-objc-common.c (c_cannot_inline_tree_fn): Same.

        * cp/tree.c (cp_cannot_inline_tree_fn): Same.

        * flags.h (flag_really_no_inline): New.

        * c-common.c (c_common_post_options): Initialzie
        flag_really_no_inline.

        * toplev.c (flag_really_no_inline): New.

From-SVN: r51145
2002-03-21 23:12:40 +00:00
Jakub Jelinek a388f89b64 avr.md (length): Fix length computation for conditional branches.
* config/avr/avr.md (length): Fix length computation for
	conditional branches.

From-SVN: r51142
2002-03-21 23:14:07 +01:00
Anthony Green 72e5248311 Enable libgcj for xscale-elf
From-SVN: r51140
2002-03-21 20:56:02 +00:00
Tom Tromey 22270c9f59 parse.y (build_access_to_thisn): Stop when FROM is not an inner class.
* parse.y (build_access_to_thisn): Stop when FROM is not an inner
	class.

From-SVN: r51137
2002-03-21 18:56:58 +00:00
Richard Henderson 98d08a5057 rs6000.c (rs6000_select_rtx_section): Put symbolic constants in .data when -fpic.
* config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
        constants in .data when -fpic.

From-SVN: r51135
2002-03-21 10:32:07 -08:00
Tom Tromey f74fb62f76 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
From-SVN: r51133
2002-03-21 18:25:08 +00:00
Gerald Pfeifer 845e83c420 contrib.texi (Contributors): Use GNU/Linux instead of Linux where appropriate.
* doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
	where appropriate.

From-SVN: r51131
2002-03-21 17:22:48 +00:00
Richard Kenner 3307585aba Fix typo
From-SVN: r51126
2002-03-21 10:06:28 -05:00
Richard Kenner e05d0cfa54 * config/ia64/ia64.c (hfa_element_call, case ARRAY_TYPE): Recurse.
From-SVN: r51124
2002-03-21 10:02:24 -05:00
Richard Kenner b42be8e06e * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
From-SVN: r51122
2002-03-21 09:55:49 -05:00
Eric Botcazou 31bedd31b2 re PR c/5354 (function call with two statement expressions yields incorrect result)
PR c/5354
        * c-common.c (c_expand_expr): Preserve result of a statement
        expression if needed.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51120
2002-03-21 01:37:29 -08:00
GCC Administrator 22b2b4e9b7 Daily bump.
From-SVN: r51116
2002-03-21 08:16:21 +00:00
Jakub Jelinek 96e2aa2dcd re PR bootstrap/4195 (mn10200-elf fails building libgcc __ffssi2)
PR bootstrap/4195
	* genrecog.c (maybe_both_true_mode): Remove.
	(maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
	* machmode.def (Pmode): Likewise.

From-SVN: r51114
2002-03-21 08:12:00 +01:00
Bruce Korb 9745fb8ec8 update for new test
From-SVN: r51111
2002-03-21 03:59:06 +00:00
Rainer Orth bc9850d1bd acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Likewise.

From-SVN: r51109
2002-03-21 01:26:44 +00:00
Rainer Orth a7cc4b5caf ia64-1.C: Use [ijkl]_[0-9] as variable names.
* g++.old-deja/g++.eh/ia64-1.C: Use [ijkl]_[0-9] as variable names.
	(A, E): Handle this.

From-SVN: r51107
2002-03-21 01:14:33 +00:00
Rainer Orth 7ede69303a inclhack.def (alpha_assert): Fix assert macro in Tru64 UNIX assert.h.
* fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
	UNIX assert.h.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r51105
2002-03-21 01:07:55 +00:00
Bryce McKinlay 7b134ebfb0 posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set.
* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
	not release_set.
	* sysdep/powerpc/locks.h (write_barrier): New function.
	* sysdep/i386/locks.h (write_barrier): New function.

From-SVN: r51104
2002-03-21 00:34:57 +00:00
Jason Merrill c46dc65da3 prune.exp (prune_gcc_output): Ignore Cygwin warning about ignoring -fpic.
* lib/prune.exp (prune_gcc_output): Ignore Cygwin warning about
        ignoring -fpic.
        * lib/old-dejagnu.exp (old-dejagnu): Also pass compiler output
        through prune_gcc_output.

From-SVN: r51103
2002-03-20 19:30:43 -05:00
Jason Merrill 3309b8405c * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
From-SVN: r51100
2002-03-20 19:24:03 -05:00
Bob Wilson 1880312021 xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a ".literal_position" directive before the constant pool.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
        ".literal_position" directive before the constant pool.

From-SVN: r51094
2002-03-20 22:38:39 +00:00
Gerald Pfeifer 7e18214e33 contrib.texi (Contributors): Update Geoffrey Keating.
* doc/contrib.texi (Contributors): Update Geoffrey Keating.
	Add Craig Rodrigues.
	Add Brad Lucier to testers.

From-SVN: r51093
2002-03-20 22:36:48 +00:00
Jakub Jelinek 0f5ef259af /Comment out/Remove/
From-SVN: r51091
2002-03-20 23:02:46 +01:00
Jakub Jelinek ce76baf33d re PR target/4792 (Internal compiler error building libgcc2 for arc-elf target)
PR target/4792
	* config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
	to if_then_else.
	(movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
	* config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
	instead of insn_extract.

From-SVN: r51089
2002-03-20 23:00:38 +01:00
Jakub Jelinek 55a5b39ffe re PR bootstrap/4192 (fr30-elf does not build - memory exhausted building crtbegin.o)
PR bootstrap/4192
	* config/fr30/fr30.md (jump): Comment out clobber of fixed register.

	* genemit.c (output_added_clobbers_hard_reg_p): Only output return
	stmt if some case has been output.

	* gcc.c-torture/compile/20020320-1.c: New test.

From-SVN: r51087
2002-03-20 22:54:53 +01:00
Jakub Jelinek 356c34a00b re PR c/5972 (produces wrong assembly code when -march=pentiumpro and optimization (e.g. -O2)is on)
PR c/5972
	* config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
	movsfcc_1, movdfcc_1): Add %O2.
	* config/i386/i386.c (print_operand): Handle %ON.
	Print . before float condition codes in Sun as cmov syntax.
	* config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
	* config.gcc (i[34567]86-*-solaris2*): Remove comment which is
	no longer true.

From-SVN: r51085
2002-03-20 22:34:44 +01:00
Paolo Carlini 2b4f40390f locale_facets.tcc (money_put::do_put(long double)): Fix dimensioning of temporary buffers to avoid risk of overruns.
2002-03-20  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/locale_facets.tcc
	(money_put::do_put(long double)): Fix dimensioning of
	temporary buffers to avoid risk of overruns.
	(money_put::do_put(string)): Same for the buffer used to
	add the grouping chars.
	* testsuite/22_locale/money_put_members_char.cc: Add test06.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

	* include/bits/locale_facets.tcc
	(collate::do_transform): Simplify.

From-SVN: r51081
2002-03-20 20:07:54 +00:00
Jason Merrill 2ae0e7fa35 re PR c++/2136 (g++ seems to disregard '::' in '::delete')
PR c++/2136
        * init.c (build_delete): Check access for a member op delete here.
        * decl2.c (delete_sanity): Not here.

From-SVN: r51080
2002-03-20 15:02:26 -05:00
Jakub Jelinek db00e3e4fa mangle11.C was duplicate of mangle3.C
From-SVN: r51076
2002-03-20 19:00:35 +01:00
Jason Merrill 1ff31a726e re PR c++/5118 (c4x-g++ Fails on Templates)
PR c++/5118
        * class.c (get_vfield_name): Use the constructor_name.

From-SVN: r51074
2002-03-20 11:52:07 -05:00
Philip Blundell d2ba9cdaf9 arm.c (arm_output_epilogue): Don't generate separate return instruction if PC was popped.
2002-03-20  Philip Blundell  <pb@nexus.co.uk>

        * config/arm/arm.c (arm_output_epilogue): Don't generate separate
        return instruction if PC was popped.

From-SVN: r51073
2002-03-20 15:06:03 +00:00
Hans-Peter Nilsson e710751a84 mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
	(unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
	("truncdfsf2"): Correct operator is float_truncate, not fix.
	("*truncdfsf2_real"): Ditto.
	("*nonlocal_goto_receiver_expanded"): Fix output template formatting.

	* config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.

From-SVN: r51072
2002-03-20 13:54:57 +00:00
GCC Administrator 571304793c Daily bump.
From-SVN: r51067
2002-03-20 08:16:33 +00:00
Jim Blandy 28125028d6 c-lex.c (cb_file_change): Pass the #inclusion's line number to the start_source_file debug hook...
* c-lex.c (cb_file_change): Pass the #inclusion's line number to
the start_source_file debug hook, not the current line number.

From-SVN: r51065
2002-03-20 05:14:27 +00:00
Jim Blandy ae01ff6aa2 cppmacro.c (cpp_macro_definition): Emit a space after the macro name...
* cppmacro.c (cpp_macro_definition): Emit a space after the macro
name, even if the replacement list contains no tokens, as required
by Dwarf.

From-SVN: r51063
2002-03-20 05:01:20 +00:00
David Edelsohn 759cb3c4d2 rs6000.c (rs6000_override_options): Only warn about -fpic/-fPIC if extra_warnings set.
* config/rs6000/rs6000.c (rs6000_override_options): Only warn
        about -fpic/-fPIC if extra_warnings set.

From-SVN: r51062
2002-03-19 21:40:47 -05:00
Richard Henderson bfc23077d9 flow.c (EH_USES): Provide default.
* flow.c (EH_USES): Provide default.
        (calculate_global_regs_live): Use it for EH edges and noreturn calls.
        * doc/tm.texi (EH_USES): New.

        * config/ia64/ia64.c (ia64_eh_uses): New.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.h (EH_USES): New.

From-SVN: r51058
2002-03-19 18:08:14 -08:00
Alan Modra d82fb1fa54 defaults.h (SUPPORTS_WEAK): Set if ASM_WEAKEN_DECL.
* defaults.h (SUPPORTS_WEAK): Set if ASM_WEAKEN_DECL.
	* varasm.c (assemble_alias): Use ASM_WEAKEN_DECL.
	* doc/tm.texi (ASM_WEAKEN_DECL): Document.
	(ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
	(SUPPORTS_WEAK): Likewise.

From-SVN: r51057
2002-03-20 12:07:25 +10:30
Richard Henderson fba75aa07c re PR java/5879 (throwing exceptions causes SEGV in GCJ-compiled code (Mingw target, SJLJ EH))
PR 5879
        * except.c (current_function_has_exception_handlers): New.
        * except.h: Declare it.
        * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
        Combine tests that disable all sibcalls for the function.

From-SVN: r51055
2002-03-19 17:04:39 -08:00
Richard Henderson 4b0bc48d2e PR 5977, 5991
PR 5977, 5991
        * config/ia64/ia64.c: Revert 2002-03-01 patch.
        * config/ia64/ia64.h (INIT_EXPANDERS): New.

From-SVN: r51053
2002-03-19 15:05:30 -08:00
Olivier Hainque 90158e35b8 varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO for INTEGER_CST.
* varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
	for INTEGER_CST.

From-SVN: r51051
2002-03-19 17:48:03 -05:00
Martin Kahlert 251c13f163 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
* include/jni.h Use correct C comments

From-SVN: r51047
2002-03-19 21:47:03 +00:00
Jason Merrill 77f9437e81 varasm.c (globalize_decl): Get the name from the RTL, not DECL_ASSEMBLER_NAME.
* varasm.c (globalize_decl): Get the name from the RTL, not
        DECL_ASSEMBLER_NAME.

From-SVN: r51044
2002-03-19 16:39:25 -05:00
Jason Merrill 8a5e53c3d8 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
From-SVN: r51042
2002-03-19 16:25:20 -05:00
Dale Johannesen 689f6d25b9 PR optimization/5999, middle-end/5731
PR optimization/5999, middle-end/5731
	* expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
	multiplications by reciprocals.

	* gcc.c-torture/compile/20020319-1.c: New test.

From-SVN: r51040
2002-03-19 22:17:44 +01:00
Bob Wilson 865436117c xtensa.md (adddi3, [...]): Define.
* config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
        subdi_carry): Define.

From-SVN: r51037
2002-03-19 20:13:22 +00:00
Richard Kenner 7c2b24d2d9 sparc.h (CAN_ELMINIATE): Can only eliminate FP in favor of SP if FRAME_POINTER_REQUIRED is false.
* config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
	in favor of SP if FRAME_POINTER_REQUIRED is false.

From-SVN: r51031
2002-03-19 14:24:12 -05:00
GCC Administrator ed482c2aed Daily bump.
From-SVN: r51021
2002-03-19 08:16:29 +00:00
Jakub Jelinek 1747ee342f * gcc.dg/struct-by-value-1.c: New test.
From-SVN: r51020
2002-03-19 09:06:41 +01:00
Jakub Jelinek db8440005b re PR c/5656 (ICE in emit_move_insn, at expr.c:2748, regression from gcc 3.0)
PR c/5656
	* langhooks.h (struct lang_hooks_for_tree_inlining): Add
	convert_parm_for_inlining.
	* c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
	Define.
	* langhooks-def.h: Likewise.
	* objc/objc-lang.c: Likewise.
	* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
	function.
	* tree-inline.c (initialize_inlined_parameters):
	Call convert_parm_for_inlining lang hook if needed.
	* c-typeck.c (c_convert_parm_for_inlining): New function.
	* c-tree.h (c_convert_parm_for_inlining): Add prototype.

	* gcc.c-torture/compile/20020318-1.c: New test.

From-SVN: r51019
2002-03-19 08:56:39 +01:00
Kaveh R. Ghazi 14236a3351 * gcse.c (insert_insn_end_bb): Fix typo in last change.
From-SVN: r51018
2002-03-19 03:58:08 +00:00
Jason Merrill 063b1bc734 add mangling note
From-SVN: r51016
2002-03-18 19:21:55 -05:00
Mark Mitchell ac452485ac calls.c (precompute_arguments): Do not assume that temporaries can be destroyed after expanding the argument.
* calls.c (precompute_arguments): Do not assume that temporaries
	can be destroyed after expanding the argument.
	(expand_call): Likewise.

From-SVN: r51010
2002-03-18 22:21:31 +00:00
Tom Tromey bdc8be60c5 jni.h (JNIIMPORT): New macro.
* include/jni.h (JNIIMPORT): New macro.
	(JNIEXPORT): Likewise.
	(JNICALL): Likewise.

From-SVN: r51008
2002-03-18 21:53:46 +00:00
Tom Tromey 373f953020 jni.exp (gcj_jni_test_one): Find libstdc++ in build tree.
* libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build
	tree.
	(gcj_invoke): Added ld_library_additions argument.

From-SVN: r51005
2002-03-18 21:38:47 +00:00
Neil Booth cfcf582118 * gcc.dg/cpp/wchar-1.c: Fix testcase.
From-SVN: r51003
2002-03-18 20:51:59 +00:00
Eric Botcazou 5f9b6cab30 re PR c++/3882 (gcc 3.0 error referencing a variable in its initializer expression in template code)
PR c++/3882
        * pt.c (tsubst_decl): Move __PRETTY_FUNCTION__ handling...
        (tsubst_expr) [DECL_STMT]: ...here. And substitute the initializer
        only after recording the declaration.

From-SVN: r50998
2002-03-18 15:18:43 -05:00
Ashif Harji 222d65c733 gcc.c (struct compiler default_compilers): Add -no-integrated-cpp flag to invoke an external cpp.
* gcc.c (struct compiler default_compilers): Add
	-no-integrated-cpp flag to invoke an external cpp.
	(struct option_map option_map[]): Likewise.
	* cp/lang-specs.h (compiler default_compilers): Add
	-no-integrated-cpp flag to invoke an external cpp.
	* objc/lang-specs.h (struct compiler default_compilers): Add
	-no-integrated-cpp flag to invoke an external cpp.
	* doc/invoke.texi: Document -no-integrated-cpp flag.

From-SVN: r50997
2002-03-18 20:10:21 +00:00
Stuart Griffith 9519aa8a9e strtod.c (strtod): Increment 8 chars, not 7, when `infinity' seen.
2002-03-18  Stuart Griffith  <Stuart_Griffith@credence.com>

	* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
	seen.

From-SVN: r50993
2002-03-18 19:50:31 +00:00
Jason Merrill 9f9fe19bcc re PR c++/2039 (bad code generated for access to unnamed union in base class)
PR c++/2039
        * init.c (resolve_offset_ref): Hand off to build_component_ref.

From-SVN: r50992
2002-03-18 14:45:27 -05:00
Alexandre Petit-Bianco 65941e3080 re PR java/5876 (jc1 crashes when targeting mingw32)
2002-03-18  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* builtins.c (define_builtin): Do nothing if `type' is null.
	Fixes PR java/5876.

From-SVN: r50989
2002-03-18 19:33:49 +00:00
Alan Modra 2aac7e342a c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
        * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
        .weak for code sym.  Do emit .size for descriptor sym.
        (ASM_DECLARE_FUNCTION_SIZE): Define.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
        (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
        .lglobl unless TARGET_XCOFF.  Formatting fixes.
        (PREDICATE_CODES): Add any_operand and zero_constant.
        (HANDLE_PRAGMA_PACK): Delete.
        * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
        .weak for code sym.
        (HANDLE_PRAGMA_WEAK): Remove.
        (ASM_WEAKEN_LABEL): Remove.
        (COLLECT_EXPORT_LIST): Delete.
        * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
        * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r50987
2002-03-18 14:16:18 -05:00
Bob Wilson 970b15bd62 xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat constant-pool addresses as "mode-dependent".
* config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
        constant-pool addresses as "mode-dependent".

From-SVN: r50983
2002-03-18 18:10:16 +00:00
Jan Hubicka d861b64075 i386.c (override_options): Disallow preferred_stack_boundary to be less than 16 bytes
* i386.c (override_options): Disallow preferred_stack_boundary to be
	less than 16 bytes
	(construct_container): Fix end of array check.
	(ix86_va_start): Force alignemnt to be 16 bytes.

	* linux64.h (MULTILIB_DEFAULTS): Set to "m64".
	(t-linux64): Add multilibing

	* i386.h (PROMOTE_PROTOTYPES): Set to 0 for x86_64.

	* gcse.c (hash_scan_set): Refuse instructions with EH edges.

	* basic-block.h (fixup_abnormal_edges): Declare.
	* reload1.c (fixup_abnormal_edges): Make global.
	* reg-stack.c (convert_regs): Use it.

	* gcse.c (insert_insn_end_bb): Handle trapping insns.

	* reload1.c (reload_cse_delete_noop_set): Purge dead edges.

	* recog.c (peephole2_optimize): Re-distribute EH edges.

From-SVN: r50982
2002-03-18 17:47:23 +00:00
Andrew Haley ff7bcceee5 i386-signal.h (old_i386_kernel_sigaction): New.
2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>

        * include/i386-signal.h (old_i386_kernel_sigaction): New.
        INIT_SEGV: Use old_i386_kernel_sigaction.
        INIT_FP: Likewise.

From-SVN: r50981
2002-03-18 17:26:11 +00:00
Jason Merrill 97f441412f re PR c++/5995 (double call of copy constructor)
PR c++/5995
        * call.c (build_over_call): Fix empty class logic.

From-SVN: r50977
2002-03-18 11:44:10 -05:00
Jason Merrill ea7776b617 re PR c++/4377 (more errors with multiple non-type template parameters)
PR c++/4377
        * mangle.c (write_expression): Strip NOP_EXPRs sooner.  Also strip
        NON_LVALUE_EXPRs.

From-SVN: r50976
2002-03-18 10:37:35 -05:00
Jason Merrill c6507787eb * configure.in: Disable checking by default on release branch.
From-SVN: r50974
2002-03-18 10:06:56 -05:00
Jakub Jelinek 53a14c85a5 re PR target/5740 (sparcv9 ICE on complex_value.cc in libstdc++ test suite)
PR target/5740
	* expr.c (emit_group_load): Use extract_bit_field if
	needed for CONCAT arguments.

	* g++.dg/opt/conj1.C: New test.

From-SVN: r50973
2002-03-18 16:00:52 +01:00
Jason Merrill 488382167d re PR c++/3870 (gcc 3.0 bogus error specializing a template function)
PR c++/3870
        * cp-tree.h (struct saved_scope): Add last_parms field.
        * decl.c (maybe_push_to_top_level): Save last_function_parms.
        (pop_from_top_level): Restore it.

From-SVN: r50971
2002-03-18 09:39:00 -05:00
Richard Earnshaw 4a031dbfa3 re PR target/4863 (arm/thumb: code for switch statements: branch out of range)
PR target/4863
* arm.md (tablejump): Make this a define_expand.  For PIC add the
offset to the base of the table.
(thumb_tablejump): Matcher for Thumb tablejump insn.
* config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
as the difference of two labels.
* config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
tables in the code.
* config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
* arm.c (get_jump_table_size): If the table is not in the text
section, return zero.

From-SVN: r50968
2002-03-18 13:45:33 +00:00
Jason Merrill a975f55099 re PR c++/4003 (ICE on template instantiation including friendship declaration.)
PR c++/4003
        * pt.c (tsubst_friend_function): Use decl_namespace_context.

From-SVN: r50965
2002-03-18 08:24:13 -05:00
Jason Merrill b8e7f3d338 PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
* class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

From-SVN: r50963
2002-03-18 06:33:34 -05:00
Jason Merrill c9e13d157d PR c++/3948 -- C++ ABI change, followup to 2001-12-18 patch.
* class.c (finish_struct_bits): Also set TREE_ADDRESSABLE for a
        type with a nontrivial destructor.

From-SVN: r50961
2002-03-18 06:26:33 -05:00
Bryce McKinlay ad3bf85ab7 jartool.c (expand_options): Handle tar-style argument list with a leading "-".
* jartool.c (expand_options): Handle tar-style argument list with a
	leading "-".

From-SVN: r50958
2002-03-18 11:08:59 +00:00
Bryce McKinlay 67431c64e5 parse.y (parser_check_super_interface): Fix error message grammar/order.
* parse.y (parser_check_super_interface): Fix error message
	grammar/order.

From-SVN: r50954
2002-03-18 10:39:08 +00:00
GCC Administrator 2effc1a3fb Daily bump.
From-SVN: r50947
2002-03-18 08:16:39 +00:00
Bryce McKinlay 4e3a413813 natSystem.cc (init_properties): Update VM version properties.
* java/lang/natSystem.cc (init_properties): Update VM version
	properties.
	* configure.in: Set GCJVERSION.
	* acconfig.h: Add GCJVERSION.
	* configure: Rebuilt.
	* include/config.h.in: Rebuilt.

From-SVN: r50945
2002-03-18 06:30:26 +00:00
Richard Henderson 78eed69a15 alpha.c (alpha_emit_set_const_1): Build add insns explicitly.
* config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
        explicitly.

From-SVN: r50941
2002-03-17 19:03:51 -08:00
Kaveh R. Ghazi a8b17ad4d3 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
From-SVN: r50939
2002-03-18 00:18:41 +00:00
Jason Merrill ce5c652ba3 re PR c++/4381 (Exceptions virtually inherited from a class cause segmentation fault at run time)
PR c++/4381
        * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
        (check_exception_spec): Call it.  Take the thrown pointer.
        (__cxa_call_unexpected): Pass it.
        (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.

From-SVN: r50937
2002-03-17 19:10:25 -05:00
Kaveh R. Ghazi 72201e54c6 * jcf-parse.c (get_constant): Delete unused variables.
From-SVN: r50934
2002-03-18 00:02:46 +00:00
Jason Merrill cd4ae621ae re PR c++/4460 (g++ 3.0.1 seg faults instead of throwing in a complicated inheritance hierarchy)
PR c++/4460
        * class.c (build_base_path): Virtual base layout is fixed in
        in-charge [cd]tors.

From-SVN: r50932
2002-03-17 19:00:58 -05:00
David Edelsohn 1003e0fbad expr.c (expand_expr): Sign-extend CONST_INT generated from TREE_STRING_POINTER.
* expr.c (expand_expr): Sign-extend CONST_INT generated from
        TREE_STRING_POINTER.

From-SVN: r50928
2002-03-17 18:19:51 -05:00
Richard Henderson 4aa47929d5 ia64.c (ia64_attribute_table): Move before targetm definition.
* config/ia64/ia64.c (ia64_attribute_table): Move before
        targetm definition.  Make static.

From-SVN: r50925
2002-03-17 12:39:29 -08:00
Tom Tromey 38413993d7 re PR other/5874 (gcc-3.1 20020304 (prerelease) FAILs in libjava testsuite with RUNTESTFLAGS="--target_board 'unix{-fPIC,-fpic,}'")
* libjava.jni/jni.exp (gcj_jni_build_header): Use local_exec, not
	target_compile.  Fixes PR other/5874.

From-SVN: r50924
2002-03-17 20:35:41 +00:00
Anthony Green 3243420704 Add arm thumb support
From-SVN: r50919
2002-03-17 16:16:58 +00:00
Jason Merrill ebf9096c0b re PR c++/5757 (Throwing exception in constructor, causes segfault during unwind)
PR c++/5757
        * init.c (build_new_1): Pass the right pointer to op delete.

From-SVN: r50918
2002-03-17 08:57:13 -05:00
Jason Merrill 3628840c35 fix comment
From-SVN: r50915
2002-03-17 08:53:14 -05:00
Richard Earnshaw d16bc33e24 * gcc.dg/weak-1.c: Fix scan tests.
From-SVN: r50911
2002-03-17 12:48:34 +00:00
GCC Administrator e59e59e1b4 Daily bump.
From-SVN: r50907
2002-03-17 08:16:16 +00:00
Anthony Green c2e03e9dc4 Makefile.am: Escape quotes in echo.
* Makefile.am: Escape quotes in echo.
	* Makefile.in: Rebuilt.

From-SVN: r50906
2002-03-17 01:07:58 +00:00
Bryce McKinlay d2eb4b463f Makefile.am: Define ffitest_OBJECTS.
* Makefile.am: Define ffitest_OBJECTS.
	* Makefile.in: Rebuilt.

From-SVN: r50903
2002-03-17 01:04:48 +00:00
Bryce McKinlay 3e2972b3a4 Makefile.am: Make target library a convenience library.
zlib:

	* Makefile.am: Make target library a convenience library.
	* Makefile.in: Rebuilt.

libffi:

	* Makefile.am: libfficonvenience -> libffi_convenience.
	* Makefile.in: Rebuilt.

boehm-gc:

	* Makefile.am: Make a convenience library.
	* Makefile.in: Rebuilt.

libjava:

	Build a single libgcj.so, without separate gc and zlib libraries.
	* configure.in: Use convenience libraries for boehm-gc and zlib. Set
	SYS_ZLIBS if system zlib is used.
	* configure: Rebuilt.
	* Makefile.am: Use boehm-gc and zlib convenience libraries.
	* Makefile.in: Rebuilt.
	* libtool-version: Increment .so version number.

From-SVN: r50901
2002-03-17 00:46:00 +00:00
Paolo Carlini 998747d03b 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/collate_members_char.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare.
	(test01): values returned by collate::compare are
	normalized, therefore test against +-1.
	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.

From-SVN: r50895
2002-03-16 23:00:03 +00:00
Bryce McKinlay 84132f363f Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
	* Makefile.in: Rebuilt.

From-SVN: r50894
2002-03-16 21:05:39 +00:00
Bryce McKinlay 186e68ab76 re PR java/5935 (problem with anonymous inner classes)
* parse.y (craft_constructor): Return the constructor decl.
	(java_expand_classes): Update comments.
	(lookup_method_invoke): Call fix_constructors immediately for
	anonymous class. Fixes PR java/5935.

From-SVN: r50890
2002-03-16 20:55:55 +00:00
Alexandre Oliva 9305ff3d74 * ltmain.sh (relink_command): Fix typo in previous change.
From-SVN: r50888
2002-03-16 14:42:43 +00:00
Neil Booth 2544508c9b Forgotten commit.
From-SVN: r50886
2002-03-16 14:32:40 +00:00
Neil Booth a434f64415 cppinit.c (print_help): Display -MD and -MMD.
* cppinit.c (print_help): Display -MD and -MMD.
	Don't display usage string.  Update assertion syntax and
	typo.

From-SVN: r50885
2002-03-16 14:31:14 +00:00
Stephane Carrez 5ea4c0de48 m68hc11.c (m68hc11_override_options): Don't use soft registers by default for 68HC12.
* config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
	soft registers by default for 68HC12.
	(m68hc11_conditional_register_usage): Don't use Z register for 68HC12
	when compiling with -fomit-frame-pointer.
	(expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
	(expand_epilogue): Likewise.
	(m68hc11_gen_rotate): Use exg when rotating by 8.

From-SVN: r50883
2002-03-16 14:07:52 +01:00
Stephane Carrez e4f68af8fb m68hc11-protos.h (ix_reg): Declare.
* config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
	* config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
	(splits): Remove unused add splits.
	("*addhi3_68hc12"): Tune constraints.
	("addhi_sp"): Try to use X instead of Y in all cases and if the
	constant fits in 8-bits and D is dead use abx/aby instructions.
	("*addhi3"): Remove extern declaration of ix_reg.
	("*subsi3"): Optimize and provide new split.
	("subhi3"): Cleanup.
	("*subhi3_sp"): Avoid saving X if we know it is dead.
	(arith splits): For 68hc12 save the address register on the stack
	and do the arithmetic operation with a pop.

From-SVN: r50881
2002-03-16 13:59:21 +01:00
Stephane Carrez 44cc3cf63b m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid allocating QImode in address registers.
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
	allocating QImode in address registers.
	("*movqi_m68hc11"): Likewise.

From-SVN: r50879
2002-03-16 13:46:17 +01:00
GCC Administrator b231364bfa Daily bump.
From-SVN: r50870
2002-03-16 08:17:18 +00:00
Richard Henderson 41175e529b * init.c (build_new_1): Use size_binop instead of cp_build_binary_op.
From-SVN: r50866
2002-03-15 17:25:07 -08:00
Richard Henderson 4735e2e8cb decl.c (finish_function): Reapply accidentally reverted 2002-02-28 patch.
* decl.c (finish_function): Reapply accidentally reverted
        2002-02-28 patch.

From-SVN: r50865
2002-03-15 17:14:27 -08:00
Mark Mitchell 8d4be20877 c-common.c (statement_code_p): Handle CLEANUP_STMT.
* c-common.c (statement_code_p): Handle CLEANUP_STMT.
	* c-common.def (CLEANUP_STMT): New tree node.
	* c-common.h (CLEANUP_DECL): New macro.
	(CLEANUP_EXPR): Likewise.
	* c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
	* tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
	* tree-inline.c (initialize_inlined_parameters): Clean up
	new local variables.

	* cp-tree.h (CLEANUP_DECL): Remove.
	(CLEANUP_EXPR): Likewise.
	* decl.c (destroy_local_var): Simplify.
	(maybe_build_cleanup): Tidy.
	* dump.c (cp_dump_tree): Remove handling of CLEANUP_STMT.
	* semantics.c (cp_expand_stmt): Likewise.
	* cp/tree.c (cp_statement_code_p): Likewise.

	* g++.dg/opt/dtor1.C: New test.

From-SVN: r50864
2002-03-16 01:08:07 +00:00
Richard Henderson e1543dbe92 c-decl.c: Include c-pragma.h.
* c-decl.c: Include c-pragma.h.
        (start_decl, start_function): Invoke maybe_apply_pragma_weak.
        (finish_function): Tidy.
        * c-pragma.c: Include c-common.h.
        (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
        (handle_pragma_weak): Use them.
        (init_pragma): Register pending_weaks.
        * c-pragma.h (maybe_apply_pragma_weak): Declare.
        * print-tree.c (print_node): Print DECL_WEAK.
        * varasm.c (mark_weak_decls): Remove.
        (remove_from_pending_weak_list): Remove.
        (add_weak): Remove.
        (asm_emit_uninitialised): Call globalize_decl for weak commons.
        (weak_decls): Make a tree_list.
        (declare_weak): Cons weak_decls directly.
        (globalize_decl): Remove weak_decls elements directly.
        (weak_finish): Simplify weak_decls walk.  Don't weaken unused
        symbols.  Don't pretend to handle aliases.
        (init_varasm_once): Update weak_decls registry.
        * Makefile.in: Update dependencies.

        * cp/decl.c: Include c-pragma.h.
        (start_decl, start_function): Invoke maybe_apply_pragma_weak.
        * cp/Make-lang.in: Update dependencies.

From-SVN: r50862
2002-03-15 16:59:09 -08:00
No Author 494a1e9594 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50861
2002-03-16 00:59:09 +00:00
Anthony Green 9b98c5cfba Add embedded patch approved Feb 17
From-SVN: r50859
2002-03-16 00:35:42 +00:00
Richard Henderson 9e6e3ccf38 alpha.c (alpha_va_arg): Manipulate the type size as a tree.
* config/alpha/alpha.c (alpha_va_arg): Manipulate the type
        size as a tree.

From-SVN: r50858
2002-03-15 15:14:58 -08:00
Alexandre Oliva 61731a1167 ltmain.sh (taglist): Initialized.
* ltmain.sh (taglist): Initialized.  Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.

From-SVN: r50856
2002-03-15 23:04:33 +00:00
Alexandre Oliva 638cc77aa0 Makefile.am (jv_convert_LDADD): Don't list libraries that are already implicitly brought in from libgcj.la.
* Makefile.am (jv_convert_LDADD): Don't list libraries that are
already implicitly brought in from libgcj.la.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.

From-SVN: r50854
2002-03-15 22:48:13 +00:00
Stephane Carrez 882b3952e2 m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
* config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
	("tstqi" split): Avoid using memory for tstqi on address register.
	(splits): Remove constraints.
	("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
	("cmpdf", "cmpsf"): Remove since not used.
	("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
	(peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.

From-SVN: r50852
2002-03-15 23:37:17 +01:00
Eric Blake 985c764e4e THANKS: Fix punctuation, alphabetization.
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

	* THANKS: Fix punctuation, alphabetization.

From-SVN: r50850
2002-03-15 22:34:40 +00:00
Stephane Carrez 4fd7674ae0 m68hc11.md ("negsi2"): Optimize inline case.
* config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
	("neghi2"): Tighten constraints.
	("one_cmplsi2"): Optimize and simplify split.
	* config/m68hc11/larith.asm (__negsi2): Likewise for library.

From-SVN: r50848
2002-03-15 23:27:27 +01:00
Stephane Carrez 786036e94a m68hc11.md ("logicalsi3_zexthi"): Fix constraints and split of AND operation to clear the upper bits.
* config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
	and split of AND operation to clear the upper bits.
	("*logicalsi3_zextqi"): Likewise.
	("*logicallhi3_zexthi_ashift8"): Likewise.
	("*logicalsi3_silshr16"): Likewise.
	("logicalsi3_silshl16"): Likewise.
	("anddi3", "iordi3", "xordi3" splits): Remove constraints.

From-SVN: r50846
2002-03-15 23:19:05 +01:00
Stephane Carrez 5117962d81 m68hc11.c (m68hc11_symbolic_p): New function.
* config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
	(m68hc11_indirect_p): New function.
	(m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
	(m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
	TARGET_M6812.
	(asm_print_register): Likewise.
	* config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
	(m68hc11_indirect_p): Declare.
	* config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
	(TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
	(TARGET_SWITCHES): New option -mrelax.
	* config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
	destination.
	("iorsi3", "xorsi3"): Likewise.
	("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
	("*andhi3_mem"): New to handle destination in memory with bclr
	and a scratch register.
	("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
	("*andhi3_const"): New when operand2 is constant.
	("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
	("*andhi3_gen"): Cleanup of the old "andhi3".
	("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
	("xorqi3"): Update constraints.

From-SVN: r50844
2002-03-15 23:08:48 +01:00
Stephane Carrez b44e051d9c m68hc11.c (m68hc11_small_indexed_indirect_p): Look for reg_equiv_memory_loc when the operand is a register that does not get...
* config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
	for reg_equiv_memory_loc when the operand is a register that does
	not get a hard register (stack location).
	(tst_operand): After reload, accept all memory operand.
	(symbolic_memory_operand): Fix detection of symbolic references.
	* config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
	accept symbols and any constant.

From-SVN: r50841
2002-03-15 22:58:41 +01:00
Tom Tromey 59ca571e42 re PR libgcj/5944 (Use of uint32_t breaks libgcj bootstrap on Solaris 2.5.1)
2002-03-15  Tom Tromey  <tromey@redhat.com>
	    Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

	Fix for PR libgcj/5944.
	* gnu/gcj/io/shs.h: Define uint8_t and uint32_t.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

From-SVN: r50840
2002-03-15 21:56:03 +00:00
Stephane Carrez 03ca3cab9a m68hc11.c (emit_move_after_reload): Add a REG_INC note on the insn that sets the soft frame register.
* config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
	note on the insn that sets the soft frame register.
	(must_parenthesize): ix and iy are also reserved names.
	(print_operand_address): One more place where parenthesis are required
	to avoid confusion with register names.
	(m68hc11_gen_movhi): Allow push of stack pointer.
	(m68hc11_check_z_replacement): Fix handling of parallel with a
	clobber.
	(m68hc11_z_replacement): Must update the REG_INC notes to tell what
	the replacement register is.
	* config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
	and D8_REGS classes.
	(MODES_TIEABLE_P): All modes are tieable except QImode.

From-SVN: r50838
2002-03-15 22:49:25 +01:00
Stephane Carrez c87e0c15c8 larith.asm (___adddi3): Optimize saving of result.
* config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
	(___subdi3): Likewise.
	(__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
	(__map_data_section): Optimize 68hc11 case.

From-SVN: r50836
2002-03-15 22:38:27 +01:00
Stephane Carrez fc9920be85 m68hc11.c (m6812_cost): Make cost of add higher than a shift to avoid adding a register with itself.
* config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
	than a shift to avoid adding a register with itself.
	(m68hc11_memory_move_cost): Take into account NO_REGS.
	(m68hc11_register_move_cost): Update and use memory move cost
	for soft registers.
	(m68hc11_address_cost): Make cost of valid offset not 0 so that
	it gives more opportunities to cse to optimize.
	* config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
	* config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.

From-SVN: r50834
2002-03-15 22:32:00 +01:00
Tom Tromey c8564b1ba1 Updated THANKS
From-SVN: r50831
2002-03-15 20:51:42 +00:00
Eric Blake fdee5906b8 For PR java/5902:
2002-03-15  Eric Blake  <ebb9@email.byu.edu>

	For PR java/5902:
	* libjava.compile/PR5902.java: Does not need to execute.
	For PR java/5913:
	* libjava.compile/PR5913.java: Ditto.

From-SVN: r50828
2002-03-15 19:16:02 +00:00
Jason Merrill a815983565 varasm.c (globalize_decl): New fn.
* varasm.c (globalize_decl): New fn.
        (assemble_start_function): Use it.
        (asm_emit_uninitialized): Use it.
        (assemble_alias): Use it.
        (assemble_variable): Use it.

From-SVN: r50827
2002-03-15 11:06:12 -08:00
Jason Merrill 4db91e23a4 varasm.c (assemble_variable): Use zeros for a decl with DECL_INITIAL of error_mark_node.
* varasm.c (assemble_variable): Use zeros for a decl with DECL_INITIAL
        of error_mark_node.

From-SVN: r50825
2002-03-15 13:44:50 -05:00
Jakub Jelinek 693af08184 re PR bootstrap/4128 (Bootstrap on solaris2.7 fails compiling libf2c/libF77/l_gt.c)
PR bootstrap/4128
	* config/sparc/sparc.c (gen_v9_scc): Move early clobber test
	before movrXX only, use reg_overlap_mentioned_p.
	Only special case NE if just one insn can be generated.

	* gcc.c-torture/compile/20020315-1.c: New test.

From-SVN: r50823
2002-03-15 19:40:40 +01:00
Jason Merrill a8376d0c05 re PR c++/5857 (C++ duplicate_decls shouldn't use common_type)
PR c++/5857
        * decl.c (duplicate_decls): Use merge_types instead of common_type.
        * typeck.c (common_type): Just hand off to
        type_after_usual_arithmetic_conversions and
        composite_pointer_type.
        (merge_types): New fn.
        (commonparms): Use it instead of common_type.
        (type_after_usual_arithmetic_conversions): Also handle COMPLEX_TYPE.
        (composite_pointer_type): Also handle attributes.
        * cp-tree.h: Declare merge_types.

From-SVN: r50822
2002-03-15 13:33:15 -05:00
Anthony Green 70bf089ac8 Remove useless mingw32 configury
From-SVN: r50818
2002-03-15 18:15:07 +00:00
Anthony Green cfe48017dd configure.in (tool_include_dir): Define.
* configure.in (tool_include_dir): Define.
	* configure: Rebuilt.
	* gcj/Makefile.am: Install libgcj-config.h relative to
	tool_include_dir.
	* gcj/Makefile: Rebuilt.
	* gcj/libgcj-config.h: Add warning comment.

From-SVN: r50813
2002-03-15 16:56:07 +00:00
Anthony Green 78c6eb8d93 misc.c (GC_init_inner): Initialize GC_write_cs before use.
* misc.c (GC_init_inner): Initialize GC_write_cs before use.
	* configure.in: Disable use of getenv for win32 targets (some of
	which have broken implementations).
	* configure: Rebuilt.

From-SVN: r50812
2002-03-15 16:54:58 +00:00
Anthony Green 28e25a0548 jcf-parse.c (yyparse): Don't emit class registration constructor when compiling resource files.
* jcf-parse.c (yyparse): Don't emit class registration
	constructor when compiling resource files.

From-SVN: r50811
2002-03-15 16:54:22 +00:00
Richard Earnshaw 3a81d005f0 re PR target/5712 ([ARM] bad ADR generated)
PR target/5712
* arm.md (movaddr, movaddr_insn): Delete.

From-SVN: r50810
2002-03-15 16:34:16 +00:00
Jason Merrill 838bf7b7cd toplev.c (wrapup_global_declarations): Clarify variable handling.
* toplev.c (wrapup_global_declarations): Clarify variable handling.
        -fkeep-static-consts doesn't apply to comdats.

cp/
        * decl.c (make_rtl_for_nonlocal_decl): Also defer COMDAT
        variables.
        * decl2.c (maybe_make_one_only): Also mark the decl as needed.

From-SVN: r50803
2002-03-15 04:59:19 -05:00
GCC Administrator 98ad95c4fd Daily bump.
From-SVN: r50798
2002-03-15 08:16:15 +00:00
Richard Henderson 3d5b6d4301 re PR target/5312 ([IA64] ICE in itanium_reorder at config/ia64/ia64.c:5917)
PR target/5312
        * config/ia64/ia64.c: Include tm_p.h last.
        (gen_nop_type): Remove duplicate definition.
        (cycle_end_fill_slots): Set sched_data for second L slot.
        (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
        (nop_cycles_until): Fix typos.

	* gcc.dg/20020313-1.c: New.

From-SVN: r50795
2002-03-14 22:43:18 -08:00
Jakub Jelinek 92e592c3d6 re PR c++/5908 (Warning regression wrt. gcc 3.0)
PR c++/5908

From-SVN: r50792
2002-03-15 04:15:35 +01:00
Jakub Jelinek 84a5632aa8 re PR rtl-optimization/5891 (ICE compiling SPEC fp test with -funroll-loops on ia64)
PR optimization/5891
	* unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.

	* g77.dg/pr5891.f: New test.

From-SVN: r50790
2002-03-15 04:04:54 +01:00
David Mosberger 6dfe97c536 unwind-ia64.c: Handle copy_state and label_state descriptors correctly.
* config/ia64/unwind-ia64.c: Handle copy_state and label_state
	  descriptors correctly.

From-SVN: r50788
2002-03-15 01:50:54 +00:00
Zack Weinberg 87d7f3e521 cpphash.h (struct lexer_state): Remove line_extension member.
* cpphash.h (struct lexer_state): Remove line_extension member.
	* cpplib.c (dequote_string, do_linemarker): New functions.
	(linemarker_dir): New data object.
	(DIRECTIVE_TABLE): No longer need to interpret #line in
	preprocessed source.  Delete obsolete comment about return
	values of handlers.
	(end_directive, directive_diagnostics, _cpp_handle_directive):
	Don't muck with line_extension.
	(directive_diagnostics): No need to issue warnings for
	linemarkers here.
	(_cpp_handle_directive): Issue warnings for linemarkers here,
	when appropriate.  Dispatch linemarkers to do_linemarker, not
	do_line.
	(do_line): Code to handle linemarkers split out to do_linemarker.
	Convert escape sequences in filename argument, both places.

	* cppmacro.c (quote_string): Rename cpp_quote_string and
	export.  All callers changed.
	* cpplib.h (cpp_quote_string): Prototype.
	* cppmain.c (print_line): Call cpp_quote_string on to_file
	before printing it.

	* doc/cpp.texi: Document that escapes are now interpreted in
	#line and in linemarkers, and that non-printing characters are
	converted to octal escapes when linemarkers are generated.

From-SVN: r50781
2002-03-14 19:24:59 +00:00
Philipp Thomas 472f8f8f2c fr.po: Update to latest revision.
2002-03-14  Philipp Thomas  <pthomas@suse.de>

        * fr.po: Update to latest revision.

From-SVN: r50776
2002-03-14 16:34:41 +00:00
Richard Earnshaw 3521628ef3 * gcc.c-torture/execute/20020314-1.c: New test.
From-SVN: r50775
2002-03-14 15:51:59 +00:00
No Author 02cd118b8b This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50774
2002-03-14 15:51:59 +00:00
Richard Earnshaw f3dcbc72cd re PR target/5828 (gcc-3.0.4 on arm : floating point registers incorrectly reloaded)
PR target/5828
* arm.c (arm_output_epilogue): Fix floating-point register save
adjustment when using a frame pointer.

Co-Authored-By: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>

From-SVN: r50773
2002-03-14 15:49:15 +00:00
Jakub Jelinek 092ceb06f5 call.c (build_over_call): Set TREE_NO_UNUSED_WARNING too.
* call.c (build_over_call): Set TREE_NO_UNUSED_WARNING too.
	* cvt.c (convert_to_void): Preserve TREE_NO_UNUSED_WARNING.

	* g++.dg/warn/Wunused-1.C: New test.

From-SVN: r50769
2002-03-14 15:19:54 +01:00
Hans-Peter Nilsson 3094a7264a mmix.c: Improve comments.
* config/mmix/mmix.c: Improve comments.
	(mmix_target_asm_function_prologue): Drop variable
	empty_stack_frame.  Don't allocate unused slot above fp.
	(mmix_target_asm_function_epilogue): Mirror prologue changes.
	(mmix_expand_builtin_va_arg): Do all computations on trees.
	* config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
	brace in first column.
	(enum reg_class): Ditto.
	(FIRST_PARM_OFFSET): Now 0.
	(USER_LABEL_PREFIX): Remove #if 0:d definition.
	(LINK_SPEC): Don't defsym __.MMIX.start..text if linking
	relocatably.  Always produce ELF, not mmo if linking relocatably.

From-SVN: r50767
2002-03-14 10:49:36 +00:00
GCC Administrator 71791f5981 Daily bump.
From-SVN: r50758
2002-03-14 08:16:34 +00:00
David Edelsohn 072083caaf rs6000.h (PAD_VARARGS_DOWN): Define.
* config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
        * config/rs6000/rs6000.c (rs6000_va_arg): Use
        std_expand_builtin_va_arg if not ABI_V4.

From-SVN: r50757
2002-03-13 23:47:03 -05:00
Jakub Jelinek 126ccea26e re PR target/5626 (gcc-3.1 on sparcv9 does not generate code for long jumps)
PR target/5626
	* config/sparc/sparc.md (normal_branch, inverted_branch,
	normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
	inverted_fp_branch): Adjust calls to output_cbranch.
	Set length attribute.
	(normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
	output_v9branch.  Set length attribute.
	* config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
	predicates.
	(noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
	(output_cbranch): Likewise.  Handle far branches.
	(output_v9branch): Handle far branches.
	* config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
	Adjust prototypes.
	* config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
	noov_compare64_op predicates.

From-SVN: r50752
2002-03-13 20:45:59 +01:00
Richard Sandiford f846990f0c Fix last commit.
From-SVN: r50748
2002-03-13 17:43:11 +00:00
Richard Sandiford c5b77b5dd3 * g++.dg/abi/mangle6.C: New test.
From-SVN: r50747
2002-03-13 17:23:25 +00:00
No Author 7fc82cc0b3 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50746
2002-03-13 17:23:25 +00:00
Richard Sandiford 36240e8d45 mangle.c (write_builtin_type): Handle 128-bit integers even if they are not a standard integer type.
* mangle.c (write_builtin_type): Handle 128-bit integers even if
	they are not a standard integer type.

From-SVN: r50745
2002-03-13 17:21:40 +00:00
Jason Merrill a5650f2eaa gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr into the function and constify it.
* gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
        into the function and constify it.
        * gthr-dce.h, gthr-solaris.h: Likewise.

From-SVN: r50742
2002-03-13 12:17:05 -05:00
Hans-Peter Nilsson eacbba2665 cris.c (cris_print_operand): Avoid traditional-warning for 0xffffffff.
* config/cris/cris.c (cris_print_operand): Avoid
	traditional-warning for 0xffffffff.
	(cris_expand_builtin_va_arg): Do all computations on trees.

From-SVN: r50737
2002-03-13 14:48:58 +00:00
Ulrich Weigand e035b9fecb expr.c (expand_expr, [...]): Do not call copy_to_reg with VOIDmode operand.
* expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
	VOIDmode operand.  Add compile-time optimization for constant results.

From-SVN: r50733
2002-03-13 12:58:15 +00:00
Hartmut Penner a31cdd3a05 s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code before prologue, to avoid scheduling problems.
* config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
        before prologue, to avoid scheduling problems.

From-SVN: r50732
2002-03-13 11:04:17 +00:00
GCC Administrator 6e83569730 Daily bump.
From-SVN: r50726
2002-03-13 08:16:36 +00:00
Jakub Jelinek e429b25951 sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
* config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
	(ELIMINABLE_REGS): Add sfp->sp.
	(INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.

From-SVN: r50724
2002-03-13 08:53:59 +01:00
Jakub Jelinek 0d7a164505 re PR rtl-optimization/5892 (ICE in gen_nop_type during 2.4.17 ia64 kernel build)
PR optimization/5892
	* config/ia64/ia64.c (rotate_one_bundle): Update current packet.

	* gcc.c-torture/compile/20020312-1.c: New test.

From-SVN: r50722
2002-03-13 08:48:03 +01:00
Jakub Jelinek 1622c07909 loop.c (basic_induction_var): Don't call convert_modes if mode classes are different.
* loop.c (basic_induction_var): Don't call convert_modes if mode
	classes are different.

	* gcc.c-torture/compile/20020309-2.c: New test.

From-SVN: r50720
2002-03-13 08:34:57 +01:00
Benjamin Kosnik bb3e839802 ctype_noninline.h: Cast to unsigned char.
2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
            Per Liboriussen  <liborius@stofanet.dk>

	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
	unsigned char.
	* config/os/gnu-linux/bits/ctype_inline.h: Same.

	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.

	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.

	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.

	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.

Co-Authored-By: Per Liboriussen <liborius@stofanet.dk>

From-SVN: r50719
2002-03-13 06:45:31 +00:00
Benjamin Kosnik f4133cd79f basic_string.tcc (string::_S_construct(_InIter, _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
	that memory limits are in place.
	(test03): Add tests.

From-SVN: r50718
2002-03-13 06:28:21 +00:00
Benjamin Kosnik 3fc5a6b005 [multiple changes]
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/c_std/std_cwctype.h: Guard.

2002-03-11  Chris Demetriou  <cgd@broadcom.com>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r50717
2002-03-13 06:25:50 +00:00
Benjamin Kosnik 6ec9a3310c [multiple changes]
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_bvector.h: Fix warning.

2002-03-11  Richard Henderson  <rth@redhat.com>

	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.

From-SVN: r50716
2002-03-13 06:14:47 +00:00
Richard Henderson ebfd8fa912 re PR target/5901 ([IA64] misplaced .body)
PR optimization/5901
        * function.c (reposition_prologue_and_epilogue_notes): Position
        the markers after/before the last/first insn not deleted.

From-SVN: r50714
2002-03-12 22:05:02 -08:00
Richard Henderson 894acf85d0 re PR rtl-optimization/5878 (gcc 3.1 breaks on C code generated by the Mercury compiler)
PR 5878
        * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
        config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
        (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.

        * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
        config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
        PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.

        * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
        * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
        (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
        also.  Don't set it if not flag_pic.
        * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
        to be INVALID_REGNUM when not used.

	* gcc.dg/20020312-2.c: New.

From-SVN: r50712
2002-03-12 21:36:04 -08:00
Loren J. Rittle d05e65df7b reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.

From-SVN: r50710
2002-03-13 02:55:56 +00:00
Aldy Hernandez 5d26a648e1 expmed.c (store_bit_field): Reset alias set for memory.
2002-03-13  Aldy Hernandez  <aldyh@redhat.com>

        * expmed.c (store_bit_field): Reset alias set for memory.
        (extract_bit_field): Same.

From-SVN: r50707
2002-03-13 02:05:27 +00:00
Chris Meyer acefaf0582 genflags.c (gen_insn): Use IS_VSPACE.
* genflags.c (gen_insn): Use IS_VSPACE.
        * genoutput.c (output_insn_data): Likewise.
        (process_template): Likewise.

From-SVN: r50703
2002-03-12 17:25:07 -08:00
Richard Henderson bb28f28201 Makefile.in (NOTPARALLEL): New.
* Makefile.in (NOTPARALLEL): New.  Use it instead of explicit
        .NOTPARALLEL tag.
        (do-check): Rename from check.
        (check): Allow parallel check.

From-SVN: r50702
2002-03-12 17:18:31 -08:00
Richard Henderson 520c4def86 Fix typo in comment.
From-SVN: r50701
2002-03-12 17:17:55 -08:00
Nathan Sidwell 8bc302bdd0 re PR c++/5659 (default access for class/struct bug)
cp:
	PR c++/5659
	* decl.c (xref_tag): Don't set CLASSTYPE_DECLARED_CLASS here.
	* decl2.c (handle_class_head): Set CLASSTYPE_DECLARED_CLASS for
	definitions.
testsuite:
	* g++.dg/other/access1.C: New test.

From-SVN: r50698
2002-03-12 23:38:44 +00:00
No Author e37c338f98 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50697
2002-03-12 23:38:44 +00:00
Tom Tromey aa23353c62 re PR java/5923 (gcj -C generates incorrect bytecode)
* jcf-parse.c (get_constant) [CONSTANT_String]: String values are
	UTF-8, not UCS-2.  Fixes PR java/5923.

From-SVN: r50696
2002-03-12 23:38:31 +00:00
Bob Wilson de59e8e0fb xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of change_address to avoid clobbering memory attributes.
* config/xtensa/xtensa.c (xtensa_expand_block_move): Use
        validize_mem() instead of change_address to avoid clobbering
        memory attributes.

From-SVN: r50694
2002-03-12 23:34:58 +00:00
Andreas Tobler 87ac37ca85 configure.host (powerpc*-darwin*): Enable interpreter.
2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>

	* configure.host (powerpc*-darwin*): Enable interpreter.

From-SVN: r50690
2002-03-12 22:39:54 +00:00
Andreas Tobler 0ad3939241 Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
2002-03-07  Andreas Tobler  <toa@pop.agri.ch>
	    David Edelsohn  <edelsohn@gnu.org>

	* Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
	(TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
	(TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
	* Makefile.in: Regenerate.
	* include/ffi.h.in: Add AIX and Darwin closure definitions.
	* src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
	(flush_icache, flush_range): New functions.
	(ffi_closure_helper_DARWIN): New function.
	* src/powerpc/aix_closure.S: New file.
	* src/powerpc/darwin_closure.S: New file.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r50688
2002-03-12 22:35:56 +00:00
Jakub Jelinek 55cd1c9fee c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
* c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
	(lex_string): Use unsigned char pointers.

	* gcc.c-torture/execute/wchar_t-1.c: New test.

From-SVN: r50687
2002-03-12 23:33:43 +01:00
David Edelsohn 9cd7daff23 20020103-1.c: Add rs6000 target and macro.
* gcc.dg/20020103-1.c: Add rs6000 target and macro.
	* gcc.dg/20020103-1.c: Add other -D ppc variants.

From-SVN: r50685
2002-03-12 17:22:56 -05:00
Ulrich Weigand 3c22a22d8c reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent is not a valid memory_operand.
* reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
	is not a valid memory_operand.

From-SVN: r50682
2002-03-12 21:04:12 +00:00
Mark Mitchell a5e5b67382 cp-demangle.c: Add libgcc exception to cp-demangle.c copyright notice.
* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
	notice.

From-SVN: r50680
2002-03-12 20:42:36 +00:00
Bob Wilson fa8bcfde1a xtensa-config.h: Define XCHAL_HAVE_LOOPS.
* config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
        * config/xtensa/lib1funcs.asm: Fix copyright to include
        special case for libgcc files.
        (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
        (__divsi3): Likewise.
        (__umodsi3): Likewise.
        (__modsi3): Likewise.
        * config/xtensa/lib2funcs.S: Fix copyright to include
        special case for libgcc files.

From-SVN: r50678
2002-03-12 20:06:55 +00:00
Tom Tromey dd8b35c272 Test for PR java/5848:
* libjava.compile/PR5848.xfail: New file.
	* libjava.compile/PR5848.java: New file.

From-SVN: r50676
2002-03-12 19:53:35 +00:00
No Author efdcc527fb This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50675
2002-03-12 19:53:35 +00:00
Michael Matz 74ba91a147 rs6000.md (ne0+4): Add extra CLOBBER.
* config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
        (ne0+5): Use new clobber to generate proper shift pattern.

From-SVN: r50673
2002-03-12 19:29:57 +00:00
Bob Wilson 50294d402a * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
From-SVN: r50668
2002-03-12 18:44:25 +00:00
Bob Wilson 8aff1bfa3f xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch to function_section before writing out the constant pool.
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
        to function_section before writing out the constant pool.

From-SVN: r50667
2002-03-12 18:42:56 +00:00
Bob Wilson 7349ea9b87 MAINTAINERS: Add myself as maintainer for xtensa port.
* MAINTAINERS: Add myself as maintainer for xtensa port.
        Fix alphabetical order in CPU port maintainer list.
        Remove myself from Write After Approval list.

From-SVN: r50666
2002-03-12 18:41:00 +00:00
Adam Megacz 689a239501 dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
2002-03-12  Adam Megacz  <adam@xwt.org>

        * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
        * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
        * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
        statically initialized it to TRUE if compiling with GCC.
        * win32_threads.c (thread_start): We no longer use SEH if
        compiling with GCC.
        * mark.c (GC_mark_some): We no longer use SEH if
        compiling with GCC.

From-SVN: r50664
2002-03-12 18:31:12 +00:00
Tom Tromey c0ad388d8f re PR java/5848 (gcj "crashes" on syntax with complex cast)
* parse.y (qualify_ambiguous_name): Handle case where QUAL_WFL is
	a call_expr wrapped in a convert.  Fixes PR java/5848.

From-SVN: r50661
2002-03-12 18:07:32 +00:00
Zack Weinberg 5f67af735f texi2pod.pl: Handle @include, @ftable, @vtable.
* contrib/texi2pod.pl: Handle @include, @ftable, @vtable.
	Reformat some code for clarity.
	* gcc/Makefile.in: Give texi2pod its input file as a command
	line argument, not on stdin.

From-SVN: r50660
2002-03-12 18:03:08 +00:00
Kazu Hirata 1f8dcf539b * gcc.c-torture/execute/20020307-1.c: Use long.
From-SVN: r50657
2002-03-12 16:02:08 +00:00
Andrew MacLeod 4745594baf sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in address calculation.
2002-03-12  Andrew MacLeod  <amacleod@redhat.com>

        * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
        address calculation.

From-SVN: r50655
2002-03-12 15:21:26 +00:00
Ulrich Weigand c45ba5b2a9 s390.md (reload_insi, [...]): Change mode of scratch register to DImode / TImode.
* config/s390/s390.md (reload_insi, reload_indi): Change mode of
	scratch register to DImode / TImode.
	config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
	register used does not overlap the target.

From-SVN: r50653
2002-03-12 14:35:39 +00:00
Bryce McKinlay ae13785a63 * jcf-write.c (write_classfile): Improve error strings.
From-SVN: r50651
2002-03-12 10:33:57 +00:00
GCC Administrator 9da049c77d Daily bump.
From-SVN: r50645
2002-03-12 08:17:08 +00:00
Roger Sayle 12198365a4 * gcc.dg/20020312-1.c: New test case.
From-SVN: r50643
2002-03-12 08:55:05 +01:00
Roger Sayle 652364e9ff This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50642
2002-03-12 07:55:05 +00:00
Eric Blake a52c159e9c re PR java/5913 (Core dump for String constant instanceof)
2002-03-12  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5913.java: Expand test.

From-SVN: r50639
2002-03-12 07:42:34 +00:00
Eric Blake 3096a32e0f re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5902.java: New file.
	* libjava.compile/PR5913.java: New file.
	* libjava.compile/PR5913.xfail: New file.

From-SVN: r50636
2002-03-12 07:20:43 +00:00
Eric Blake 51812f2a24 lex.c: Adjust comments to GNU standards.
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* lex.c: Adjust comments to GNU standards.

From-SVN: r50632
2002-03-12 03:50:39 +00:00
Eric Blake 51b641edea re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/5902:
	* lex.c (java_lex): Fix parsing of literals.

From-SVN: r50631
2002-03-12 03:48:53 +00:00
Richard Henderson 4994ccd855 * Makefile.in (.NOTPARALLEL): Add fake tag.
From-SVN: r50620
2002-03-11 16:47:09 -08:00
Paolo Carlini c540620ceb locale_facets.tcc (collate::do_transform): Rewrite to fix problems with long transformed strings.
2002-03-11  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (collate::do_transform):
        Rewrite to fix problems with long transformed strings.

        * include/bits/locale_facets.tcc (time_put::do_put):
	Consider sizeof(char_type) in allocating the buffer.

From-SVN: r50617
2002-03-11 22:55:24 +00:00
Tom Tromey 1875228965 backport: ChangeLog.gcj: Imported 1.1.4, while preserving local changes.
Merged from trunk:
	* ChangeLog.gcj: Imported 1.1.4, while preserving local changes.

From-SVN: r50614
2002-03-11 22:18:23 +00:00
No Author 8756e2772b This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50613
2002-03-11 22:18:23 +00:00
Richard Henderson 4bbf9bb653 Mark change for PR 5693.
From-SVN: r50611
2002-03-11 14:10:26 -08:00
Benjamin Kosnik fc1b1a6638 c_locale_generic.cc: Move to...
2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* c_locale_generic.cc: Move to...
	* generic/c_locale.cc
	* c_locale_generic.h: Move to...
	* generic/c_locale.h
	* codecvt_specializations_generic.h: Move to...
	* generic/codecvt_specializations.h
	* collate_members_generic.cc: Move to...
	* generic/collate_members.cc
	* ctype_members_generic.cc: Move to...
	* generic/ctype_members.cc
	* messages_members_generic.cc: Move to...
	* generic/messages_members.cc
	* messages_members_generic.h: Move to...
	* generic/messages_members.h
	* moneypunct_members_generic.cc: Move to...
	* generic/monetary_members.cc
	* numpunct_members_generic.cc: Move to...
	* generic/numeric_members.cc
	* time_members_generic.cc: Move to...
	* generic/time_members.cc
	* c_locale_gnu.cc: Move to...
	* gnu/c_locale.cc
	* c_locale_gnu.h: Move to...
	* gnu/c_locale.h
	* collate_members_gnu.cc: Move to...
	* gnu/collate_members.cc
	* ctype_members_gnu.cc: Move to...
	* gnu/ctype_members.cc
	* messages_members_gnu.cc: Move to...
	* gnu/messages_members.cc
	* messages_members_gnu.h: Move to...
	* gnu/messages_members.h
	* moneypunct_members_gnu.cc: Move to...
	* gnu/monetary_members.cc
	* numpunct_members_gnu.cc: Move to...
	* gnu/numeric_members.cc
	* time_members_gnu.cc: Move to...
	* gnu/time_members.cc
	* c_locale_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/c_locale.cc
	* c_locale_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/c_locale.h
	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/codecvt_specializations.h
	* messages_members_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/messages_members.cc
	* messages_members_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/messages_members.h

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Change to monetary and numeric.
	* src/Makefile.in: Regenerate.
	* docs/html/configopts.html: Update to ieee_1003.1-2001.

From-SVN: r50603
2002-03-11 21:42:30 +00:00
Neil Booth b7cd18196b * Makefile.in (cpp.1, gcc.1): Add new dependencies.
From-SVN: r50601
2002-03-11 21:22:26 +00:00
Benjamin Kosnik 7e7f0b1bb4 c_locale_generic.cc: Move to...
2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* c_locale_generic.cc: Move to...
	* generic/c_locale.cc
	* c_locale_generic.h: Move to...
	* generic/c_locale.h
	* codecvt_specializations_generic.h: Move to...
	* generic/codecvt_specializations.h
	* collate_members_generic.cc: Move to...
	* generic/collate_members.cc
	* ctype_members_generic.cc: Move to...
	* generic/ctype_members.cc
	* messages_members_generic.cc: Move to...
	* generic/messages_members.cc
	* messages_members_generic.h: Move to...
	* generic/messages_members.h
	* moneypunct_members_generic.cc: Move to...
	* generic/monetary_members.cc
	* numpunct_members_generic.cc: Move to...
	* generic/numeric_members.cc
	* time_members_generic.cc: Move to...
	* generic/time_members.cc
	* c_locale_gnu.cc: Move to...
	* gnu/c_locale.cc
	* c_locale_gnu.h: Move to...
	* gnu/c_locale.h
	* collate_members_gnu.cc: Move to...
	* gnu/collate_members.cc
	* ctype_members_gnu.cc: Move to...
	* gnu/ctype_members.cc
	* messages_members_gnu.cc: Move to...
	* gnu/messages_members.cc
	* messages_members_gnu.h: Move to...
	* gnu/messages_members.h
	* moneypunct_members_gnu.cc: Move to...
	* gnu/monetary_members.cc
	* numpunct_members_gnu.cc: Move to...
	* gnu/numeric_members.cc
	* time_members_gnu.cc: Move to...
	* gnu/time_members.cc
	* c_locale_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/c_locale.cc
	* c_locale_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/c_locale.h
	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/codecvt_specializations.h
	* messages_members_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/messages_members.cc
	* messages_members_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/messages_members.h

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Change to monetary and numeric.
	* src/Makefile.in: Regenerate.
	* docs/html/configopts.html: Update to ieee_1003.1-2001.

From-SVN: r50600
2002-03-11 21:13:02 +00:00
Nathan Sidwell d5790b6d87 Revert 2001-03-26 Nathan Sidwell <nathan@codesourcery.com>, DR209 is now not a defect.
cp:
	Revert 2001-03-26  Nathan Sidwell  <nathan@codesourcery.com>,
	DR209 is now not a defect.
	* cp-tree.h (skip_type_access_control): Remove.
	* decl.c (grokdeclarator): Do type access control for friend
	declarations.
	* semantics.c (decl_type_access_control): Don't reset
	current_type_lookups.
	(save_type_access_control): Always save the lookups.
	(skip_type_access_control): Remove.
	(finish_class_definition): Don't change type_lookups.
testsuite:
	* testsuite/g++.old-deja/g++.other/friend9.C: Revert DR 209 changes.
	* testsuite/g++.old-deja/g++.robertl/eb56.C: Likewise.

From-SVN: r50596
2002-03-11 20:55:00 +00:00
Nathan Sidwell cc03963664 Revert 2000-12-01 Nathan Sidwell <nathan@codesourcery.com>, It is incorrect.
cp:
	Revert 2000-12-01  Nathan Sidwell  <nathan@codesourcery.com>,
	It is incorrect.
	* typeck.c (build_static_cast): Compare non-qualified types
	with pointer to member conversions.
testsuite:
	* testsuite/g++.dg/overload/pmf1.C: New test.

From-SVN: r50594
2002-03-11 20:44:29 +00:00
No Author f680e7ebf1 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50593
2002-03-11 20:44:29 +00:00
Scott Snyder c5c07ef813 locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
2002-03-08  scott snyder  <snyder@fnal.gov>

	libstdc++/5875
	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
	Allow one more digit of precision.
	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
	write a double and read back in the same value.

From-SVN: r50590
2002-03-11 20:08:38 +00:00
Neil Booth c73661a3dc Makefile.in: Update.
* Makefile.in: Update.
doc:
	* cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
	Update documentation.
	* gcc.texi: Include cppopts.texi and cppenv.texi.
	* cpp.texi: Include cppopts.texi and cppenv.texi.

From-SVN: r50589
2002-03-11 19:59:58 +00:00
Ulrich Weigand a8bf23569b * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
From-SVN: r50585
2002-03-11 13:59:06 +00:00
Douglas B Rupp 9bf5e7cc23 * toplev.c (vms_fopen): Remove, not needed.
From-SVN: r50583
2002-03-11 08:26:36 -05:00
Douglas B Rupp 79ba64d767 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
From-SVN: r50581
2002-03-11 08:19:14 -05:00
Douglas B Rupp d58a5bc941 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
From-SVN: r50579
2002-03-11 08:13:25 -05:00
Douglas B Rupp 966ac58971 alpha.c (alpha_sa_size, VMS): Don't reserve space for FP, already done later.
* config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
	for FP, already done later.

From-SVN: r50576
2002-03-11 08:08:25 -05:00
Douglas B Rupp 285e080755 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
From-SVN: r50574
2002-03-11 07:46:54 -05:00
Douglas B Rupp 9a24e49a5a toplev.c (debug_args): Add entry for VMS_DEBUG.
* toplev.c (debug_args): Add entry for VMS_DEBUG.
	* vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.

From-SVN: r50572
2002-03-11 07:41:02 -05:00
Bryce McKinlay ab082c3364 parse.y (patch_assignment): Wrap the right-hand-side with a save_expr to prevent it getting evaluated twice...
* parse.y (patch_assignment): Wrap the right-hand-side with a save_expr
	to prevent it getting evaluated twice in the store checking case.
	* expr.c (build_java_arraystore_check): Unwrap SAVE_EXPR's when
	examining OBJECT.

From-SVN: r50571
2002-03-11 11:25:49 +00:00
Jakub Jelinek 29fd41c87e re PR rtl-optimization/5844 (Bad code generated for -O2 -mcpu=i586)
PR optimization/5844
	* gcc.dg/20020310-1.c: New test.

From-SVN: r50565
2002-03-11 11:02:51 +01:00
GCC Administrator 93496db7a8 Daily bump.
From-SVN: r50561
2002-03-11 08:16:19 +00:00
Bryce McKinlay f07b54ceb5 * include/posix.h: Add multiple include header protection.
From-SVN: r50560
2002-03-11 04:22:41 +00:00
Adam Megacz c025d051a3 natPlainSocketImpl.cc: Removed #include "posix.h".
2002-03-10  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Removed #include "posix.h".

From-SVN: r50558
2002-03-11 03:43:56 +00:00
Hans-Peter Nilsson 784bef3dd9 * gcc.c-torture/execute/20020227-1.c: New test.
From-SVN: r50557
2002-03-11 02:07:50 +00:00
Adam Megacz 413a6730fc natPlainSocketImpl.cc: Added #include <platform.h>.
2002-03-10  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.

From-SVN: r50555
2002-03-11 01:30:45 +00:00
Richard Henderson e88c529ee4 reload.c (copy_replacements_1): New.
* reload.c (copy_replacements_1): New.
        (copy_replacements): Use it to recurse through the rtx.

From-SVN: r50554
2002-03-10 15:52:00 -08:00
Richard Henderson 1ef4956d35 sched-rgn.c (add_branch_dependences): Don't allow insns that throw to move away from the end of the block.
* sched-rgn.c (add_branch_dependences): Don't allow insns that throw
        to move away from the end of the block.

From-SVN: r50549
2002-03-10 15:40:44 -08:00
Neil Booth 4a58ee54e7 re PR preprocessor/5899 (-M disables -dM)
PR preprocessor/5899
	* cppinit.c (init_dependency_output): Don't ignore -dM etc.

From-SVN: r50546
2002-03-10 21:33:42 +00:00
Anthony Green 05c7a16498 Fix mingw cross builds
From-SVN: r50540
2002-03-10 19:25:08 +00:00
Tom Tromey 48ddaff99e Win32Process.java: Added comment.
* java/lang/Win32Process.java: Added comment.
	* include/posix.h (_Jv_platform_close_on_exec): New function.
	Include fcntl.h.
	* include/win32.h (_Jv_platform_close_on_exec): New function.
	* java/net/natPlainSocketImpl.cc (create): Set close-on-exec
	flag.
	(accept): Likewise.
	* java/net/natPlainDatagramSocketImpl.cc (create): Set
	close-on-exec flag.
	* java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
	flag.

From-SVN: r50537
2002-03-10 18:00:06 +00:00
Kaveh R. Ghazi aa7fc667da * combine.c (make_extraction): Fix error in last change.
From-SVN: r50534
2002-03-10 17:16:50 +00:00
GCC Administrator 5d41893367 Daily bump.
From-SVN: r50528
2002-03-10 08:16:13 +00:00
Tom Tromey ab2826ae50 verify.cc (state::NO_STACK): New constant.
* verify.cc (state::NO_STACK): New constant.
	(state::is_unmerged_ret_state): Handle case where stacktop is
	NO_STACK.
	(state::merge): Handle NO_STACK merges.
	(handle_jsr_insn): Invalidate PC, and use special NO_STACK state
	for instruction following jsr.
	(stacktop, stackdepth): Removed unused variables.
	(pop_jump): Ignore case where all remaining states are skipped.

From-SVN: r50527
2002-03-10 04:50:55 +00:00
Bryce McKinlay 9475af48ce ImageMediaEntry: Removed.
* java/awt/ImageMediaEntry: Removed.
	* java/awt/MediaEntry: Removed.

From-SVN: r50525
2002-03-10 03:58:01 +00:00
No Author 05abc96444 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50521
2002-03-10 03:44:41 +00:00
Adam Megacz 5b4d22efbc natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no failure code returned.
2002-03-09  Adam Megacz  <adam@xwt.org>

        * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
        bytes read and no failure code returned.

From-SVN: r50520
2002-03-10 03:34:59 +00:00
Bryce McKinlay 811f17ca56 configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.
libjava:
	* configure.in: Define SLOW_PTHREAD_SELF if configure.host set
	slow_pthread_self. Set up symlink for sysdeps directory.
	* configure.host: Document more shell variables. Set sysdeps_dir
	for most platforms. Set slow_pthread_self for i686. Set
	enable_hash_synchronization_default and slow_pthread_self for PowerPC.
	* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
	that memory barrier is emitted where required.
	* include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
	read_barrier() to enforce ordering of reads.
	* sysdep/powerpc/locks.h: New file. Implementation of synchronization
	primitives for PowerPC.
	* sysdep/i386/locks.h: New file. Synchronization primitives for i386
	moved from natObject.cc.
	* sysdep/alpha/locks.h: Likewise.
	* sysdep/ia64/locks.h: Likewise.
	* sysdep/generic/locks.h: Likewise.
	* java/lang/natObject.cc: Move thread synchronization primitives to
	system-dependent headers.

gcc/java:
	* decl.c (java_init_decl_processing): Make sure class_type_node
	alignment is not less than 64 bits if hash synchronization is enabled.

boehm-gc:
	* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
	support is enabled, for hash synchronization.

[[Split portion of a mixed commit.]]

From-SVN: r50518.1
2002-03-10 03:31:08 +00:00
Adam Megacz e763bf45ea 2002-03-09 Adam Megacz <adam@xwt.org>
* win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
        definitions to simulate -mthreads.

From-SVN: r50513
2002-03-09 22:33:15 +00:00
Adam Megacz f9dc85767a 2002-03-09 Adam Megacz <adam@xwt.org>
* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
        avoid precision loss.

From-SVN: r50512
2002-03-09 22:08:41 +00:00
Jakub Jelinek 655d92fff7 PR optimization/5172, optimization/5200
PR optimization/5172, optimization/5200
	* gcse.c (gcse_main): Disable store_motion.

From-SVN: r50508
2002-03-09 21:53:14 +01:00
Andreas Schwab d143010d3b * gcc.c (validate_all_switches): Also handle `%W{...}'.
From-SVN: r50506
2002-03-09 19:56:15 +00:00
Per Bothner 3ff750c9d9 parse.y (java_complete_lhs): Check if patch_assignment returned an error-mark.
* parse.y (java_complete_lhs):  Check if patch_assignment
	returned an error-mark.

	* parse.y (try_builtin_assignconv):  Don't special-case zero.

From-SVN: r50502
2002-03-09 09:23:14 -08:00
Per Bothner 4925accb22 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
* gnu/gcj/xlib/XImage.java:  Likewise.
	* gnu/gcj/xlib/XColor.java:  Likewise.

From-SVN: r50501
2002-03-09 09:20:49 -08:00
Jakub Jelinek e6553a9a06 * gcc.c-torture/execute/va-arg-22.c: New test.
From-SVN: r50496
2002-03-09 14:26:05 +01:00
Jakub Jelinek f4bc10c709 re PR middle-end/5877 (negative offset to array index leads to inefficient code)
PR middle-end/5877
	* expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
	even for non-representable constants.

From-SVN: r50494
2002-03-09 14:20:50 +01:00
Richard Kenner 3a44173bea emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
* emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
	* function.c (fixup_var_refs): Add MAY_SHARE parameter.
	(fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
	(fixup_var_refs_insn, fixup_var_refs_1): Likewise.
	(pop_function_context): Compute MAY_SHARE parameter for
	fixup_var_refs.
	(fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
	(gen_mem_addressof): Call fixup_var_refs with new parm.

From-SVN: r50492
2002-03-09 07:49:52 -05:00
Richard Kenner a0a283d05d * combine.c (make_extraction): Don't make extension of CONST_INT.
From-SVN: r50490
2002-03-09 07:25:15 -05:00
Adam Megacz 6d4433fe19 Win32Process.java (ConcreteProcess): Now throws an IOException so that Throwable.printStackTrace fails correctly.
2002-03-09  Adam Megacz  <adam@xwt.org>

        * java/lang/Win32Process.java (ConcreteProcess): Now throws an
        IOException so that Throwable.printStackTrace fails correctly.

From-SVN: r50487
2002-03-09 08:46:55 +00:00
GCC Administrator 7993a0bcc2 Daily bump.
From-SVN: r50483
2002-03-09 08:16:41 +00:00
Adam Megacz f2ad476b51 natPlainSocketImpl.cc (read, [...]): Formatting fixed.
2002-03-08  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
        fixed.

From-SVN: r50482
2002-03-09 07:57:14 +00:00
Bryce McKinlay 938f86278e posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated to int.
* posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
        truncated to int.

From-SVN: r50477
2002-03-09 05:44:26 +00:00
Craig Rodrigues 2787f9eaee cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void.
2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of
        conditional return void.

From-SVN: r50474
2002-03-09 02:24:29 +00:00
Kaveh R. Ghazi cd1f688539 * sparc.c (arith_4096_operand): Fix error in last change.
From-SVN: r50469
2002-03-09 01:41:34 +00:00
Aldy Hernandez 5294248f44 rs6000.c (rs6000_va_arg): Fix alignment for vectors.
2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
        vectors.

From-SVN: r50464
2002-03-08 22:40:41 +00:00
Aldy Hernandez 7a5541c2cc sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.

From-SVN: r50461
2002-03-08 22:28:21 +00:00
Benjamin Kosnik 5a6ecc810b [multiple changes]
2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/std_limits.h: Move static const data members out of
	generic template, into base class __numeric_limits_base.
	* src/limits.cc: Add definitions.
	* config/linker-map.gnu: Add __numeric_limits_base.
	* testsuite/18_support/numeric_limits.cc: Declare test in scope.

2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_alloc.h: Add extern implicit allocator
	instantiations.
	* include/bits/basic_string.tcc: Tweak.
	* include/bits/loqcale_facets.tcc: Remove default args. Add
	has_facet, use_facet extern instantiations.
	* src/stl-inst.cc: Add explicit instantiation.
	* src/locale-inst.cc: Clean. Remove locale member template
	instantiations.

	* testsuite/22_locale/operators.cc (test02): Enable.

2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
	    Stephen M. Webb  <stephen.webb@bregmasoft.com>

	* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
	(_S_rb_tree_black): Make enum.
	Clean. Format.
	* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
	* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
	(__stl_threshold): _M_threshold, enum.
	* src/stl-inst.cc: Same.
	* config/linker-map.gnu: Remove.

	* testsuite/23_containers/vector_bool.cc: New.

Co-Authored-By: Stephen M. Webb <stephen.webb@bregmasoft.com>

From-SVN: r50459
2002-03-08 22:25:45 +00:00
Tom Tromey 2c0953e62a * include/jni.h: Include stdio.h.
From-SVN: r50458
2002-03-08 21:38:44 +00:00
Per Bothner 25118cd30a re PR java/5812 (GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler)
Fix for PR java/5812.
	* expr.c (build_java_jsr):  Take pc arguments, and do lookup_label
	gere instead of in JSR macro.  Likewise with load_type_state call.
	Do the latter on if the return_pc has been verified (the jsr returns).
	(JSR):  No just call build_java_jsr.

From-SVN: r50456
2002-03-08 13:02:50 -08:00
Phil Edwards d4c35c6895 basic_string.h (basic_string::_S_construct): Fix names in declaration.
2002-03-08  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/basic_string.h (basic_string::_S_construct):  Fix
	names in declaration.
	(basic_string::compare):  These are no longer optional.
	* include/bits/ostream.tcc:  Tweak closing brace placement.
	* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
	* include/std/std_sstream.h:  Fix typo in comment.
	* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
	* src/locale.cc:  Likewise.

From-SVN: r50450
2002-03-08 19:28:32 +00:00
Phil Edwards 20ad6c172b re PR libstdc++/5734 (2 extensions (empty push_back() and is_sorted()) are not documented)
2002-03-08  Phil Edwards  <pme@gcc.gnu.org>

	PR libstdc++/5734
	* include/bits/stl_vector.h (vector::push_back()):  Guard with
	_GLIBCPP_DEPRECATED.

From-SVN: r50448
2002-03-08 18:54:19 +00:00
Tom Tromey a785a805fc posix.cc (internal_gettimeofday): New function.
* posix.cc (internal_gettimeofday): New function.
	(_Jv_select): Use it.

From-SVN: r50443
2002-03-08 16:35:10 +00:00
Craig Rodrigues 785a663c63 install.texi (--with-libiconv-prefix): Document.
2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (--with-libiconv-prefix): Document.

From-SVN: r50441
2002-03-08 15:29:19 +00:00
Michael Y. Brukman 7071d233a6 * doc/sourcebuild.texi: Fix typo.
From-SVN: r50440
2002-03-08 14:43:54 +00:00
Jakub Jelinek ca9039ce2b * gcc.c-torture/execute/20020307-2.c: New test.
From-SVN: r50437
2002-03-08 14:43:56 +01:00
Jakub Jelinek 05367b1c97 re PR c/3711 (ICE in instantiate_virtual_regs_1, at function.c:3880)
PR c/3711
	* builtins.c (std_expand_builtin_va_arg): Do all computations on
	trees.

	* gcc.c-torture/execute/20020307-2.c: New test.

From-SVN: r50436
2002-03-08 14:39:52 +01:00
Richard Kenner c9220e5a0d rtl.c (copy_most_rtx): Move from here ...
* rtl.c (copy_most_rtx): Move from here ...
	* emit-rtl.c (copy_most_rtx): ... to here.

From-SVN: r50434
2002-03-08 07:26:45 -05:00
Richard Earnshaw 61e751e3dc combine.c (simplify_comparison): If simplifying a logical shift right and compare with constant...
* combine.c (simplify_comparison): If simplifying a logical shift
right and compare with constant, force the comparison to unsigned.

From-SVN: r50433
2002-03-08 10:55:56 +00:00
Richard Earnshaw f78737c9e0 * gcc.c-torture/execute/20020307-1.c: New test.
From-SVN: r50432
2002-03-08 10:54:44 +00:00
No Author de84dc92ac This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50431
2002-03-08 10:54:44 +00:00
GCC Administrator c97a028a6b Daily bump.
From-SVN: r50427
2002-03-08 08:16:30 +00:00
Adam Megacz b8e6ea4f18 Somehow these didn't make it in with my last commit.
Somehow these didn't make it in with my last commit. ChangeLog already
filled out.

From-SVN: r50421
2002-03-08 02:36:30 +00:00
Adam Megacz c362baed87 natSystem.cc (currentTimeMillis): Now uses updated _Jv_platform_gettimeofday signature.
2002-03-07  Adam Megacz  <adam@xwt.org>

        * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
       _Jv_platform_gettimeofday signature.

From-SVN: r50420
2002-03-08 02:31:13 +00:00
Adam Megacz d9f503ddb3 win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.
2002-03-07  Adam Megacz  <adam@xwt.org>

       * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
       returns jlong. Added implementation
       * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
       returns jlong.
       * win32.h (_Jv_platform_gettimeofday): Now takes no args,
       returns jlong.
       * posix.h (_Jv_platform_gettimeofday): Now takes no args,
       returns jlong.
       * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
       _Jv_platform_gettimeofday signature.

From-SVN: r50419
2002-03-08 01:50:35 +00:00
Adam Megacz 4a9f4b09f0 natPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read(), write(), and close().
2002-03-07  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
        WIN32, and added thunks for read(), write(), and close().
        * java/net/natPlainSocketImpl.cc (accept, read, read):
        Disabled timeouts on WIN32 pending discussion.

From-SVN: r50417
2002-03-08 01:45:59 +00:00
Adam Megacz 85975a39c0 FileDescriptor.java: Initialize in/out/err in init().
2002-03-07  Adam Megacz  <adam@xwt.org>

        * java/io/FileDescriptor.java: Initialize in/out/err in init().
        * java/io/natFileDescriptorWin32.cc (init()): Added function.
        * java/io/natFileDescriptorPosix.cc (init()): Added function.
        * java/io/natFileDescriptorEcos.cc (init()): Added function.

From-SVN: r50415
2002-03-08 00:43:29 +00:00
Ulrich Weigand 6ea7db551d genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
	genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
	and MATCH_OP_DUP.

From-SVN: r50413
2002-03-07 22:05:38 +00:00
H.J. Lu 578ec9bf2f configure.in: Enable gprof for mips*-*-linux*.
2002-03-07  H.J. Lu  (hjl@gnu.org)

	* configure.in: Enable gprof for mips*-*-linux*.

From-SVN: r50409
2002-03-07 11:30:54 -08:00
GCC Administrator d4cd1f9e3f Daily bump.
From-SVN: r50395
2002-03-07 08:16:14 +00:00
Aldy Hernandez cdeaf41455 invoke.texi: Add documentation for -mabi=no-altivec.
2002-03-07  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi: Add documentation for -mabi=no-altivec.

        * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
        -mabi=no-altivec
        (alt_reg_names): Remove % for vrsave.

From-SVN: r50394
2002-03-07 06:59:09 +00:00
Bryce McKinlay dd4b4ec621 Correct Date
From-SVN: r50390
2002-03-07 01:52:26 +00:00
Bryce McKinlay cafb78f86b natPlainSocketImpl.cc (_Jv_recv): Removed.
* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
	(read): Call recv() directly, not _Jv_recv().

From-SVN: r50389
2002-03-07 01:51:45 +00:00
Jeff Law e524a5d733 ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains after completing fast dead code elimination.
* ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
        after completing fast dead code elimination.

From-SVN: r50388
2002-03-06 17:18:13 -08:00
Richard Henderson 9781e87e49 genemit.c (gen_exp): New argument used.
* genemit.c (gen_exp): New argument used.  Invoke copy_rtx
        if used indicates we've already emitted one copy of an operand.
        (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
        (gen_split): Supply a non-null used.

From-SVN: r50385
2002-03-06 17:15:03 -08:00
Tom Tromey e95684b6d3 config.h.in: Rebuilt.
* include/config.h.in: Rebuilt.
	* configure: Rebuilt.
	* Makefile.in: Rebuilt.

From-SVN: r50382
2002-03-06 23:15:16 +00:00
Ulrich Weigand 704f5da4a4 simplify-rtx.c (simplify_plus_minus): Do not abort, but simply fail if the expression is too complex to simplify.
* simplify-rtx.c (simplify_plus_minus): Do not abort,
	but simply fail if the expression is too complex to simplify.
	(simplify_gen_binary): Handle simplify_plus_minus failures.

From-SVN: r50379
2002-03-06 22:43:21 +00:00
Ulrich Weigand d75c4602bc * reload1.c (reload): Unshare all rtl after reload is done.
From-SVN: r50377
2002-03-06 22:32:39 +00:00
Eric Blake 74b1875a09 unicode-decomp.pl: Move from chartables.pl...
2002-03-06  Eric Blake  <ebb9@email.byu.edu>

	* scripts/unicode-decomp.pl: Move from chartables.pl, and remove
	the code for generating include/java-chartables.h.
	* scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
	merge with Classpath.
	* scripts/unicode-muncher.pl: Copy from Classpath.
	* scritps/MakeCharTables.java: New file.
	* gnu/gcj/convert/Blocks-3.txt: New file.
	* gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
	* gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
	* gnu/java/lang/CharData.java: Copy from Classpath.
	* Makefile.am (ordinary_java_source_files): Add
	gnu/java/lang/CharData.java.
	* configure.in: Remove --enable-fast-character option.
	* java/lang/Character.java: Merge algorithms and Javadoc with
	Classpath.
	* java/lang/natCharacter.cc: Implement Unicode lookup table more
	efficiently.
	* include/java-chardecomp.h: Regenerate.
	* include/java-chartables.h: Regenerate.

From-SVN: r50370
2002-03-06 19:13:01 +00:00
No Author 90681dec69 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50369
2002-03-06 19:13:01 +00:00
Jakub Jelinek cdca51271c ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch.
* ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
	patch.

From-SVN: r50360
2002-03-06 17:58:53 +01:00
GCC Administrator 19bbff934b Daily bump.
From-SVN: r50350
2002-03-06 08:16:33 +00:00
Bryce McKinlay c8ce58256f MediaTracker.java: Implemented.
* java/awt/MediaTracker.java: Implemented.
        * Makefile.am: Add MediaTracker.
        * Makefile.in: Rebuilt.

From-SVN: r50348
2002-03-06 08:08:19 +00:00
Zack Weinberg 3b6e81a947 cppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when processing assembly language.
* cppmain.c (setup_callbacks): Disable #pragma and #ident
	callbacks when processing assembly language.

From-SVN: r50347
2002-03-06 07:51:06 +00:00
John David Anglin d3244547be pa.h (ASM_FILE_END): Define.
* pa.h (ASM_FILE_END): Define.
	* som.h (ASM_FILE_END): Delete.

	* pa.c (function_arg): Don't pass floats in general registers in
	indirect calls if TARGET_ELF32.

From-SVN: r50344
2002-03-06 05:20:29 +00:00
Tom Tromey 2fadde235c natPosixProcess.cc (fail): Removed.
* java/lang/natPosixProcess.cc (fail): Removed.
	(startProcess): Simplified error-handling.  Preserve
	LD_LIBRARY_PATH across exec.

From-SVN: r50343
2002-03-06 05:14:38 +00:00
Richard Henderson ab02e8446b * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
From-SVN: r50340
2002-03-05 16:07:20 -08:00
Tom Tromey 6eaf690b74 jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
	AbstractMethodError.

From-SVN: r50338
2002-03-05 22:40:01 +00:00
Benjamin Kosnik b47931bac9 RELEASE-NOTES: Fix usage.
2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES: Fix usage.
	* README (libmath): Make clear.

From-SVN: r50334
2002-03-05 21:22:15 +00:00
Jakub Jelinek 088d21eec2 acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
	script globbing in ld.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.

From-SVN: r50333
2002-03-05 22:18:12 +01:00
Benjamin Kosnik 6eeba12c64 RELEASE-NOTES: Update.
2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES: Update.
	* README: Format subdirectories.

From-SVN: r50329
2002-03-05 20:26:02 +00:00
Ira Ruben 1a3da9df0c This is the documentation for -### that I forgot to add when -### was
originally added.

From-SVN: r50327
2002-03-05 20:17:28 +00:00
Paolo Carlini 2ebc2e050e 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
libstdc++/5816
	* include/bits/locale_facets.tcc
	(num_get::_M_extract_float): Fix the parsing of __dec, since
	the standard prescribes that if no grouping characters are
	seen, no grouping check is applied.
        * testsuite/22_locale/num_get_members_char.cc: Add test05
	distilled from the PR.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

From-SVN: r50325
2002-03-05 19:05:07 +00:00
Jakub Jelinek 46b0d60ec1 mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc -r command line.
* mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
	-r command line.  Don't hide any symbols if not building
	shared libgcc.

From-SVN: r50322
2002-03-05 19:19:23 +01:00
Jakub Jelinek 49217ec458 expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 wide volatile memory by parts.
* expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
	wide volatile memory by parts.

	* gcc.c-torture/compile/20020304-2.c: New test.

From-SVN: r50316
2002-03-05 12:22:35 +01:00
No Author c00c5bffda This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50315
2002-03-05 11:22:35 +00:00
Jakub Jelinek 150c467b71 ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def is NULL.
* ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
	is NULL.

	* gcc.dg/20020304-1.c: New test.

From-SVN: r50313
2002-03-05 12:04:38 +01:00
No Author 4f8af10714 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50312
2002-03-05 11:04:38 +00:00
GCC Administrator 04a6a43234 Daily bump.
From-SVN: r50307
2002-03-05 08:16:45 +00:00
David Billinghurst ed34395505 builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED
2002-03-05  David Billinghurst <David.Billinghurst@riotinto.com>

	* builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED
	* builtins.c(sin_builtin): Likewise
	* builtins.c(sqrt_builtin): Likewise

From-SVN: r50303
2002-03-05 05:09:31 +00:00
Richard Henderson 5b259de63f rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
2002-03-05  Richard Henderson  <rth@redhat.com>

        * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.

From-SVN: r50302
2002-03-05 04:34:13 +00:00
Krister Walfridsson 16e83e824a * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
From-SVN: r50300
2002-03-04 19:13:25 -08:00
Joseph Myers a7d9317b0a configure.in: Increase required makeinfo version to 4.1.
* configure.in: Increase required makeinfo version to 4.1.
	* configure: Regenerate.

From-SVN: r50295
2002-03-05 00:41:05 +00:00
Craig Rodrigues 3ff9a43be6 porting-howto.xml: Refer to http://www.oasis-open.org for docbookx.dtd.
2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * docs/html/17_intro/porting-howto.xml: Refer to
        http://www.oasis-open.org for docbookx.dtd.
        * docs/html/17_intro/porting-howto.html: Regenerated.

From-SVN: r50292
2002-03-04 23:03:20 +00:00
Adam Megacz b1286bac46 natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.
2002-03-04  Adam Megacz <adam@xwt.org>

	* java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
	'#undef STRICT'.

From-SVN: r50286
2002-03-04 20:02:19 +00:00
Joseph Myers 94a6e30a14 texinfo.tex: Update to version 2002-03-01.06.
* doc/include/texinfo.tex: Update to version 2002-03-01.06.
	* doc/invoke.texi: Fix @math uses.

From-SVN: r50285
2002-03-04 19:07:58 +00:00
Zack Weinberg a40248df5c New test case (from PR c/5830).
From-SVN: r50281
2002-03-04 17:20:28 +00:00
No Author 6995aaa8f4 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50280
2002-03-04 17:20:28 +00:00
GCC Administrator 7d70292b0a Daily bump.
From-SVN: r50272
2002-03-04 08:16:35 +00:00
Bryce McKinlay b3b4e64b00 Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.am: Use -bootclasspath, not -CLASSPATH.
	* Makefile.in: Rebuilt.

From-SVN: r50269
2002-03-04 00:59:10 +00:00
Mark Wielaard 677b388b0f * java/util/Timer (TaskQueue.stop): set elements to zero.
From-SVN: r50267
2002-03-03 23:21:35 +00:00
Phil Edwards 51db7a3c6f Add missing PR tag for previous commit.
From-SVN: r50261
2002-03-03 17:52:52 +00:00
Phil Edwards ae8aef9e59 std_sstream.h: Remove trailing spaces.
2002-03-03  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_sstream.h:  Remove trailing spaces.
	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.

From-SVN: r50259
2002-03-03 17:50:56 +00:00
Paolo Carlini 262ffc7d04 num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).
2002-03-03  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/22_locale/num_get_members_char.cc (test04):
	Use a named locale expecting grouping (de_DE).
        * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
	Ditto.
        * testsuite/27_io/ios_manip_basefield.cc (test01):
	Extend coverage, uniform treatment of hexs and octs.

From-SVN: r50251
2002-03-03 09:07:16 +00:00
Per Bothner fab76a82ba Make --CLASSPATH by a synonym for --classpath and -classpath.
Implement --bootclasspath.

From-SVN: r50249
2002-03-03 00:38:37 -08:00
Per Bothner 0f36c42ea2 gcc.c (option_map): Suport new --bootclasspath option.
* gcc.c (option_map):  Suport new --bootclasspath option.
	--CLASSPATH is now just an alias for --classpath.

From-SVN: r50248
2002-03-03 00:36:48 -08:00
GCC Administrator 5e9bb794ba Daily bump.
From-SVN: r50242
2002-03-03 08:16:21 +00:00
Nathan Sidwell 30bda92357 cp:server: command not found.
PR c++/775
        * decl.c (lookup_tag): Only reject enum/class mismatch, not
        class/union mismatch.
        * parse.y (check_class_key): New function.
        (structsp): Call it.
testsuite:
        * g++.dg/other/classkey1.C: New test.

From-SVN: r50232
2002-03-02 19:54:36 +00:00
No Author d027397a34 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50231
2002-03-02 19:54:36 +00:00
Alexandre Petit-Bianco bd58dbc1c4 Fix for PR java/5758, java/5632:
2002-02-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

	Fix for PR java/5758, java/5632:
	* jcf-parse.c (load_class): Renamed local variable, consider `.' an
	inner-class separator too.
	* parse.y (do_resolve_class): New local `decl_result.'
	Progressively build a name for what can have been loaded.

From-SVN: r50229
2002-03-02 09:58:55 -08:00
Richard Kenner 526921692d sparc.c (sparc_initialize_trampoline): Use trunc_int_for_mode.
* config/sparc/sparc.c (sparc_initialize_trampoline): Use
	trunc_int_for_mode.

From-SVN: r50225
2002-03-02 08:49:05 -05:00
Richard Kenner 80ead968ef * emit-rtl.c (offset_address): Call update_temp_slot_address.
From-SVN: r50224
2002-03-02 06:38:49 -05:00
GCC Administrator 5f5b7fa35e Daily bump.
From-SVN: r50219
2002-03-02 08:16:21 +00:00
Richard Henderson 5921f65cfa ia64.c (ia64_initial_elimination_offset): Do not adjust argument_pointer by pretend_args_size.
* config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
        adjust argument_pointer by pretend_args_size.
        (ia64_va_start): Adjust va_start address by -pretend_args_size.

From-SVN: r50210
2002-03-01 15:54:50 -08:00
Zack Weinberg 8e4c9961bd cpp.texi: Clarify documentation of relationship between #line and #include.
* doc/cpp.texi: Clarify documentation of relationship between
	#line and #include.

From-SVN: r50209
2002-03-01 22:20:31 +00:00
Benjamin Kosnik b057b2130d basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
	Adjust comment.
	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
	(basic_ios::_M_fill_init): New.
	(basic_ios::fill()): Delay dealing with _M_fill.
	Adjust comment.
	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
	(ios_base::_M_call_callbacks): Adjust.
	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50206
2002-03-01 20:47:46 +00:00
Paolo Carlini 3adfd94b4f locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.
2002-03-01  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (num_get::_M_extract_int):
        Admit grouping for octals and hexadecimals too.
        * testsuite/22_locale/num_get_members_char.cc: Add test04.
        (test01): Tweak "." -> "," in void* test.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

        * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
        * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.

	* testsuite/27_io/ios_manip_basefield.cc (test01):
	Fix for 64 bit machines.

From-SVN: r50203
2002-03-01 19:03:21 +00:00
Richard Henderson 0c78db226f 981223-1.x: New.
* gcc.c-torture/compile/981223-1.x: New.
        * gcc.c-torture/compile/920625-1.x: New.

From-SVN: r50201
2002-03-01 10:38:22 -08:00
Michael Matz 69ef166432 typeck.c (cp_pointer_int_sum): Complete inner type which is used later by size_in_bytes().
2002-03-01  Michael Matz  <matz@suse.de>

        * typeck.c (cp_pointer_int_sum): Complete inner type which is
        used later by size_in_bytes().

From-SVN: r50198
2002-03-01 13:52:31 +00:00
Anthony Green 21956ee220 FFI_TYPE_POINTER fix
From-SVN: r50195
2002-03-01 13:41:16 +00:00
Phil Edwards 82a2ab4dfa cp-tree.h (build_init): Remove prototype.
2002-03-01  Phil Edwards  <pme@gcc.gnu.org>

	* cp-tree.h (build_init):  Remove prototype.

From-SVN: r50194
2002-03-01 10:56:15 +00:00
GCC Administrator c787608688 Daily bump.
From-SVN: r50187
2002-03-01 08:18:24 +00:00
Richard Henderson c71eea43d7 expmed.c (store_bit_field): Prevent generation of CONCATs...
* expmed.c (store_bit_field): Prevent generation of CONCATs;
        pun complex values as integers; use gen_lowpart instead of
        gen_rtx_SUBREG.
        (extract_bit_field): Likewise.

From-SVN: r50186
2002-03-01 00:14:52 -08:00
Phil Edwards 84d72c9a7a cp-tree.h: Require __GNUC__ to be #defined.
2002-03-01  Phil Edwards  <pme@gcc.gnu.org>

	* cp-tree.h:  Require __GNUC__ to be #defined.
	(build_init):  Add missing prototype.

From-SVN: r50184
2002-03-01 07:20:46 +00:00
David O'Brien b7f06f59fa backport: config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".
Merge from mainline.
	2002-02-28  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
	of "ultrasparc".
	* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
	to be broken.

From-SVN: r50182
2002-03-01 06:56:45 +00:00
Richard Henderson 2318c32a47 * g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
From-SVN: r50178
2002-02-28 18:38:51 -08:00
Richard Henderson 55e54e7bc6 linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.
* config/linker-map.gnu: Export operator new with unsigned long,
        and with std::nothrow_t.  Likewise operator delete.

From-SVN: r50175
2002-02-28 17:27:14 -08:00
Alexandre Oliva 8dd913eab1 gcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -shared-libgcc.
* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.

From-SVN: r50173
2002-03-01 00:54:42 +00:00
Andrew MacLeod 1f0df6a2d3 dwarf2out.c (stack_adjust_offset): Add support for POST_INC, POST_DEC, and POST_MODIFY.
2002-02-27  Andrew MacLeod  <amacleod@redhat.com>

        * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
        POST_DEC, and POST_MODIFY.

From-SVN: r50172
2002-03-01 00:51:27 +00:00
Alexandre Oliva e6b8542065 configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.

From-SVN: r50170
2002-03-01 00:50:13 +00:00
Bryce McKinlay 830b8651c1 * expr.c (build_java_arraystore_check): Fix formatting.
From-SVN: r50168
2002-02-28 23:27:31 +00:00
Joseph Myers 75d93731a9 invoke.texi, [...]: Link to gcc-3.1/c99status.html.
* doc/invoke.texi, doc/standards.texi: Link to
	gcc-3.1/c99status.html.

From-SVN: r50166
2002-02-28 23:12:48 +00:00
Richard Henderson a9f4d7029d ia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.
* config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
        4 cycle latency from MM producers.
        (ia64_internal_sched_reorder): Likewise with pipeline flush.

From-SVN: r50159
2002-02-28 11:44:48 -08:00
Jakub Jelinek 68f8370389 * mklibgcc.in: Don't use GNU make extension.
From-SVN: r50157
2002-02-28 19:59:52 +01:00
Richard Henderson 926a74f1a2 haifa-sched.c (sched_emit_insn): New.
* haifa-sched.c (sched_emit_insn): New.
        (schedule_block): Use last_scheduled_insn to track last insn.
        * sched-int.h (sched_emit_insn): Prototype.
        * config/ia64/ia64.c (last_issued): Remove.
        (ia64_variable_issue): Don't set it.
        (nop_cycles_until): Use sched_emit_insn.

From-SVN: r50151
2002-02-28 10:29:09 -08:00
Benjamin Kosnik d6e9401da8 basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

        * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
        Adjust comment.
        * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
        (basic_ios::_M_fill_init): New.
        (basic_ios::fill()): Delay dealing with _M_fill.
        Adjust comment.
        * testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50149
2002-02-28 16:50:19 +00:00
Bo Thorsen 4cc7340619 linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
2002-02-28  Bo Thorsen  <bo@suse.de>

	* config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
	(STARTFILE_SPEC): Add 64 bit files.
	(ENDFILE_SPEC): Likewise.

From-SVN: r50145
2002-02-28 17:06:20 +01:00
Jan Hubicka 054efa73d9 cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
* cfgrtl.c (purge_dead_edges): Fix handling of EH edges.

	* i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
	PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM

	* x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Always define.

From-SVN: r50142
2002-02-28 15:45:54 +00:00
Jason Merrill 8fdc55170e search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.
* search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

From-SVN: r50141
2002-02-28 10:34:27 -05:00
Jason Merrill e43cae6719 fix broken checkin
From-SVN: r50139
2002-02-28 10:29:10 -05:00
David Edelsohn d9f019f30b [multiple changes]
2002-02-28  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
        * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.

2002-02-28  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.

From-SVN: r50136
2002-02-28 09:44:15 -05:00
Loren J. Rittle fdf1be04ad From mainline
2002-02-28  Loren Rittle  <ljrittle@acm.org>

        * include/Makefile.am (thread_target_headers): Unconditionally
        stage and install gthr-posix.h.
        (${target_builddir}/gthr-posix.h): New rule cloned off
        ${target_builddir}/gthr-default.h.
        (${target_builddir}/gthr-default.h): Support chained inclusion
        of gthr support headers.
        * include/Makefile.in: Rebuilt.

From-SVN: r50135
2002-02-28 09:29:40 -05:00
Jason Merrill 3b5f2209d2 c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type.
* c-decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.
        * cp/decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.

From-SVN: r50134
2002-02-28 08:57:39 -05:00
Bryce McKinlay beca58816c expr.c (java_array_data_offset): Removed function.
* expr.c (java_array_data_offset): Removed function.
	(JAVA_ARRAY_LENGTH_OFFSET): Removed macro.
	(build_java_array_length_access): Obtain "length" value using a
	COMPONENT_REF, instead of INDIRECT_REF and arithmetic.
	(build_java_arrayaccess): Correct comment. Access "data" using a
	COMPONENT_REF, and return an ARRAY_REF instead of an INDIRECT_REF.
	(build_java_arraystore_check): New function.
	(expand_java_arraystore): Use build_java_arraystore_check.
	* parse.y (patch_assignment): Simplify code to insert a store check
	when lvalue is an ARRAY_REF. Use build_java_arraystore_check.
	* check-init.c (check_init): Update to reflect that an array length
	access is now a COMPONENT_REF.
	* gcj.texi (Code Generation): Improve documentation of
	-fno-bounds-check. Add documentation for -fno-store-check.
	* java-tree.h (flag_store_check): Declare.
	(build_java_arraystore_check): Declare.
	* lang.c (flag_store_check): Initialize to 1.
	(lang_f_options): Add store-check option.
	* jvspec.c: Don't pass store-check option to jvgenmain.
	* lang-options.h: Add help string for -fno-store-check.

From-SVN: r50131
2002-02-28 11:42:10 +00:00
GCC Administrator 83ec9a87ee Daily bump.
From-SVN: r50123
2002-02-28 08:16:18 +00:00
Zack Weinberg aadf212769 * mklibgcc.in: Don't use \n in a line subject to interpretation by echo.
From-SVN: r50119
2002-02-28 00:58:07 +00:00
Ulrich Weigand 5a0a12066a s390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses.
* config/s390/s390.c (s390_chunkify_pool): Do not confuse
	insn UIDs with insn addresses.

From-SVN: r50113
2002-02-27 20:23:24 +00:00
Graham Stott 67468025a2 rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): Constify NAME.
* config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
        Constify NAME.

From-SVN: r50107
2002-02-27 15:24:04 +00:00
Graham Stott de0ba1f391 * final.c (output_operand_lossage): Constify PFX_STR.
From-SVN: r50106
2002-02-27 15:23:18 +00:00
Graham Stott f16e627ee6 unroll.c (loop_iterations): Return 0 if the add_val for a BIV is REG.
* unroll.c (loop_iterations): Return 0 if the add_val for
        a BIV is REG.

From-SVN: r50105
2002-02-27 15:22:42 +00:00
Graham Stott a88044bc65 * loop.c (prescan_loop): Handle PARALLEL.
From-SVN: r50104
2002-02-27 15:21:58 +00:00
Graham Stott 57f2f8e463 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
From-SVN: r50103
2002-02-27 15:20:42 +00:00
GCC Administrator 837b8c6203 Daily bump.
From-SVN: r50092
2002-02-27 08:17:47 +00:00
Tom Tromey 9d0142a0d1 natSystem.cc (init_properties): Use __VERSION__.
* java/lang/natSystem.cc (init_properties): Use __VERSION__.
	* gij.cc (version): Use __VERSION__.
	* include/config.h.in: Rebuilt.
	* acconfig.h (GCJVERSION): Removed.
	* configure: Rebuilt.
	* configure.in (GCJVERSION): Removed.

From-SVN: r50089
2002-02-27 05:37:47 +00:00
Andreas Schwab 9bb973613b acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX.
2002-02-26  Andreas Schwab  <schwab@suse.de>

	* acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
	glibcpp_CXX, since libjava uses even another CXX.
	* aclocal.m4, configure: Regenerated.

From-SVN: r50086
2002-02-27 02:22:33 +00:00
Richard Henderson a22d380b4d * config/alpha/alpha.md (ashldi_se): Re-enable.
From-SVN: r50085
2002-02-26 18:20:00 -08:00
Tom Tromey d5694d9aad natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
	`1'.

From-SVN: r50080
2002-02-27 01:38:57 +00:00
Richard Henderson bb6ff7a3a4 i386.c (print_operand): Don't append ATT-style length suffixs to x87 opcodes when in Intel mode.
* config/i386/i386.c (print_operand): Don't append ATT-style
        length suffixs to x87 opcodes when in Intel mode.

From-SVN: r50074
2002-02-26 16:28:20 -08:00
Richard Henderson 38dc6ee8c4 emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
* emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
        (init_emit_once): Update calls.
        * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
        (init_syntax_once): Prototype.

From-SVN: r50073
2002-02-26 16:23:56 -08:00
John David Anglin 27a0c9a1fc pa-linux.h (LIB_SPEC): Update definition.
* pa-linux.h (LIB_SPEC): Update definition.
	* pa32-linux.h (LINK_COMMAND_SPEC): Delete.

From-SVN: r50070
2002-02-26 23:29:24 +00:00
Alexandre Oliva b92b401fd7 dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, generate a die for the lexical block.
* dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
generate a die for the lexical block.

From-SVN: r50068
2002-02-26 22:57:24 +00:00
Richard Henderson 973f5b47b7 expr.c (expand_expr): Do not apply distributive law in EXPAND_SUM case.
* expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
        in EXPAND_SUM case.  Use host_integerp/tree_low_cst.

From-SVN: r50067
2002-02-26 14:44:48 -08:00
Richard Henderson d42f22cefb ia64.c (nop_cycles_until): Do init_insn_group_barriers if we emitted a stop bit.
* config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
        if we emitted a stop bit.

From-SVN: r50066
2002-02-26 14:43:08 -08:00
Jakub Jelinek d25b1d0a67 configure.in (libgcc_visibility): Substitute.
* configure.in (libgcc_visibility): Substitute.
	* configure: Rebuilt.
	* mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
	defined symbols .hidden.

From-SVN: r50064
2002-02-26 22:45:27 +01:00
Paolo Carlini aa0b14a205 locale_facets.tcc (num_put::_M_widen_int): Group all the integral types, not only decs.
2002-02-26  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Group all the integral types, not only decs.
	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
	tests, add a few more.

From-SVN: r50062
2002-02-26 21:24:58 +00:00
Jakub Jelinek 15a51ad760 re PR debug/5770 (undefined reference to `.LC0')
PR debug/5770
	* dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
	STRING_CST initializer spanning the whole variable without
	embedded zeros.
	If expand_expr returned MEM, don't use it.

	* g++.dg/debug/debug4.C: New test.

From-SVN: r50060
2002-02-26 22:13:19 +01:00
No Author 443be906bf This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50059
2002-02-26 21:13:19 +00:00
GCC Administrator 557bfaaf39 Daily bump.
From-SVN: r50050
2002-02-26 08:16:37 +00:00
Mark Mitchell 8a1e858d60 Daily bump.
From-SVN: r50041
2002-02-26 06:11:21 +00:00
Mark Mitchell 1b2ee9ad11 Daily bump.
From-SVN: r50038
2002-02-26 06:05:41 +00:00
Mark Mitchell 4da613dc7f Clear DEVELOPMENT
From-SVN: r50037
2002-02-26 05:51:57 +00:00
Mark Mitchell cf5e29e951 Set version numbers for branch
From-SVN: r50035
2002-02-26 05:47:32 +00:00
No Author a9a0b6aac6 This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r50034
2002-02-26 05:47:32 +00:00
2898 changed files with 189983 additions and 234771 deletions

View File

@ -25,8 +25,8 @@ configure.tp
configure.tps
configure.vr
configure.vrs
dir.info
Makefile
dir.info
lost+found
update.out
LAST_UPDATED

236
ChangeLog
View File

@ -1,3 +1,239 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-12 Marc Espie <espie@openbsd.org>
* config-ml.in: Propagate DESTDIR.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2003-01-30 Roger Sayle <roger@eyesopen.com>
* config.guess: Updated to 2003-01-30's version.
* config.sub: Updated to 2003-01-28's version.
2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(MAKEDIRS): Prepend $(DESTDIR) to installdir names.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* MAINTAINERS: Complete James Dennett's entry.
2002-11-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
* MAINTAINERS (Write After Approval): Add myself.
2002-11-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
* MAINTAINERS: Remove from write-after-approval-list, uniformize
email.
2002-11-08 Neil Booth <neil@daikokuya.co.uk>
* MAINTAINERS: Fix email address.
2002-11-05 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Fix typo in my email address.
2002-11-05 Paolo Carlini <pcarlini@unitus.it>
* MAINTAINERS (Write After Approval): Remove myself.
(Various Maintainers: c++ runtime libs): Add myself.
2002-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
* MAINTAINERS: Update my email address.
2002-09-14 Stephane Carrez <stcarrez@nerim.fr>
* MAINTAINERS: Update my email address.
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-07-08 Phil Edwards <pme@gcc.gnu.org>
* configure.in (gxx_include_dir): Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
* config.if (libstdcxx_incdir): Version C++ headers.
(cxx_incdir): Remove.
2002-06-24 Phil Edwards <pme@gcc.gnu.org>
* configure: Revert in-srcdir redirect upon request.
* .cvsignore: Add Makefile.
* Makefile: Removed.
2002-06-18 Phil Edwards <pme@gcc.gnu.org>
* configure: Remove garbage from previous commit.
2002-06-18 Phil Edwards <pme@gcc.gnu.org>
* configure: For in-source builds, make a subdir and re-exec there.
* Makefile: New file. Pass targets through to build directory.
* .cvsignore: No longer ignore "Makefile".
2002-06-05 Loren J. Rittle <ljrittle@acm.org>
* ltmain.sh: Detect and handle object name conflicts while
piecewise linking a static library.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-04 Alexandre Oliva <aoliva@redhat.com>
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.
2002-05-03 Alexandre Oliva <aoliva@redhat.com>
* configure.in: Revert 2002-04-18's patch; fixed in libjava.
2002-04-29 Roger Sayle <roger@eyesopen.com>
* MAINTAINERS: Synchronize with mainline.
2002-04-26 Joel Sherrill <joel@OARcorp.com>
* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.
2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
* configure.in: Disable libgcj on s390-linux targets.
2002-04-19 Mark Mitchell <mark@codesourcery.com>
* MAINTAINERS: Add information about purpose of this file.
2002-04-18 Tom Tromey <tromey@redhat.com>
* configure.in: Disallow configuring libgcj when it is already
installed and we're using Solaris 2.8 linker. Do enable libgcj on
Solaris 2.8 by default. For PR libgcj/6158.
2002-04-15 Richard Henderson <rth@redhat.com>
* config.guess (sun4u:SunOS:5.*:*): Revert 04-12 change.
2002-04-15 Mark Mitchell <mark@codesourcery.com>
* MAINTAINERS: Remove chill maintainers.
* Makefile.in (CHILLFLAGS): Remove.
(CHILL_LIB): Remove.
(TARGET_CONFIGDIRS): Remove libchill.
(CHILL_FOR_TARGET): Remove.
(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
CHILL_LIB.
(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(configure-target-libchill): Remove.
(all-target-libchill): Remove.
* configure.in (target_libs): Remove target-libchill.
Do not compute CHILL_FOR_TARGET.
* libchill: Remove directory.
2002-04-12 Richard Henderson <rth@redhat.com>
* config.guess (sun4u:SunOS:5.*:*): Guess sparcv9 if 64-bit isa
is supported.
2002-04-09 Loren J. Rittle <ljrittle@acm.org>
* configure.in: Add *-*-freebsd* configurations.
2002-04-08 Tom Tromey <tromey@redhat.com>
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET.
Fixes PR libgcj/6068.
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* configure.in (i*86-*-netbsdelf*): Don't disable libgcj.
2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (alpha*-dec-osf*): Enable libgcj.
2002-03-24 Nick Clifton <nickc@cambridge.redhat.com>
Fix for: PR bootstrap/3591, target/5676
* configure.in (mcore-pe): Disable the configuration of
libstdc++-v3 since exceptions are not supported.
2002-03-20 Anthony Green <green@redhat.com>
* configure.in: Enable libgcj for xscale-elf target.
2002-03-16 Alexandre Oliva <aoliva@redhat.com>
* ltmain.sh (relink_command): Fix typo in previous change.
2002-03-15 Alexandre Oliva <aoliva@redhat.com>
* ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.
2002-03-12 Richard Henderson <rth@redhat.com>
* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
.NOTPARALLEL tag.
(do-check): Rename from check.
(check): Allow parallel check.
2002-03-12 Bob Wilson <bob.wilson@acm.org>
* MAINTAINERS: Add myself as maintainer for xtensa port.
Fix alphabetical order in CPU port maintainer list.
Remove myself from Write After Approval list.
2002-03-11 Richard Henderson <rth@redhat.com>
* Makefile.in (.NOTPARALLEL): Add fake tag.
2002-03-07 H.J. Lu (hjl@gnu.org)
* configure.in: Enable gprof for mips*-*-linux*.
2002-02-28 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.
2002-02-23 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just

View File

@ -1,9 +1,29 @@
Note
====
This file contains information about people who are permitted to make
changes to various parts of the compiler and associated libraries.
Please do not contact the people in this file directly to report
problems in GCC.
For general information about GCC, please visit:
http://gcc.gnu.org
To report problems in GCC, please visit:
http://gcc.gnu.org/bugs.html
Maintainers
===========
Blanket Write Privs.
John Carr jfc@mit.edu
Richard Earnshaw rearnsha@arm.com
Richard Henderson rth@redhat.com
Geoffrey Keating geoffk@redhat.com
Geoffrey Keating geoffk@geoffk.org
Richard Kenner kenner@nyu.edu
Jeff Law law@redhat.com
Jason Merrill jason@redhat.com
@ -16,7 +36,6 @@ Jim Wilson wilson@redhat.com
CPU Port Maintainers (CPU alphabetical order)
a29k port Jim Wilson wilson@redhat.com
alpha port Richard Henderson rth@redhat.com
arc port Richard Kenner kenner@nyu.edu
arm port Nick Clifton nickc@redhat.com
@ -25,9 +44,9 @@ avr port Denis Chertykov denisc@overta.ru
avr port Marek Michalkiewicz marekm@linux.org.pl
c4x port Michael Hayes m.hayes@elec.canterbury.ac.nz
cris port Hans-Peter Nilsson hp@axis.com
fr30 port Nick Clifton niclc@redhat.com
fr30 port Nick Clifton nickc@redhat.com
h8 port Jeff Law law@redhat.com
h8 port Kazu Hirata kazu@hxi.com
h8 port Kazu Hirata kazu@cs.umass.edu
hppa port Jeff Law law@redhat.com
hppa port Dave Anglin dave.anglin@nrc.ca
i386 port Richard Henderson rth@redhat.com
@ -36,7 +55,7 @@ i960 port Jim Wilson wilson@redhat.com
ia64 port Jim Wilson wilson@redhat.com
m32r port Nick Clifton nickc@redhat.com
m32r port Michael Meissner meissner@redhat.com
m68hc11 port Stephane Carrez Stephane.Carrez@worldnet.fr
m68hc11 port Stephane Carrez stcarrez@nerim.fr
m68k port (?) Jeff Law law@redhat.com
m68k-motorola-sysv port Philippe De Muyter phdm@macqel.be
mcore port Nick Clifton nickc@redhat.com
@ -45,20 +64,21 @@ mmix port Hans-Peter Nilsson hp@bitrange.com
mn10200 port Jeff Law law@redhat.com
mn10300 port Jeff Law law@redhat.com
mn10300 port Alexandre Oliva aoliva@redhat.com
rs6000 port Geoff Keating geoffk@redhat.com
rs6000 port Geoff Keating geoffk@geoffk.org
rs6000 port David Edelsohn dje@watson.ibm.com
s390 port Hartmut Penner hpenner@de.ibm.com
s390 port Ulrich Weigand uweigand@de.ibm.com
sh port Joern Rennecke amylaar@onetel.net.uk
sh port Joern Rennecke joern.rennecke@superh.com
sh port Alexandre Oliva aoliva@redhat.com
sparc port Richard Henderson rth@redhat.com
sparc port David S. Miller davem@redhat.com
sparc port Jakub Jelinek jakub@redhat.com
x86-64 port Jan Hubicka jh@suse.cz
xstormy16 port Geoffrey Keating geoffk@redhat.com
v850 port Nick Clifton nickc@redhat.com
v850 port Michael Meissner meissner@redhat.com
vax port Dave Anglin dave.anglin@nrc.ca
x86-64 port Jan Hubicka jh@suse.cz
xstormy16 port Geoffrey Keating geoffk@geoffk.org
xtensa port Bob Wilson bob.wilson@acm.org
OS Port Maintainers (OS alphabetical order)
@ -76,12 +96,10 @@ fortran Richard Henderson rth@redhat.com
fortran Toon Moene toon@moene.indiv.nluug.nl
c++ Jason Merrill jason@redhat.com
c++ Mark Mitchell mark@codesourcery.com
chill Dave Brolley brolley@redhat.com
chill Per Bothner per@bothner.com
cpplib Dave Brolley brolley@redhat.com
cpplib Per Bothner per@bothner.com
cpplib Zack Weinberg zack@codesourcery.com
cpplib Neil Booth neil@daikokuya.demon.co.uk
cpplib Neil Booth neil@daikokuya.co.uk
java Per Bothner per@bothner.com
java Alexandre Petit-Bianco apbianco@redhat.com
mercury Fergus Henderson fjh@cs.mu.oz.au
@ -97,7 +115,8 @@ reorg Jeff Law law@redhat.com
caller-save.c Jeff Law law@redhat.com
debugging code Jim Wilson wilson@redhat.com
dwarf debugging code Jason Merrill jason@redhat.com
c++ runtime libs Gabriel Dos Reis dosreis@cmla.ens-cachan.fr
c++ runtime libs Paolo Carlini pcarlini@unitus.it
c++ runtime libs Gabriel Dos Reis gdr@integrable-solutions.net
c++ runtime libs Ulrich Drepper drepper@redhat.com
c++ runtime libs Phil Edwards pme@gcc.gnu.org
c++ runtime libs Benjamin Kosnik bkoz@redhat.com
@ -111,7 +130,7 @@ web pages Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
config.sub/config.guess Ben Elliston config-patches@gnu.org
basic block reordering Jason Eckhardt jle@redhat.com
i18n Philipp Thomas pthomas@suse.de
diagnostic messages Gabriel Dos Reis gdr@codesourcery.com
diagnostic messages Gabriel Dos Reis gdr@integrable-solutions.net
windows, cygwin, mingw Christopher Faylor cgf@redhat.com
windows, cygwin, mingw DJ Delorie dj@redhat.com
DJGPP DJ Delorie dj@delorie.com
@ -123,30 +142,38 @@ docs co-maintainer Joseph Myers jsm28@cam.ac.uk
Pico-Java port Steve Chamberlain sac@transmeta.com
RTEMS Ports Joel Sherrill
predict.def Jan Hubicka jh@suse.cz
contrib/regression Geoff Keating geoffk@redhat.com
contrib/regression Geoff Keating geoffk@geoffk.org
Note individuals who maintain parts of the compiler need approval to check
in changes outside of the parts of the compiler they maintain.
Write After Approval (last name alphabetical order)
Matt Austern austern@apple.com
Scott Bambrough scottb@netwinder.org
Daniel Berlin dan@dberlin.org
David Billinghurst David.Billinghurst@riotinto.com
Laurynas Biveinis lauras@softhome.net
Jim Blandy jimb@redhat.com
Phil Blundell pb@futuretv.com
Hans Boehm hboehm@gcc.gnu.org
Eric Botcazou ebotcazou@libertysurf.fr
Andrew Cagney cagney@redhat.com
Paolo Carlini pcarlini@unitus.it
Chandra Chavva cchavva@redhat.com
William Cohen wcohen@redhat.com
Chris Demetriou cgd@broadcom.com
*Paul Eggert eggert@twinsun.com
Ben Elliston bje@redhat.com
Marc Espie espie@cvs.openbsd.org
Doug Evans devans@transmeta.com
Kaveh Ghazi ghazi@caip.rutgers.edu
Matthew Gingell gingell@gnat.com
Anthony Green green@redhat.com
Stu Grossman grossman@redhat.com
Laurent Guerby guerby@acm.org
Andrew Haley aph@redhat.com
Stuart Hastings stuart@apple.com
Aldy Hernandez aldyh@redhat.com
Matthew Hiller hiller@redhat.com
Manfred Hollstein mhollstein@redhat.com
@ -171,59 +198,57 @@ Martin v. L
*HJ Lu hjl@lucon.org
Andrew Macleod amacleod@redhat.com
Vladimir Makarov vmakarov@redhat.com
Michael Matz matz@suse.de
Greg McGary gkm@gnu.org
Bryce McKinlay bryce@gcc.gnu.org
Adam Megacz adam@xwt.org
Alan Modra amodra@bigpond.net.au
Toon Moene toon@moene.indiv.nluug.nl
Catherine Moore clm@redhat.com
Adam Nemet anemet@lnxw.com
Diego Novillo dnovillo@redhat.com
David O'Brien obrien@FreeBSD.org
Turly O'Connor turly@apple.com
Jeffrey D. Oldham oldham@codesourcery.com
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Devang Patel dpatel@apple.com
Nicola Pero n.pero@mi.flashnet.it
Alexandre Petit-Bianco apbianco@redhat.com
Clinton Popetz cpopetz@cpopetz.com
Ken Raeburn raeburn@redhat.com
Rolf Rasmussen rolfwr@gcc.gnu.org
Gabriel Dos Reis dosreis@cmla.ens-cachan.fr
Loren J. Rittle ljrittle@acm.org
Tom Rix trix@redhat.com
Craig Rodrigues rodrigc@gcc.gnu.org
Gavin Romig-Koch gavin@redhat.com
Ira Ruben ira@apple.com
Alex Samuel samuel@codesourcery.com
Richard Sandiford rsandifo@redhat.com
Roger Sayle roger@eyesopen.com
Bernd Schmidt bernds@redhat.com
Andreas Schwab schwab@suse.de
Stan Shebs shebs@apple.com
Nathan Sidwell nathan@acm.org
Franz Sirl franz.sirl-kernel@lauterbach.com
Danny Smith dannysmith@users.sourceforge.net
Michael Sokolov msokolov@ivan.Harhan.ORG
Mike Stump mrs@windriver.com
Richard Stallman rms@gnu.org
Graham Stott grahams@redhat.com
Mike Stump mrs@apple.com
Ian Taylor ian@zembu.com
Michael Tiemann tiemann@redhat.com
Philipp Thomas pthomas@suse.de
Kresten Krab Thorup krab@gcc.gnu.org
Tom Tromey tromey@redhat.com
John Wehle john@feith.com
Mark Wielaard mark@gcc.gnu.org
Graham Stott grahams@redhat.com
Daniel Berlin dan@cgsoftware.com
Jim Blandy jimb@redhat.com
Chandra Chavva cchavva@redhat.com
Chris Demetriou cgd@sibyte.com
Doug Evans devans@transmeta.com
Michael Matz
Tom Rix trix@redhat.com
Richard Stallman rms@gnu.org
Graham Stott grahams@redhat.com
Florian Weimer fw@deneb.enyo.de
Bob Wilson bob.wilson@acm.org
Adam Megacz adam@xwt.org
Mark Wielaard mark@gcc.gnu.org
GNATS only accounts
James Dennett jdennett jdennett@acm.org
Peter Bienstman(?)
Benjamin Chelf(?)
James Dennett(?)
Mark Galassi(?)
Jeff Strum(?)

View File

@ -18,6 +18,12 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Tell GNU make 3.79 not to run the top level in parallel. This
# prevents contention for $builddir/$target/config.cache, as well
# as minimizing scatter in file system caches.
NOTPARALLEL = .NOTPARALLEL
$(NOTPARALLEL):
srcdir = .
prefix = /usr/local
@ -88,14 +94,16 @@ CXXFLAGS = -g -O2
LDFLAGS =
LIBCFLAGS = $(CFLAGS)
CFLAGS_FOR_BUILD = $(CFLAGS)
CFLAGS_FOR_TARGET = $(CFLAGS)
# During gcc bootstrap, if we use some random cc for stage1 then
# CFLAGS will be just -g. We want to ensure that TARGET libraries
# (which we know are built with gcc) are built with optimizations so
# prepend -O2 when setting CFLAGS_FOR_TARGET.
CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
LDFLAGS_FOR_TARGET =
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
PICFLAG =
PICFLAG_FOR_TARGET =
CHILLFLAGS = $(CFLAGS)
CHILL_LIB = -lchill
CXX = c++
# Use -O2 to stress test the compiler.
@ -172,7 +180,7 @@ OTHERS =
# This is set by the configure script to the list of directories which
# should be built using the target tools.
TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libchill libobjc
TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libobjc
# Target libraries are put under this directory:
# Changed by configure to $(target_alias) if cross.
@ -229,7 +237,6 @@ INSTALL_TARGET_CROSS = installdirs \
# Should be substed by configure.in
FLAGS_FOR_TARGET =
CC_FOR_TARGET =
CHILL_FOR_TARGET =
CXX_FOR_TARGET =
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
GCJ_FOR_TARGET =
@ -353,14 +360,12 @@ BASE_FLAGS_TO_PASS = \
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
"CFLAGS=$(CFLAGS)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
"CHILLFLAGS=$(CHILLFLAGS)" \
"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
"CHILL_LIB=$(CHILL_LIB)" \
"GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
"CXXFLAGS=$(CXXFLAGS)" \
"CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
"DESTDIR=$(DESTDIR)" \
"DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
"INSTALL=$(INSTALL)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
@ -783,7 +788,6 @@ ALL_TARGET_MODULES = \
all-target-librx \
all-target-newlib \
all-target-libf2c \
all-target-libchill \
all-target-libobjc \
all-target-libtermcap \
all-target-winsup \
@ -807,7 +811,6 @@ CONFIGURE_TARGET_MODULES = \
configure-target-librx \
configure-target-newlib \
configure-target-libf2c \
configure-target-libchill \
configure-target-libobjc \
configure-target-libtermcap \
configure-target-winsup \
@ -830,7 +833,6 @@ CHECK_TARGET_MODULES = \
check-target-libstdc++-v3 \
check-target-newlib \
check-target-libf2c \
check-target-libchill \
check-target-libobjc \
check-target-winsup \
check-target-libiberty \
@ -847,7 +849,6 @@ INSTALL_TARGET_MODULES = \
install-target-libstdc++-v3 \
install-target-newlib \
install-target-libf2c \
install-target-libchill \
install-target-libobjc \
install-target-libtermcap \
install-target-winsup \
@ -936,7 +937,6 @@ CLEAN_TARGET_MODULES = \
clean-target-librx \
clean-target-newlib \
clean-target-libf2c \
clean-target-libchill \
clean-target-libobjc \
clean-target-winsup \
clean-target-libgloss \
@ -1053,7 +1053,7 @@ do-info: all-texinfo
install-info: do-install-info dir.info
s=`cd $(srcdir); pwd`; export s; \
if [ -f dir.info ] ; then \
$(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
$(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
else true ; fi
local-clean:
@ -1116,8 +1116,11 @@ clean-target-libgcc:
# Check target.
.PHONY: check
check: $(CHECK_MODULES) \
.PHONY: check do-check
check:
$(MAKE) do-check NOTPARALLEL=parallel-ok
do-check: $(CHECK_MODULES) \
$(CHECK_TARGET_MODULES) \
$(CHECK_X11_MODULES) \
check-gcc
@ -1778,8 +1781,6 @@ all-target-libstub: configure-target-libstub
all-libtool:
configure-target-libf2c: $(ALL_GCC_C)
all-target-libf2c: configure-target-libf2c all-target-libiberty
configure-target-libchill: $(ALL_GCC_C)
all-target-libchill: configure-target-libchill all-target-libiberty
configure-target-libobjc: $(ALL_GCC_C)
all-target-libobjc: configure-target-libobjc all-target-libiberty
all-m4: all-libiberty all-texinfo
@ -1835,15 +1836,15 @@ install-sid: install-tcl install-tk
### other supporting targets
MAKEDIRS= \
$(prefix) \
$(exec_prefix)
$(DESTDIR)$(prefix) \
$(DESTDIR)$(exec_prefix)
.PHONY: installdirs
installdirs: mkinstalldirs
$(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
dir.info: do-install-info
if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
$(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
$(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
mv -f dir.info.new dir.info ; \
else true ; \
fi

View File

@ -1,3 +1,175 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.
Remove USE_LIBDIR conditional.
* Makefile.am (toolexecdir, toolexeclibdir): Don't override.
* Makefile.in, configure: Rebuilt.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Release Manager
* GCC 3.2.1 Released.
2002-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.am (all-multi): Fix multilib parallel build.
2002-08-23 Adam Megacz <adam@xwt.org>
* win32_threads.cc: Removed extraneous ABORT()
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-06-28 Hans Boehm <Hans_Boehm@hp.com>
Jonathan Clark
* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
2002-04-22 Jeff Sturm <jsturm@one-point.com>
* Makefile.am (toolexeclib_LTLIBRARIES): Remove.
(noinst_LTLIBRARIES): Add libgcjgc.la.
* Makefile.in: Rebuild.
2002-04-22 David S. Miller <davem@redhat.com>
* include/private/gcconfig.h: Hard-code STACKBOTTOM on
64-bit SPARC Linux, the __libc_stack_end technique does
not work in this case.
2002-04-22 Jeff Sturm <jsturm@one-point.com>
* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.
2002-04-17 Hans Boehm <Hans_Boehm@hp.com>
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
SPARC Linux.
2002-04-09 Loren J. Rittle <ljrittle@acm.org>
Richard Henderson <rth@redhat.com>
* include/private/gcconfig.h (DATAEND): Update comment example
to match reality. Clarify comment.
Change all likely references to linker script synthesized
symbols to use this idiom: extern int etext[]; etext
* os_dep.c (GC_init_linux_data_start): Fix references to
__data_start and _end.
2002-04-08 Hans Boehm <Hans_Boehm@hp.com>
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
(GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
declare.
* allchblk.c (GC_allchblk_nth): Change text and support reduced
frequency for blacklist warning message.
* misc.c (GC_large_alloc_warn_interval,
GC_large_alloc_warn_suppressed): define.
(GC_init_inner): Check GC_NO_BLACKLIST_WARNING and
GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
* doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
(GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation.
* dyn_load.c (_DYNAMIC): Move declaration to file scope.
2002-04-04 Loren J. Rittle <ljrittle@acm.org>
* include/private/gcconfig.h: Add support for an unmapped
memory hole between the end of the initialized data segment
and the start of the BSS on FreeBSD/i386.
2002-04-01 Loren J. Rittle <ljrittle@acm.org>
* include/private/gcconfig.h: Add unified test for FreeBSD.
Support FreeBSD/alpha.
* os_dep.c: Do not include <machine/trap.h> unless available.
(GC_freebsd_stack_base): Fix types.
2002-03-30 Krister Walfridsson <cato@df.lth.se>
* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
NetBSD/i386.
2002-03-29 Hans Boehm <Hans_Boehm@hp.com>
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
(GC_local_gcj_malloc): Add assertion.
(start_mark_threads): Fix abort message.
* mark.c (GC_mark_from): Generalize assertion.
* reclaim.c (GC_clear_fl_links): New function.
(GC_start_reclaim): Must clear some freelist links.
* include/private/specific.h, specific.c: Add assertions.
Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments.
Rearrange tse fields.
2002-03-24 Jeff Sturm <jsturm@one-point.com>
* linux_threads.c (GC_get_nprocs): Close file descriptor.
2002-03-15 Anthony Green <green@redhat.com>
* misc.c (GC_init_inner): Initialize GC_write_cs before use.
* configure.in: Disable use of getenv for win32 targets (some of
which have broken implementations).
* configure: Rebuilt.
2002-03-12 Adam Megacz <adam@xwt.org>
* dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
* misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls
* os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and
statically initialized it to TRUE if compiling with GCC.
* win32_threads.c (thread_start): We no longer use SEH if
compiling with GCC.
* mark.c (GC_mark_some): We no longer use SEH if
compiling with GCC.
2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
support is enabled, for hash synchronization.
2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am: Make a convenience library.
* Makefile.in: Rebuilt.
2002-02-24 Adam Megacz <adam@xwt.org>
* Makefile.am: Added win32_threads.c to sources list.

View File

@ -16,34 +16,33 @@ MULTISUBDIR =
MULTIDO = true
MULTICLEAN = true
## Install a library built with a cross compiler in tooldir, not
## libdir.
if USE_LIBDIR
toolexeclibdir = $(libdir)$(MULTISUBDIR)
else
toolexecdir = $(exec_prefix)/$(target_alias)
toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
endif
noinst_LTLIBRARIES = libgcjgc.la libgcjgc_convenience.la
toolexeclib_LTLIBRARIES = $(target_all)
EXTRA_LTLIBRARIES = libgcjgc.la
libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
GC_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c \
linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
backgraph.c win32_threads.c
EXTRA_GC_SOURCES = alpha_mach_dep.s \
mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_la_SOURCES = $(GC_SOURCES)
libgcjgc_convenience_la_SOURCES = $(GC_SOURCES)
EXTRA_libgcjgc_la_SOURCES = $(EXTRA_GC_SOURCES)
EXTRA_libgcjgc_convenience_la_SOURCES = $(EXTRA_GC_SOURCES)
# Include THREADLIBS here to ensure that the correct versions of
# linuxthread semaphore functions get linked:
libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
libgcjgc_la_DEPENDENCIES = @addobjs@
libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s \
mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_convenience_la_LIBADD = @addobjs@
libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
AM_CXXFLAGS = @GC_CFLAGS@
AM_CFLAGS = @GC_CFLAGS@
@ -136,7 +135,7 @@ distclean-am: distclean-multi
maintainer-clean-am: maintainer-clean-multi
all-multi:
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
: $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
install-multi:
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
mostlyclean-multi:

View File

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -93,6 +93,8 @@ addobjs = @addobjs@
gc_basedir = @gc_basedir@
mkinstalldirs = @mkinstalldirs@
target_all = @target_all@
toolexecdir = @toolexecdir@
toolexeclibdir = @toolexeclibdir@
AUTOMAKE_OPTIONS = cygnus
@ -105,14 +107,27 @@ MULTIDIRS =
MULTISUBDIR =
MULTIDO = true
MULTICLEAN = true
@USE_LIBDIR_TRUE@toolexeclibdir = $(libdir)$(MULTISUBDIR)
@USE_LIBDIR_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
@USE_LIBDIR_FALSE@toolexecdir = $(exec_prefix)/$(target_alias)
toolexeclib_LTLIBRARIES = $(target_all)
EXTRA_LTLIBRARIES = libgcjgc.la
libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c backgraph.c win32_threads.c
noinst_LTLIBRARIES = libgcjgc.la libgcjgc_convenience.la
GC_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c irix_threads.c \
linux_threads.c malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
backgraph.c win32_threads.c
EXTRA_GC_SOURCES = alpha_mach_dep.s \
mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_la_SOURCES = $(GC_SOURCES)
libgcjgc_convenience_la_SOURCES = $(GC_SOURCES)
EXTRA_libgcjgc_la_SOURCES = $(EXTRA_GC_SOURCES)
EXTRA_libgcjgc_convenience_la_SOURCES = $(EXTRA_GC_SOURCES)
# Include THREADLIBS here to ensure that the correct versions of
# linuxthread semaphore functions get linked:
@ -120,8 +135,8 @@ libgcjgc_la_LIBADD = @addobjs@ $(THREADLIBS)
libgcjgc_la_DEPENDENCIES = @addobjs@
libgcjgc_la_LDFLAGS = -version-info 1:1:0 -rpath $(toolexeclibdir)
EXTRA_libgcjgc_la_SOURCES = alpha_mach_dep.s mips_sgi_mach_dep.S mips_ultrix_mach_dep.s powerpc_macosx_mach_dep.s rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
libgcjgc_convenience_la_LIBADD = @addobjs@
libgcjgc_convenience_la_DEPENDENCIES = @addobjs@
AM_CXXFLAGS = @GC_CFLAGS@
@ -138,14 +153,52 @@ TESTS = gctest
all_objs = @addobjs@ $(libgcjgc_la_OBJECTS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(MY_CFLAGS) $(GC_CFLAGS)
LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(MY_CFLAGS) $(LDFLAGS) -o $@
# Work around what appears to be a GNU make bug handling MAKEFLAGS
# values defined in terms of make variables, as is the case for CC and
# friends when we are called from the top level Makefile.
AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CXXFLAGS=$(CXXFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "INSTALL=$(INSTALL)" "INSTALL_DATA=$(INSTALL_DATA)" "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" "LDFLAGS=$(LDFLAGS)" "LIBCFLAGS=$(LIBCFLAGS)" "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" "MAKE=$(MAKE)" "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" "PICFLAG=$(PICFLAG)" "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" "SHELL=$(SHELL)" "EXPECT=$(EXPECT)" "RUNTEST=$(RUNTEST)" "RUNTESTFLAGS=$(RUNTESTFLAGS)" "exec_prefix=$(exec_prefix)" "infodir=$(infodir)" "libdir=$(libdir)" "prefix=$(prefix)" "tooldir=$(tooldir)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC)" "CXX=$(CXX)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)"
AM_MAKEFLAGS = \
"AR_FLAGS=$(AR_FLAGS)" \
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
"CFLAGS=$(CFLAGS)" \
"CXXFLAGS=$(CXXFLAGS)" \
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
"INSTALL=$(INSTALL)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
"LDFLAGS=$(LDFLAGS)" \
"LIBCFLAGS=$(LIBCFLAGS)" \
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
"MAKE=$(MAKE)" \
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
"PICFLAG=$(PICFLAG)" \
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
"SHELL=$(SHELL)" \
"EXPECT=$(EXPECT)" \
"RUNTEST=$(RUNTEST)" \
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
"exec_prefix=$(exec_prefix)" \
"infodir=$(infodir)" \
"libdir=$(libdir)" \
"prefix=$(prefix)" \
"tooldir=$(tooldir)" \
"AR=$(AR)" \
"AS=$(AS)" \
"CC=$(CC)" \
"CXX=$(CXX)" \
"LD=$(LD)" \
"LIBCFLAGS=$(LIBCFLAGS)" \
"NM=$(NM)" \
"PICFLAG=$(PICFLAG)" \
"RANLIB=$(RANLIB)" \
"DESTDIR=$(DESTDIR)"
CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
@ -153,7 +206,7 @@ CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
MAKEOVERRIDES =
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
LTLIBRARIES = $(noinst_LTLIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
@ -167,6 +220,14 @@ mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo \
ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo \
solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo \
win32_threads.lo
libgcjgc_convenience_la_LDFLAGS =
libgcjgc_convenience_la_OBJECTS = allchblk.lo alloc.lo blacklst.lo \
checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo \
headers.lo irix_threads.lo linux_threads.lo malloc.lo mallocx.lo \
mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo \
pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo \
solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo \
typd_mlc.lo backgraph.lo win32_threads.lo
check_PROGRAMS = gctest$(EXEEXT)
gctest_DEPENDENCIES = ./libgcjgc.la
CFLAGS = @CFLAGS@
@ -179,10 +240,10 @@ ltmain.sh mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
TAR = gtar
GZIP_ENV = --best
SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES)
OBJECTS = $(libgcjgc_la_OBJECTS)
SOURCES = $(libgcjgc_la_SOURCES) $(EXTRA_libgcjgc_la_SOURCES) $(libgcjgc_convenience_la_SOURCES) $(EXTRA_libgcjgc_convenience_la_SOURCES)
OBJECTS = $(libgcjgc_la_OBJECTS) $(libgcjgc_convenience_la_OBJECTS)
all: all-redirect
.SUFFIXES:
@ -197,35 +258,19 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
mostlyclean-toolexeclibLTLIBRARIES:
mostlyclean-noinstLTLIBRARIES:
clean-toolexeclibLTLIBRARIES:
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
clean-noinstLTLIBRARIES:
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
distclean-toolexeclibLTLIBRARIES:
distclean-noinstLTLIBRARIES:
maintainer-clean-toolexeclibLTLIBRARIES:
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
else :; fi; \
done
uninstall-toolexeclibLTLIBRARIES:
@$(NORMAL_UNINSTALL)
list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
done
maintainer-clean-noinstLTLIBRARIES:
.c.o:
$(COMPILE) -c $<
@ -271,6 +316,9 @@ maintainer-clean-libtool:
libgcjgc.la: $(libgcjgc_la_OBJECTS) $(libgcjgc_la_DEPENDENCIES)
$(LINK) $(libgcjgc_la_LDFLAGS) $(libgcjgc_la_OBJECTS) $(libgcjgc_la_LIBADD) $(LIBS)
libgcjgc_convenience.la: $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_DEPENDENCIES)
$(LINK) $(libgcjgc_convenience_la_LDFLAGS) $(libgcjgc_convenience_la_OBJECTS) $(libgcjgc_convenience_la_LIBADD) $(LIBS)
mostlyclean-checkPROGRAMS:
clean-checkPROGRAMS:
@ -467,7 +515,7 @@ installcheck-am:
installcheck: installcheck-recursive
install-info-am:
install-info: install-info-recursive
install-exec-am: install-toolexeclibLTLIBRARIES
install-exec-am:
install-exec: install-exec-recursive
install-data-am:
@ -476,7 +524,7 @@ install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am: uninstall-toolexeclibLTLIBRARIES
uninstall-am:
uninstall: uninstall-recursive
all-am: Makefile $(LTLIBRARIES)
all-redirect: all-recursive
@ -484,7 +532,6 @@ install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
mostlyclean-generic:
@ -496,19 +543,19 @@ distclean-generic:
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
mostlyclean-libtool mostlyclean-checkPROGRAMS \
mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-recursive
clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \
clean-checkPROGRAMS clean-tags clean-generic \
mostlyclean-am
clean: clean-recursive
distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
distclean-am: distclean-noinstLTLIBRARIES distclean-compile \
distclean-libtool distclean-checkPROGRAMS \
distclean-tags distclean-generic clean-am
-rm -f libtool
@ -516,7 +563,7 @@ distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
distclean: distclean-recursive
-rm -f config.status
maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-checkPROGRAMS maintainer-clean-tags \
maintainer-clean-generic distclean-am
@ -526,10 +573,8 @@ maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
maintainer-clean: maintainer-clean-recursive
-rm -f config.status
.PHONY: mostlyclean-toolexeclibLTLIBRARIES \
distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
maintainer-clean-toolexeclibLTLIBRARIES \
uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool mostlyclean-checkPROGRAMS \
@ -570,7 +615,7 @@ distclean-am: distclean-multi
maintainer-clean-am: maintainer-clean-multi
all-multi:
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
: $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
install-multi:
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
mostlyclean-multi:

View File

@ -654,9 +654,13 @@ int n;
&& orig_avail - size_needed
> (signed_word)BL_LIMIT) {
/* Punt, since anything else risks unreasonable heap growth. */
if (0 == GETENV("GC_NO_BLACKLIST_WARNING")) {
WARN("Needed to allocate blacklisted block at 0x%lx\n",
(word)hbp);
if (++GC_large_alloc_warn_suppressed
>= GC_large_alloc_warn_interval) {
WARN("Repeated allocation of very large block "
"(appr. size %ld):\n"
"\tMay lead to memory leak and poor performance.\n",
size_needed);
GC_large_alloc_warn_suppressed = 0;
}
size_avail = orig_avail;
} else if (size_avail == 0 && size_needed == HBLKSIZE

200
boehm-gc/configure vendored
View File

@ -555,6 +555,12 @@ fi
# This works around the fact that libtool configuration may change LD
# for this particular configuration, but some shells, instead of
# keeping the changes in LD private, export them just because LD is
# exported.
ORIGINAL_LD_FOR_MULTILIBS=$LD
ac_aux_dir=
for ac_dir in . $srcdir/.; do
if test -f $ac_dir/install-sh; then
@ -587,7 +593,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:591: checking for a BSD compatible install" >&5
echo "configure:597: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -640,7 +646,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo "configure:644: checking whether build environment is sane" >&5
echo "configure:650: checking whether build environment is sane" >&5
# Just in case
sleep 1
echo timestamp > conftestfile
@ -697,7 +703,7 @@ test "$program_suffix" != NONE &&
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:701: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:707: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -730,12 +736,12 @@ else
fi
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
echo "configure:734: checking for Cygwin environment" >&5
echo "configure:740: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 739 "configure"
#line 745 "configure"
#include "confdefs.h"
int main() {
@ -746,7 +752,7 @@ int main() {
return __CYGWIN__;
; return 0; }
EOF
if { (eval echo configure:750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
@ -763,19 +769,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
echo "configure:767: checking for mingw32 environment" >&5
echo "configure:773: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 772 "configure"
#line 778 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
if { (eval echo configure:779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
@ -886,7 +892,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:890: checking host system type" >&5
echo "configure:896: checking host system type" >&5
host_alias=$host
case "$host_alias" in
@ -907,7 +913,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:911: checking target system type" >&5
echo "configure:917: checking target system type" >&5
target_alias=$target
case "$target_alias" in
@ -925,7 +931,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:929: checking build system type" >&5
echo "configure:935: checking build system type" >&5
build_alias=$build
case "$build_alias" in
@ -965,7 +971,7 @@ fi
missing_dir=`cd $ac_aux_dir && pwd`
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo "configure:969: checking for working aclocal" >&5
echo "configure:975: checking for working aclocal" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@ -978,7 +984,7 @@ else
fi
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo "configure:982: checking for working autoconf" >&5
echo "configure:988: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@ -991,7 +997,7 @@ else
fi
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo "configure:995: checking for working automake" >&5
echo "configure:1001: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@ -1004,7 +1010,7 @@ else
fi
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:1008: checking for working autoheader" >&5
echo "configure:1014: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@ -1017,7 +1023,7 @@ else
fi
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo "configure:1021: checking for working makeinfo" >&5
echo "configure:1027: checking for working makeinfo" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@ -1043,7 +1049,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1047: checking for $ac_word" >&5
echo "configure:1053: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1073,7 +1079,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1077: checking for $ac_word" >&5
echo "configure:1083: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1122,7 +1128,7 @@ fi
fi
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1126: checking whether we are using GNU C" >&5
echo "configure:1132: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1131,7 +1137,7 @@ else
yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
@ -1146,7 +1152,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1150: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1156: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1183,7 +1189,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1187: checking for $ac_word" >&5
echo "configure:1193: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1216,7 +1222,7 @@ test -n "$CXX" || CXX="gcc"
test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:1220: checking whether we are using GNU C++" >&5
echo "configure:1226: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1225,7 +1231,7 @@ else
yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gxx=yes
else
ac_cv_prog_gxx=no
@ -1240,7 +1246,7 @@ if test $ac_cv_prog_gxx = yes; then
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:1244: checking whether ${CXX-g++} accepts -g" >&5
echo "configure:1250: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1273,7 +1279,7 @@ fi
# NEWLIB_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:1277: checking build system type" >&5
echo "configure:1283: checking build system type" >&5
build_alias=$build
case "$build_alias" in
@ -1294,7 +1300,7 @@ echo "$ac_t""$build" 1>&6
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set dummy ${ac_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1298: checking for $ac_word" >&5
echo "configure:1304: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1326,7 +1332,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1330: checking for $ac_word" >&5
echo "configure:1336: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1358,7 +1364,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1362: checking for $ac_word" >&5
echo "configure:1368: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1390,7 +1396,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1394: checking for $ac_word" >&5
echo "configure:1400: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1435,7 +1441,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1439: checking for a BSD compatible install" >&5
echo "configure:1445: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -1489,7 +1495,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:1493: checking whether to enable maintainer-specific portions of Makefiles" >&5
echo "configure:1499: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
@ -1527,7 +1533,7 @@ if false; then
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:1531: checking for executable suffix" >&5
echo "configure:1537: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1537,7 +1543,7 @@ else
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
if { (eval echo configure:1541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj) ;;
@ -1659,7 +1665,7 @@ ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
echo "configure:1663: checking for ld used by GCC" >&5
echo "configure:1669: checking for ld used by GCC" >&5
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
@ -1689,10 +1695,10 @@ echo "configure:1663: checking for ld used by GCC" >&5
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
echo "configure:1693: checking for GNU ld" >&5
echo "configure:1699: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:1696: checking for non-GNU ld" >&5
echo "configure:1702: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -1727,7 +1733,7 @@ else
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
echo "configure:1731: checking if the linker ($LD) is GNU ld" >&5
echo "configure:1737: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1744,7 +1750,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
echo "configure:1748: checking for $LD option to reload object files" >&5
echo "configure:1754: checking for $LD option to reload object files" >&5
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1756,7 +1762,7 @@ reload_flag=$lt_cv_ld_reload_flag
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
echo "configure:1760: checking for BSD-compatible nm" >&5
echo "configure:1766: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1794,7 +1800,7 @@ NM="$lt_cv_path_NM"
echo "$ac_t""$NM" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:1798: checking whether ln -s works" >&5
echo "configure:1804: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1815,7 +1821,7 @@ else
fi
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
echo "configure:1819: checking how to recognise dependant libraries" >&5
echo "configure:1825: checking how to recognise dependant libraries" >&5
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1979,13 +1985,13 @@ file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
echo "configure:1983: checking for object suffix" >&5
echo "configure:1989: checking for object suffix" >&5
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftest*
echo 'int i = 1;' > conftest.$ac_ext
if { (eval echo configure:1989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
@ -2009,7 +2015,7 @@ case $deplibs_check_method in
file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
echo "configure:2013: checking for ${ac_tool_prefix}file" >&5
echo "configure:2019: checking for ${ac_tool_prefix}file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2071,7 +2077,7 @@ fi
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
echo $ac_n "checking for file""... $ac_c" 1>&6
echo "configure:2075: checking for file" >&5
echo "configure:2081: checking for file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2142,7 +2148,7 @@ esac
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2146: checking for $ac_word" >&5
echo "configure:2152: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2174,7 +2180,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2178: checking for $ac_word" >&5
echo "configure:2184: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2209,7 +2215,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2213: checking for $ac_word" >&5
echo "configure:2219: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2241,7 +2247,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2245: checking for $ac_word" >&5
echo "configure:2251: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2308,8 +2314,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 2312 "configure"' > conftest.$ac_ext
if { (eval echo configure:2313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo '#line 2318 "configure"' > conftest.$ac_ext
if { (eval echo configure:2319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
@ -2330,7 +2336,7 @@ case $host in
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
echo "configure:2334: checking whether the C compiler needs -belf" >&5
echo "configure:2340: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2343,14 +2349,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
#line 2347 "configure"
#line 2353 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:2354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
@ -2380,7 +2386,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
esac
echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
echo "configure:2384: checking how to run the C++ preprocessor" >&5
echo "configure:2390: checking how to run the C++ preprocessor" >&5
if test -z "$CXXCPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -2393,12 +2399,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling=$ac_cv_prog_cxx_cross
CXXCPP="${CXX-g++} -E"
cat > conftest.$ac_ext <<EOF
#line 2397 "configure"
#line 2403 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@ -2545,7 +2551,7 @@ fi
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:2549: checking whether to enable maintainer-specific portions of Makefiles" >&5
echo "configure:2555: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
@ -2578,7 +2584,7 @@ if false; then
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
echo "configure:2582: checking for executable suffix" >&5
echo "configure:2588: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2588,7 +2594,7 @@ else
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj) ;;
@ -2611,7 +2617,7 @@ ac_exeext=$EXEEXT
fi
echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
echo "configure:2615: checking for thread model used by GCC" >&5
echo "configure:2621: checking for thread model used by GCC" >&5
THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
if test -z "$THREADS"; then
THREADS=no
@ -2725,6 +2731,10 @@ EOF
win32)
cat >> confdefs.h <<\EOF
#define GC_WIN32_THREADS 1
EOF
cat >> confdefs.h <<\EOF
#define NO_GETENV 1
EOF
;;
@ -2738,7 +2748,7 @@ esac
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:2742: checking for dlopen in -ldl" >&5
echo "configure:2752: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -2746,7 +2756,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2750 "configure"
#line 2760 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -2757,7 +2767,7 @@ int main() {
dlopen()
; return 0; }
EOF
if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -2990,15 +3000,17 @@ EOF
fi
if test -z "$with_cross_host"; then
USE_LIBDIR_TRUE=
USE_LIBDIR_FALSE='#'
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_alias)'
toolexeclibdir='$(toolexecdir)/lib'
else
USE_LIBDIR_TRUE='#'
USE_LIBDIR_FALSE=
toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
toolexeclibdir='$(libdir)'
fi
toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory`
if test "${multilib}" = "yes"; then
multilib_arg="--enable-multilib"
@ -3072,15 +3084,34 @@ trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section. Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
t quote
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output. A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
# Without the "./", some shells look in PATH for config.status.
@ -3201,8 +3232,8 @@ s%@INCLUDES@%$INCLUDES%g
s%@CXXINCLUDES@%$CXXINCLUDES%g
s%@addobjs@%$addobjs%g
s%@MY_CFLAGS@%$MY_CFLAGS%g
s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
s%@toolexecdir@%$toolexecdir%g
s%@toolexeclibdir@%$toolexeclibdir%g
CEOF
EOF
@ -3321,6 +3352,7 @@ cat >> $CONFIG_STATUS <<\EOF
echo "$DEFS" > boehm-cflags
if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${gc_basedir}/../config-ml.in
fi
exit 0

View File

@ -1,4 +1,4 @@
# Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.
# Copyright (c) 1999, 2000, 2001, 2002, 2003 by Red Hat, Inc. All rights reserved.
#
# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
@ -15,6 +15,12 @@ dnl Process this file with autoconf to produce configure.
AC_INIT(gcj_mlc.c)
# This works around the fact that libtool configuration may change LD
# for this particular configuration, but some shells, instead of
# keeping the changes in LD private, export them just because LD is
# exported.
ORIGINAL_LD_FOR_MULTILIBS=$LD
dnl Can't be done in GC_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(.)
@ -109,6 +115,7 @@ case "$THREADS" in
;;
win32)
AC_DEFINE(GC_WIN32_THREADS)
AC_DEFINE(NO_GETENV)
;;
decosf1 | irix | mach | os2 | solaris | dce | vxworks)
AC_MSG_ERROR(thread package $THREADS not yet supported)
@ -258,7 +265,17 @@ AC_ARG_ENABLE(full-debug,
esac ]
fi)
AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host")
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_alias)'
toolexeclibdir='$(toolexecdir)/lib'
else
toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
toolexeclibdir='$(libdir)'
fi
toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory`
AC_SUBST(toolexecdir)
AC_SUBST(toolexeclibdir)
if test "${multilib}" = "yes"; then
multilib_arg="--enable-multilib"
@ -271,6 +288,7 @@ dnl Put all the -D options in a file.
echo "$DEFS" > boehm-cflags
if test -n "$CONFIG_FILES"; then
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
ac_file=Makefile . ${gc_basedir}/../config-ml.in
fi],
srcdir=${srcdir}

View File

@ -30,7 +30,16 @@ GC_NPROCS=<n> - Linux w/threads only. Explicitly sets the number of processors
correctness, but may lead to really horrible performance.
GC_NO_BLACKLIST_WARNING - Prevents the collector from issuing
"Needed to allocate blacklisted block at ..." warnings.
warnings about allocations of very large blocks.
Deprecated. Use GC_LARGE_ALLOC_WARN_INTERVAL instead.
GC_LARGE_ALLOC_WARN_INTERVAL=<n> - Print every nth warning about very large
block allocations, starting with the nth one. Small values
of n are generally benign, in that a bounded number of
such warnings generally indicate at most a bounded leak.
For best results it should be set at 1 during testing.
Default is 5. Very large numbers effectively disable the
warning.
GC_IGNORE_GCJ_INFO - Ignore the type descriptors implicitly supplied by
GC_gcj_malloc and friends. This is useful for debugging

View File

@ -529,13 +529,14 @@ GC_bool GC_register_dynamic_libraries_dl_iterate_phdr()
# endif
#ifdef __GNUC__
# pragma weak _DYNAMIC
#endif
extern ElfW(Dyn) _DYNAMIC[];
static struct link_map *
GC_FirstDLOpenedLinkMap()
{
# ifdef __GNUC__
# pragma weak _DYNAMIC
# endif
extern ElfW(Dyn) _DYNAMIC[];
ElfW(Dyn) *dp;
struct r_debug *r;
static struct link_map *cachedResult = 0;
@ -775,7 +776,7 @@ void GC_register_dynamic_libraries()
# endif
# ifndef MSWINCE
extern GC_bool GC_win32s;
extern GC_bool GC_no_win32_dlls;
# endif
void GC_register_dynamic_libraries()
@ -788,7 +789,7 @@ void GC_register_dynamic_libraries()
char * limit, * new_limit;
# ifdef MSWIN32
if (GC_win32s) return;
if (GC_no_win32_dlls) return;
# endif
base = limit = p = GC_sysinfo.lpMinimumApplicationAddress;
# if defined(MSWINCE) && !defined(_WIN32_WCE_EMULATION)

View File

@ -205,6 +205,12 @@ typedef char * ptr_t; /* A generic pointer to which we can add */
/* odd numbered words to have mark bits. */
#endif
#if defined(GC_GCJ_SUPPORT) && ALIGNMENT < 8 && !defined(ALIGN_DOUBLE)
/* GCJ's Hashtable synchronization code requires 64-bit alignment. */
# define ALIGN_DOUBLE
#endif
/* ALIGN_DOUBLE requires MERGE_SIZES at present. */
# if defined(ALIGN_DOUBLE) && !defined(MERGE_SIZES)
# define MERGE_SIZES
@ -493,7 +499,7 @@ struct hblk; /* See below. */
# endif
/* Print warning message, e.g. almost out of memory. */
# define WARN(msg,arg) (*GC_current_warn_proc)(msg, (GC_word)(arg))
# define WARN(msg,arg) (*GC_current_warn_proc)("GC Warning: " msg, (GC_word)(arg))
extern GC_warn_proc GC_current_warn_proc;
/* Get environment entry */
@ -1217,7 +1223,12 @@ extern word GC_root_size; /* Total size of registered root sections */
extern GC_bool GC_debugging_started; /* GC_debug_malloc has been called. */
extern long GC_large_alloc_warn_interval;
/* Interval between unsuppressed warnings. */
extern long GC_large_alloc_warn_suppressed;
/* Number of warnings suppressed so far. */
/* Operations */
# ifndef abs
# define abs(x) ((x) < 0? (-(x)) : (x))

View File

@ -38,6 +38,11 @@
# define OPENBSD
# endif
/* And one for FreeBSD: */
# if defined(__FreeBSD__)
# define FREEBSD
# endif
/* Determine the machine type: */
# if defined(__XSCALE__)
# define ARM32
@ -214,7 +219,7 @@
# endif
# if defined(__alpha) || defined(__alpha__)
# define ALPHA
# if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD)
# if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD) && !defined(FREEBSD)
# define OSF1 /* a.k.a Digital Unix */
# endif
# define mach_type_known
@ -262,9 +267,8 @@
# define OPENBSD
# define mach_type_known
# endif
# if defined(__FreeBSD__) && (defined(i386) || defined(__i386__))
# if defined(FREEBSD) && (defined(i386) || defined(__i386__))
# define I386
# define FREEBSD
# define mach_type_known
# endif
# if defined(__NetBSD__) && (defined(i386) || defined(__i386__))
@ -446,7 +450,12 @@
* On UNIX systems, the collector will scan the area between DATASTART
* and DATAEND for root pointers.
*
* DATAEND, if not &end.
* DATAEND, if not `end' where `end' is defined as ``extern int end[];''.
* RTH suggests gaining access to linker script synth'd values with
* this idiom instead of `&end' where `end' is defined as ``extern int end;'' .
* Otherwise, ``GCC will assume these are in .sdata/.sbss'' and it will, e.g.,
* cause failures on alpha*-*-* with ``-msmall-data or -fpic'' or mips-*-*
* without any special options.
*
* ALIGN_DOUBLE of GC_malloc should return blocks aligned to twice
* the pointer size.
@ -542,14 +551,14 @@
# ifdef OPENBSD
# define OS_TYPE "OPENBSD"
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
@ -572,24 +581,24 @@
/* contain large read-only data tables */
/* that we'd rather not scan. */
# endif /* !GLIBC2 */
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# else
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# endif
# ifdef SUNOS4
# define OS_TYPE "SUNOS4"
extern char etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x1ffff) & ~0x1ffff))
extern char etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0x1ffff) & ~0x1ffff))
# define HEURISTIC1 /* differs */
# define DYNAMIC_LOADING
# endif
# ifdef HP
# define OS_TYPE "HP"
extern char etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern char etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# define STACKBOTTOM ((ptr_t) 0xffeffffc)
/* empirically determined. seems to work. */
# include <unistd.h>
@ -597,13 +606,13 @@
# endif
# ifdef SYSV
# define OS_TYPE "SYSV"
extern etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x3fffff) \
extern etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0x3fffff) \
& ~0x3fffff) \
+((word)&etext & 0x1fff))
+((word)etext & 0x1fff))
/* This only works for shared-text binaries with magic number 0413.
The other sorts of SysV binaries put the data at the end of the text,
in which case the default of &etext would work. Unfortunately,
in which case the default of etext would work. Unfortunately,
handling both would require having the magic-number available.
-- Parag
*/
@ -663,8 +672,8 @@
# define STACK_GRAN 0x10000000
/* Stack usually starts at 0x80000000 */
# define LINUX_DATA_START
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# endif
# ifdef MACOSX
/* There are reasons to suspect this may not be reliable. */
@ -681,16 +690,16 @@
# define ALIGNMENT 4
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext;
extern char etext[];
# define DATASTART GC_data_start
# define DYNAMIC_LOADING
# endif
# ifdef NOSYS
# define ALIGNMENT 4
# define OS_TYPE "NOSYS"
extern void __end, __dso_handle;
# define DATASTART (&__dso_handle) /* OK, that's ugly. */
# define DATAEND (&__end)
extern void __end[], __dso_handle[];
# define DATASTART (__dso_handle) /* OK, that's ugly. */
# define DATAEND (__end)
/* Stack starts at 0xE0000000 for the simulator. */
# undef STACK_GRAN
# define STACK_GRAN 0x10000000
@ -701,8 +710,8 @@
# ifdef VAX
# define MACH_TYPE "VAX"
# define ALIGNMENT 4 /* Pointers are longword aligned by 4.2 C compiler */
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# ifdef BSD
# define OS_TYPE "BSD"
# define HEURISTIC1
@ -734,11 +743,11 @@
# define ALIGN_DOUBLE
# ifdef SUNOS5
# define OS_TYPE "SUNOS5"
extern int _etext;
extern int _end;
extern int _etext[];
extern int _end[];
extern char * GC_SysVGetDataStart();
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &_etext)
# define DATAEND (&_end)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# define DATAEND (_end)
# if !defined(USE_MMAP) && defined(REDIRECT_MALLOC)
# define USE_MMAP
/* Otherwise we now use calloc. Mmap may result in the */
@ -768,17 +777,15 @@
# define GETPAGESIZE() sysconf(_SC_PAGESIZE)
/* getpagesize() appeared to be missing from at least one */
/* Solaris 5.4 installation. Weird. */
# if CPP_WORDSZ == 32
# define DYNAMIC_LOADING
# endif
# define DYNAMIC_LOADING
# endif
# ifdef SUNOS4
# define OS_TYPE "SUNOS4"
/* [If you have a weak stomach, don't read this.] */
/* We would like to use: */
/* # define DATASTART ((ptr_t)((((word) (&etext)) + 0x1fff) & ~0x1fff)) */
/* # define DATASTART ((ptr_t)((((word) (etext)) + 0x1fff) & ~0x1fff)) */
/* This fails occasionally, due to an ancient, but very */
/* persistent ld bug. &etext is set 32 bytes too high. */
/* persistent ld bug. etext is set 32 bytes too high. */
/* We instead read the text segment size from the a.out */
/* header, which happens to be mapped into our address space */
/* at the start of the text segment. The detective work here */
@ -794,8 +801,8 @@
# ifdef DRSNX
# define OS_TYPE "DRSNX"
extern char * GC_SysVGetDataStart();
extern int etext;
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &etext)
extern int etext[];
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, etext)
# define MPROTECT_VDB
# define STACKBOTTOM ((ptr_t) 0xdfff0000)
# define DYNAMIC_LOADING
@ -807,23 +814,24 @@
# else
Linux Sparc/a.out not supported
# endif
extern int _end;
extern int _etext;
# define DATAEND (&_end)
extern int _end[];
extern int _etext[];
# define DATAEND (_end)
# define SVR4
# ifdef __arch64__
# define STACKBOTTOM ((ptr_t) 0x80000000000ULL)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, &_etext)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext)
/* libc_stack_end is not set reliably for sparc64 */
# define STACKBOTTOM ((ptr_t) 0x80000000000)
# else
# define STACKBOTTOM ((ptr_t) 0xf0000000)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &_etext)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# define LINUX_STACKBOTTOM
# endif
# endif
# ifdef OPENBSD
# define OS_TYPE "OPENBSD"
# define STACKBOTTOM ((ptr_t) 0xf8000000)
extern int etext;
# define DATASTART ((ptr_t)(&etext))
extern int etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
@ -832,8 +840,8 @@
# define DATASTART GC_data_start
# define DYNAMIC_LOADING
# else
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# endif
# endif
@ -853,24 +861,24 @@
# endif
# ifdef SEQUENT
# define OS_TYPE "SEQUENT"
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# define STACKBOTTOM ((ptr_t) 0x3ffff000)
# endif
# ifdef BEOS
# define OS_TYPE "BEOS"
# include <OS.h>
# define GETPAGESIZE() B_PAGE_SIZE
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# ifdef SUNOS5
# define OS_TYPE "SUNOS5"
extern int _etext, _end;
extern int _etext[], _end[];
extern char * GC_SysVGetDataStart();
# define DATASTART GC_SysVGetDataStart(0x1000, &_etext)
# define DATAEND (&_end)
/* # define STACKBOTTOM ((ptr_t)(&_start)) worked through 2.7, */
# define DATASTART GC_SysVGetDataStart(0x1000, _etext)
# define DATAEND (_end)
/* # define STACKBOTTOM ((ptr_t)(_start)) worked through 2.7, */
/* but reportedly breaks under 2.8. It appears that the stack */
/* base is a property of the executable, so this should not break */
/* old executables. */
@ -898,16 +906,16 @@
# endif
# ifdef SCO
# define OS_TYPE "SCO"
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x3fffff) \
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0x3fffff) \
& ~0x3fffff) \
+((word)&etext & 0xfff))
+((word)etext & 0xfff))
# define STACKBOTTOM ((ptr_t) 0x7ffffffc)
# endif
# ifdef SCO_ELF
# define OS_TYPE "SCO_ELF"
extern int etext;
# define DATASTART ((ptr_t)(&etext))
extern int etext[];
# define DATASTART ((ptr_t)(etext))
# define STACKBOTTOM ((ptr_t) 0x08048000)
# define DYNAMIC_LOADING
# define ELF_CLASS ELFCLASS32
@ -938,8 +946,8 @@
# ifdef __ELF__
# define DYNAMIC_LOADING
# ifdef UNDEFINED /* includes ro data */
extern int _etext;
# define DATASTART ((ptr_t)((((word) (&_etext)) + 0xfff) & ~0xfff))
extern int _etext[];
# define DATASTART ((ptr_t)((((word) (_etext)) + 0xfff) & ~0xfff))
# endif
# include <features.h>
# if defined(__GLIBC__) && __GLIBC__ >= 2
@ -956,11 +964,11 @@
/* contain large read-only data tables */
/* that we'd rather not scan. */
# endif
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# else
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# ifdef USE_I686_PREFETCH
# define PREFETCH(x) \
@ -985,10 +993,10 @@
# endif
# ifdef CYGWIN32
# define OS_TYPE "CYGWIN32"
extern int _data_start__;
extern int _data_end__;
extern int _bss_start__;
extern int _bss_end__;
extern int _data_start__[];
extern int _data_end__[];
extern int _bss_start__[];
extern int _bss_end__[];
/* For binutils 2.9.1, we have */
/* DATASTART = _data_start__ */
/* DATAEND = _bss_end__ */
@ -999,8 +1007,8 @@
/* minumum/maximum of the two. */
# define MAX(x,y) ((x) > (y) ? (x) : (y))
# define MIN(x,y) ((x) < (y) ? (x) : (y))
# define DATASTART ((ptr_t) MIN(&_data_start__, &_bss_start__))
# define DATAEND ((ptr_t) MAX(&_data_end__, &_bss_end__))
# define DATASTART ((ptr_t) MIN(_data_start__, _bss_start__))
# define DATAEND ((ptr_t) MAX(_data_end__, _bss_end__))
# undef STACK_GRAN
# define STACK_GRAN 0x10000
# define HEURISTIC1
@ -1029,10 +1037,10 @@
# ifdef DJGPP
# define OS_TYPE "DJGPP"
# include "stubinfo.h"
extern int etext;
extern int etext[];
extern int _stklen;
extern int __djgpp_stack_limit;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0x1ff) & ~0x1ff))
# define DATASTART ((ptr_t)((((word) (etext)) + 0x1ff) & ~0x1ff))
/* # define STACKBOTTOM ((ptr_t)((word) _stubinfo + _stubinfo->size \
+ _stklen)) */
# define STACKBOTTOM ((ptr_t)((word) __djgpp_stack_limit + _stklen))
@ -1052,11 +1060,22 @@
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
extern char etext;
# define DATASTART ((ptr_t)(&etext))
/* Handle unmapped hole i386*-*-freebsd[45]* may put between etext and edata. */
extern char etext[];
extern char edata[];
extern char end[];
# define NEED_FIND_LIMIT
# define DATASTART ((ptr_t)(etext))
# define MIN(x,y) ((x) < (y) ? (x) : (y))
# define DATAEND (MIN (GC_find_limit (DATASTART, TRUE), DATASTART2))
# define DATASTART2 ((ptr_t)(edata))
# define DATAEND2 ((ptr_t)(end))
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
# endif
# ifdef THREE86BSD
# define OS_TYPE "THREE86BSD"
@ -1067,8 +1086,8 @@
# if defined(OPENBSD) || defined(NETBSD) \
|| defined(THREE86BSD) || defined(BSDI)
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# endif
# ifdef NEXT
# define OS_TYPE "NEXT"
@ -1095,10 +1114,10 @@
# define OS_TYPE "HURD"
# define STACK_GROWS_DOWN
# define HEURISTIC2
extern int __data_start;
# define DATASTART ( (ptr_t) (&__data_start))
extern int _end;
# define DATAEND ( (ptr_t) (&_end))
extern int __data_start[];
# define DATASTART ( (ptr_t) (__data_start))
extern int _end[];
# define DATAEND ( (ptr_t) (_end))
/* # define MPROTECT_VDB Not quite working yet? */
# define DYNAMIC_LOADING
# endif
@ -1122,8 +1141,8 @@
/* This was developed for a linuxce style platform. Probably */
/* needs to be tweaked for workstation class machines. */
# define OS_TYPE "LINUX"
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
# define ALIGNMENT 4
# define USE_GENERIC_PUSH_REGS
# define STACKBOTTOM ((ptr_t)0x7fff8000)
@ -1141,15 +1160,15 @@
# define CPP_WORDSZ _MIPS_SZPTR
# define ALIGNMENT (_MIPS_SZPTR/8)
# else
extern int etext, edata, end;
extern int _DYNAMIC_LINKING, _gp;
# define DATASTART ((ptr_t)((((word)&etext + 0x3ffff) & ~0x3ffff) \
+ ((word)&etext & 0xffff)))
# define DATAEND (&edata)
# define DATASTART2 (&_DYNAMIC_LINKING \
? (ptr_t)(((word)&_gp + 0x8000 + 0x3ffff) & ~0x3ffff) \
: (ptr_t)&edata)
# define DATAEND2 (&end)
extern int etext[], edata[], end[];
extern int _DYNAMIC_LINKING[], _gp[];
# define DATASTART ((ptr_t)((((word)etext + 0x3ffff) & ~0x3ffff) \
+ ((word)etext & 0xffff)))
# define DATAEND (edata)
# define DATASTART2 (_DYNAMIC_LINKING \
? (ptr_t)(((word)_gp + 0x8000 + 0x3ffff) & ~0x3ffff) \
: (ptr_t)edata)
# define DATAEND2 (end)
# define ALIGNMENT 4
# endif
# define OS_TYPE "EWS4800"
@ -1171,8 +1190,8 @@
# endif
# ifdef IRIX5
# define HEURISTIC2
extern int _fdata;
# define DATASTART ((ptr_t)(&_fdata))
extern int _fdata[];
# define DATASTART ((ptr_t)(_fdata))
# ifdef USE_MMAP
# define HEAP_START (ptr_t)0x30000000
# else
@ -1210,7 +1229,7 @@
# define HEURISTIC2
# define USE_GENERIC_PUSH_REGS
# ifdef __ELF__
extern int etext;
extern int etext[];
# define DATASTART GC_data_start
# define NEED_FIND_LIMIT
# define DYNAMIC_LOADING
@ -1230,9 +1249,9 @@
# define ALIGNMENT 4
# define CPP_WORDSZ 32
# endif
extern int _data, _end;
# define DATASTART ((ptr_t)((ulong)&_data))
# define DATAEND ((ptr_t)((ulong)&_end))
extern int _data[], _end[];
# define DATASTART ((ptr_t)((ulong)_data))
# define DATAEND ((ptr_t)((ulong)_end))
extern int errno;
# define STACKBOTTOM ((ptr_t)((ulong)&errno))
# define USE_GENERIC_PUSH_REGS
@ -1266,8 +1285,8 @@
# define STACK_GROWS_UP
# ifdef HPUX
# define OS_TYPE "HPUX"
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
# if 0
/* The following appears to work for 7xx systems running HP/UX */
/* 9.xx Furthermore, it might result in much faster */
@ -1299,8 +1318,8 @@
# define LINUX_STACKBOTTOM
# define DYNAMIC_LOADING
# define LINUX_DATA_START
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# endif /* LINUX */
# endif /* HP_PA */
@ -1330,11 +1349,31 @@
# define DATASTART ((ptr_t) 0x140000000)
# endif
# endif
# ifdef FREEBSD
# define OS_TYPE "FREEBSD"
/* MPROTECT_VDB is not yet supported at all on FreeBSD/alpha. */
# define SIG_SUSPEND SIGUSR1
# define SIG_THR_RESTART SIGUSR2
# define FREEBSD_STACKBOTTOM
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
/* Handle unmapped hole alpha*-*-freebsd[45]* puts between etext and edata. */
extern char etext[];
extern char edata[];
extern char end[];
# define NEED_FIND_LIMIT
# define DATASTART ((ptr_t)(etext))
# define DATAEND (GC_find_limit (DATASTART, TRUE))
# define DATASTART2 ((ptr_t)(edata))
# define DATAEND2 ((ptr_t)(end))
# define CPP_WORDSZ 64
# endif
# ifdef OSF1
# define OS_TYPE "OSF1"
# define DATASTART ((ptr_t) 0x140000000)
extern int _end;
# define DATAEND ((ptr_t) &_end)
extern int _end[];
# define DATAEND ((ptr_t) _end)
extern char ** environ;
/* round up from the value of environ to the nearest page boundary */
/* Probably breaks if putenv is called before collector */
@ -1345,8 +1384,8 @@
/* the text segment immediately follows the stack. */
/* Hence we give an upper pound. */
/* This is currently unused, since we disabled HEURISTIC2 */
extern int __start;
# define HEURISTIC2_LIMIT ((ptr_t)((word)(&__start) & ~(getpagesize()-1)))
extern int __start[];
# define HEURISTIC2_LIMIT ((ptr_t)((word)(__start) & ~(getpagesize()-1)))
# define CPP_WORDSZ 64
# define MPROTECT_VDB
# define DYNAMIC_LOADING
@ -1362,8 +1401,8 @@
# else
# define DATASTART ((ptr_t) 0x140000000)
# endif
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# define MPROTECT_VDB
/* Has only been superficially tested. May not */
/* work on all versions. */
@ -1396,8 +1435,8 @@
# define ALIGNMENT 8
# endif
# define OS_TYPE "HPUX"
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
/* Gustavo Rodriguez-Rivera suggested changing HEURISTIC2 */
/* to this. Note that the GC must be initialized before the */
/* first putenv call. */
@ -1445,8 +1484,8 @@
# endif
# define MPROTECT_VDB
/* Requires Linux 2.3.47 or later. */
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# ifdef __GNUC__
# define PREFETCH(x) \
__asm__ (" lfetch [%0]": : "r"((void *)(x)))
@ -1462,15 +1501,15 @@
# define MACH_TYPE "M88K"
# define ALIGNMENT 4
# define ALIGN_DOUBLE
extern int etext;
extern int etext[];
# ifdef CX_UX
# define OS_TYPE "CX_UX"
# define DATASTART ((((word)&etext + 0x3fffff) & ~0x3fffff) + 0x10000)
# define DATASTART ((((word)etext + 0x3fffff) & ~0x3fffff) + 0x10000)
# endif
# ifdef DGUX
# define OS_TYPE "DGUX"
extern char * GC_SysVGetDataStart();
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &etext)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, etext)
# endif
# define STACKBOTTOM ((char*)0xf0000000) /* determined empirically */
# endif
@ -1481,27 +1520,27 @@
# define USE_GENERIC_PUSH_REGS
# ifdef UTS4
# define OS_TYPE "UTS4"
extern int etext;
extern int _etext;
extern int _end;
extern int etext[];
extern int _etext[];
extern int _end[];
extern char * GC_SysVGetDataStart();
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, &_etext)
# define DATAEND (&_end)
# define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
# define DATAEND (_end)
# define HEURISTIC2
# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
# define HEURISTIC1
# define DYNAMIC_LOADING
extern int __data_start;
# define DATASTART ((ptr_t)(&__data_start))
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
# endif
# endif
# if defined(PJ)
# define ALIGNMENT 4
extern int _etext;
# define DATASTART ((ptr_t)(&_etext))
extern int _etext[];
# define DATASTART ((ptr_t)(_etext))
# define HEURISTIC1
# endif
@ -1512,8 +1551,8 @@
# ifdef NETBSD
# define OS_TYPE "NETBSD"
# define HEURISTIC2
extern char etext;
# define DATASTART ((ptr_t)(&etext))
extern char etext[];
# define DATASTART ((ptr_t)(etext))
# define USE_GENERIC_PUSH_REGS
# endif
# ifdef LINUX
@ -1539,11 +1578,11 @@
/* contain large read-only data tables */
/* that we'd rather not scan. */
# endif
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# else
extern int etext;
# define DATASTART ((ptr_t)((((word) (&etext)) + 0xfff) & ~0xfff))
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
# endif
# ifdef MSWINCE
@ -1552,8 +1591,8 @@
# endif
# ifdef NOSYS
/* __data_start is usually defined in the target linker script. */
extern int __data_start;
# define DATASTART (ptr_t)(&__data_start)
extern int __data_start[];
# define DATASTART (ptr_t)(__data_start)
# define USE_GENERIC_PUSH_REGS
/* __stack_base__ is set in newlib/libc/sys/arm/crt0.S */
extern void *__stack_base__;
@ -1574,8 +1613,8 @@
# define USE_GENERIC_PUSH_REGS
# define DYNAMIC_LOADING
# define LINUX_DATA_START
extern int _end;
# define DATAEND (&_end)
extern int _end[];
# define DATAEND (_end)
# endif
# endif
@ -1593,10 +1632,10 @@
/* case we lose. Nonetheless, we try both, prefering __data_start. */
/* We assume gcc. */
# pragma weak __data_start
extern int __data_start;
extern int __data_start[];
# pragma weak data_start
extern int data_start;
# define DATASTART ((ptr_t)(&__data_start != 0? &__data_start : &data_start))
extern int data_start[];
# define DATASTART ((ptr_t)(__data_start != 0? __data_start : data_start))
#endif
#if defined(LINUX) && defined(REDIRECT_MALLOC)
@ -1620,8 +1659,8 @@
# endif
# ifndef DATAEND
extern int end;
# define DATAEND (&end)
extern int end[];
# define DATAEND (end)
# endif
# if defined(SVR4) && !defined(GETPAGESIZE)

View File

@ -27,16 +27,22 @@
#define TS_HASH_SIZE 1024
#define HASH(n) (((((long)n) >> 8) ^ (long)n) & (TS_HASH_SIZE - 1))
/* An entry describing a thread-specific value for a given thread. */
/* All such accessible structures preserve the invariant that if either */
/* thread is a valid pthread id or qtid is a valid "quick tread id" */
/* for a thread, then value holds the corresponding thread specific */
/* value. This invariant must be preserved at ALL times, since */
/* asynchronous reads are allowed. */
typedef struct thread_specific_entry {
unsigned long qtid; /* quick thread id, only for cache */
void * value;
pthread_t thread;
struct thread_specific_entry *next;
pthread_t thread;
} tse;
/* We represent each thread-specific datum as two tables. The first is */
/* a cache, index by a "quick thread identifier". The "quick" thread */
/* a cache, indexed by a "quick thread identifier". The "quick" thread */
/* identifier is an easy to compute value, which is guaranteed to */
/* determine the thread, though a thread may correspond to more than */
/* one value. We typically use the address of a page in the stack. */
@ -45,12 +51,15 @@ typedef struct thread_specific_entry {
/* Return the "quick thread id". Default version. Assumes page size, */
/* or at least thread stack separation, is at least 4K. */
static __inline__ long quick_thread_id() {
/* Must be defined so that it never returns 0. (Page 0 can't really */
/* be part of any stack, since that would make 0 a valid stack pointer.)*/
static __inline__ unsigned long quick_thread_id() {
int dummy;
return (long)(&dummy) >> 12;
return (unsigned long)(&dummy) >> 12;
}
#define INVALID_QTID ((unsigned long)(-1))
#define INVALID_QTID ((unsigned long)0)
#define INVALID_THREADID ((pthread_t)0)
typedef struct thread_specific_data {
tse * volatile cache[TS_CACHE_SIZE];
@ -76,7 +85,10 @@ static __inline__ void * PREFIXED(getspecific) (tsd * key) {
unsigned hash_val = CACHE_HASH(qtid);
tse * volatile * entry_ptr = key -> cache + hash_val;
tse * entry = *entry_ptr; /* Must be loaded only once. */
if (entry -> qtid == qtid) return entry -> value;
if (entry -> qtid == qtid) {
GC_ASSERT(entry -> thread == pthread_self());
return entry -> value;
}
return PREFIXED(slow_getspecific) (key, qtid, entry_ptr);
}

View File

@ -231,15 +231,16 @@ static void return_freelists(ptr_t *fl, ptr_t *gfl)
nwords = i * (GRANULARITY/sizeof(word));
qptr = fl + i;
q = *qptr;
if ((word)q < HBLKSIZE) continue;
if (gfl[nwords] == 0) {
if ((word)q >= HBLKSIZE) {
if (gfl[nwords] == 0) {
gfl[nwords] = q;
} else {
} else {
/* Concatenate: */
for (; (word)q >= HBLKSIZE; qptr = &(obj_link(q)), q = *qptr);
GC_ASSERT(0 == q);
*qptr = gfl[nwords];
gfl[nwords] = fl[i];
}
}
/* Clear fl[i], since the thread structure may hang around. */
/* Do it in a way that is likely to trap if we access it. */
@ -412,6 +413,7 @@ GC_PTR GC_local_gcj_malloc(size_t bytes,
/* A memory barrier is probably never needed, since the */
/* action of stopping this thread will cause prior writes */
/* to complete. */
GC_ASSERT(((void * volatile *)result)[1] == 0);
*(void * volatile *)result = ptr_to_struct_containing_descr;
return result;
} else if ((word)my_entry - 1 < DIRECT_GRANULES) {
@ -544,7 +546,7 @@ static void start_mark_threads()
ABORT("pthread_attr_getstacksize failed\n");
if (old_size < MIN_STACK_SIZE) {
if (pthread_attr_setstacksize(&attr, MIN_STACK_SIZE) != 0)
ABORT("pthread_attr_getstacksize failed\n");
ABORT("pthread_attr_setstacksize failed\n");
}
}
# endif /* HPUX */
@ -1015,6 +1017,7 @@ int GC_get_nprocs()
WARN("Couldn't read /proc/stat\n", 0);
return -1;
}
close(f);
for (i = 0; i < len - 100; ++i) {
if (stat_buf[i] == '\n' && stat_buf[i+1] == 'c'
&& stat_buf[i+2] == 'p' && stat_buf[i+3] == 'u') {

View File

@ -264,7 +264,7 @@ static void alloc_mark_stack();
GC_bool GC_mark_some(cold_gc_frame)
ptr_t cold_gc_frame;
{
#ifdef MSWIN32
#if defined(MSWIN32) && !defined(__GNUC__)
/* Windows 98 appears to asynchronously create and remove writable */
/* memory mappings, for reasons we haven't yet understood. Since */
/* we look for writable regions to determine the root set, we may */
@ -274,7 +274,7 @@ ptr_t cold_gc_frame;
/* Note that this code should never generate an incremental GC write */
/* fault. */
__try {
#endif
#endif /* defined(MSWIN32) && !defined(__GNUC__) */
switch(GC_mark_state) {
case MS_NONE:
return(FALSE);
@ -395,7 +395,7 @@ ptr_t cold_gc_frame;
ABORT("GC_mark_some: bad state");
return(FALSE);
}
#ifdef MSWIN32
#if defined(MSWIN32) && !defined(__GNUC__)
} __except (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ?
EXCEPTION_EXECUTE_HANDLER : EXCEPTION_CONTINUE_SEARCH) {
# ifdef CONDPRINT
@ -410,7 +410,7 @@ ptr_t cold_gc_frame;
scan_ptr = 0;
return FALSE;
}
#endif /* MSWIN32 */
#endif /* defined(MSWIN32) && !defined(__GNUC__) */
}
@ -546,13 +546,13 @@ mse * mark_stack_limit;
/* Large length. */
/* Process part of the range to avoid pushing too much on the */
/* stack. */
GC_ASSERT(descr < GC_greatest_plausible_heap_addr
- GC_least_plausible_heap_addr);
# ifdef PARALLEL_MARK
# define SHARE_BYTES 2048
if (descr > SHARE_BYTES && GC_parallel
&& mark_stack_top < mark_stack_limit - 1) {
int new_size = (descr/2) & ~(sizeof(word)-1);
GC_ASSERT(descr < GC_greatest_plausible_heap_addr
- GC_least_plausible_heap_addr);
mark_stack_top -> mse_start = current_p;
mark_stack_top -> mse_descr = new_size + sizeof(word);
/* makes sure we handle */

View File

@ -16,6 +16,7 @@
#include <stdio.h>
#include <limits.h>
#ifndef _WIN32_WCE
#include <signal.h>
#endif
@ -112,6 +113,12 @@ GC_bool GC_print_back_height = 0;
int GC_all_interior_pointers = 0;
#endif
long GC_large_alloc_warn_interval = 5;
/* Interval between unsuppressed warnings. */
long GC_large_alloc_warn_suppressed = 0;
/* Number of warnings suppressed so far. */
/*ARGSUSED*/
GC_PTR GC_default_oom_fn GC_PROTO((size_t bytes_requested))
{
@ -483,9 +490,9 @@ int sig;
#endif
#ifdef MSWIN32
extern GC_bool GC_is_win32s();
extern GC_bool GC_no_win32_dlls;
#else
# define GC_is_win32s() FALSE
# define GC_no_win32_dlls FALSE
#endif
void GC_init_inner()
@ -499,6 +506,10 @@ void GC_init_inner()
# ifdef PRINTSTATS
GC_print_stats = 1;
# endif
# if defined(MSWIN32) || defined(MSWINCE)
InitializeCriticalSection(&GC_write_cs);
# endif
if (0 != GETENV("GC_PRINT_STATS")) {
GC_print_stats = 1;
}
@ -514,11 +525,13 @@ void GC_init_inner()
if (0 != GETENV("GC_PRINT_BACK_HEIGHT")) {
GC_print_back_height = 1;
}
if (0 != GETENV("GC_NO_BLACKLIST_WARNING")) {
GC_large_alloc_warn_interval = LONG_MAX;
}
{
char * time_limit_string = GETENV("GC_PAUSE_TIME_TARGET");
if (0 != time_limit_string) {
long time_limit;
if (time_limit_string != 0) time_limit = atol(time_limit_string);
long time_limit = atol(time_limit_string);
if (time_limit < 5) {
WARN("GC_PAUSE_TIME_TARGET environment variable value too small "
"or bad syntax: Ignoring\n", 0);
@ -527,6 +540,18 @@ void GC_init_inner()
}
}
}
{
char * interval_string = GETENV("GC_LARGE_ALLOC_WARN_INTERVAL");
if (0 != interval_string) {
long interval = atol(interval_string);
if (interval <= 0) {
WARN("GC_LARGE_ALLOC_WARN_INTERVAL environment variable has "
"bad value: Ignoring\n", 0);
} else {
GC_large_alloc_warn_interval = interval;
}
}
}
# ifdef UNIX_LIKE
if (0 != GETENV("GC_LOOP_ON_ABORT")) {
GC_set_and_save_fault_handler(looping_handler);
@ -536,9 +561,6 @@ void GC_init_inner()
if (ALIGNMENT > GC_DS_TAGS && EXTRA_BYTES != 0) {
GC_obj_kinds[NORMAL].ok_descriptor = ((word)(-ALIGNMENT) | GC_DS_LENGTH);
}
# if defined(MSWIN32) || defined(MSWINCE)
InitializeCriticalSection(&GC_write_cs);
# endif
GC_setpagesize();
GC_exclude_static_roots(beginGC_arrays, endGC_arrays);
GC_exclude_static_roots(beginGC_obj_kinds, endGC_obj_kinds);
@ -637,7 +659,7 @@ void GC_init_inner()
GC_pcr_install();
# endif
# if !defined(SMALL_CONFIG)
if (!GC_is_win32s() && 0 != GETENV("GC_ENABLE_INCREMENTAL")) {
if (!GC_no_win32_dlls && 0 != GETENV("GC_ENABLE_INCREMENTAL")) {
GC_ASSERT(!GC_incremental);
GC_setpagesize();
# ifndef GC_SOLARIS_THREADS
@ -681,7 +703,7 @@ void GC_enable_incremental GC_PROTO(())
LOCK();
if (GC_incremental) goto out;
GC_setpagesize();
if (GC_is_win32s()) goto out;
if (GC_no_win32_dlls) goto out;
# ifndef GC_SOLARIS_THREADS
GC_dirty_init();
# endif

View File

@ -84,7 +84,7 @@
# include <setjmp.h>
#endif
#ifdef FREEBSD
#if defined(FREEBSD) && defined(I386)
# include <machine/trap.h>
#endif
@ -155,11 +155,11 @@
# ifdef LINUX
# pragma weak __data_start
extern int __data_start;
extern int __data_start[];
# pragma weak data_start
extern int data_start;
extern int data_start[];
# endif /* LINUX */
extern int _end;
extern int _end[];
ptr_t GC_data_start;
@ -169,16 +169,16 @@
# ifdef LINUX
/* Try the easy approaches first: */
if (&__data_start != 0) {
GC_data_start = (ptr_t)(&__data_start);
if (__data_start != 0) {
GC_data_start = (ptr_t)__data_start;
return;
}
if (&data_start != 0) {
GC_data_start = (ptr_t)(&data_start);
if (data_start != 0) {
GC_data_start = (ptr_t)data_start;
return;
}
# endif /* LINUX */
GC_data_start = GC_find_limit((ptr_t)(&_end), FALSE);
GC_data_start = GC_find_limit((ptr_t)_end, FALSE);
}
#endif
@ -747,14 +747,14 @@ ptr_t GC_get_stack_base()
ptr_t GC_freebsd_stack_base(void)
{
int nm[2] = { CTL_KERN, KERN_USRSTACK}, base, len, r;
len = sizeof(int);
r = sysctl(nm, 2, &base, &len, NULL, 0);
int nm[2] = {CTL_KERN, KERN_USRSTACK};
ptr_t base;
size_t len = sizeof(ptr_t);
int r = sysctl(nm, 2, &base, &len, NULL, 0);
if (r) ABORT("Error getting stack base");
return (ptr_t)base;
return base;
}
#endif /* FREEBSD_STACKBOTTOM */
@ -928,19 +928,17 @@ void GC_register_data_segments()
/* all real work is done by GC_register_dynamic_libraries. Under */
/* win32s, we cannot find the data segments associated with dll's. */
/* We rgister the main data segment here. */
GC_bool GC_win32s = FALSE; /* We're running under win32s. */
GC_bool GC_is_win32s()
{
DWORD v = GetVersion();
/* Check that this is not NT, and Windows major version <= 3 */
return ((v & 0x80000000) && (v & 0xff) <= 3);
}
# ifdef __GCC__
GC_bool GC_no_win32_dlls = TRUE; /* GCC can't do SEH, so we can't use VirtualQuery */
# else
GC_bool GC_no_win32_dlls = FALSE;
# endif
void GC_init_win32()
{
GC_win32s = GC_is_win32s();
/* if we're running under win32s, assume that no DLLs will be loaded */
DWORD v = GetVersion();
GC_no_win32_dlls |= ((v & 0x80000000) && (v & 0xff) <= 3);
}
/* Return the smallest address a such that VirtualQuery */
@ -1008,7 +1006,7 @@ void GC_register_data_segments()
char * base;
char * limit, * new_limit;
if (!GC_win32s) return;
if (!GC_no_win32_dlls) return;
p = base = limit = GC_least_described_address(static_root);
while (p < GC_sysinfo.lpMaximumApplicationAddress) {
result = VirtualQuery(p, &buf, sizeof(buf));
@ -1307,7 +1305,7 @@ SYSTEM_INFO GC_sysinfo;
# ifdef USE_GLOBAL_ALLOC
# define GLOBAL_ALLOC_TEST 1
# else
# define GLOBAL_ALLOC_TEST GC_win32s
# define GLOBAL_ALLOC_TEST GC_no_win32_dlls
# endif
word GC_n_heap_bases = 0;
@ -1338,7 +1336,7 @@ word bytes;
void GC_win32_free_heap ()
{
if (GC_win32s) {
if (GC_no_win32_dlls) {
while (GC_n_heap_bases > 0) {
GlobalFree (GC_heap_bases[--GC_n_heap_bases]);
GC_heap_bases[GC_n_heap_bases] = 0;

View File

@ -861,6 +861,25 @@ void GC_print_block_list()
#endif /* NO_DEBUGGING */
/*
* Clear all obj_link pointers in the list of free objects *flp.
* Clear *flp.
* This must be done before dropping a list of free gcj-style objects,
* since may otherwise end up with dangling "descriptor" pointers.
* It may help for other pointer-containg objects.
*/
void GC_clear_fl_links(flp)
ptr_t *flp;
{
ptr_t next = *flp;
while (0 != next) {
*flp = 0;
flp = &(obj_link(next));
next = *flp;
}
}
/*
* Perform GC_reclaim_block on the entire heap, after first clearing
* small object free lists (if we are not just looking for leaks).
@ -875,17 +894,24 @@ int report_if_found; /* Abort if a GC_reclaimable object is found */
# endif
/* Clear reclaim- and free-lists */
for (kind = 0; kind < GC_n_kinds; kind++) {
register ptr_t *fop;
register ptr_t *lim;
register struct hblk ** rlp;
register struct hblk ** rlim;
register struct hblk ** rlist = GC_obj_kinds[kind].ok_reclaim_list;
ptr_t *fop;
ptr_t *lim;
struct hblk ** rlp;
struct hblk ** rlim;
struct hblk ** rlist = GC_obj_kinds[kind].ok_reclaim_list;
GC_bool should_clobber = (GC_obj_kinds[kind].ok_descriptor != 0);
if (rlist == 0) continue; /* This kind not used. */
if (!report_if_found) {
lim = &(GC_obj_kinds[kind].ok_freelist[MAXOBJSZ+1]);
for( fop = GC_obj_kinds[kind].ok_freelist; fop < lim; fop++ ) {
*fop = 0;
if (*fop != 0) {
if (should_clobber) {
GC_clear_fl_links(fop);
} else {
*fop = 0;
}
}
}
} /* otherwise free list objects are marked, */
/* and its safe to leave them */

View File

@ -16,17 +16,27 @@
#include "private/gc_priv.h" /* For GC_compare_and_exchange, GC_memory_barrier */
#include "private/specific.h"
static tse invalid_tse; /* 0 qtid is guaranteed to be invalid */
static tse invalid_tse = {INVALID_QTID, 0, 0, INVALID_THREADID};
/* A thread-specific data entry which will never */
/* appear valid to a reader. Used to fill in empty */
/* cache entries to avoid a check for 0. */
int PREFIXED(key_create) (tsd ** key_ptr, void (* destructor)(void *)) {
int i;
tsd * result = (tsd *)MALLOC_CLEAR(sizeof (tsd));
/* A quick alignment check, since we need atomic stores */
GC_ASSERT((unsigned long)(&invalid_tse.next) % sizeof(tse *) == 0);
if (0 == result) return ENOMEM;
pthread_mutex_init(&(result -> lock), NULL);
for (i = 0; i < TS_CACHE_SIZE; ++i) {
result -> cache[i] = &invalid_tse;
}
# ifdef GC_ASSERTIONS
for (i = 0; i < TS_HASH_SIZE; ++i) {
GC_ASSERT(result -> hash[i] == 0);
}
# endif
*key_ptr = result;
return 0;
}
@ -36,12 +46,14 @@ int PREFIXED(setspecific) (tsd * key, void * value) {
int hash_val = HASH(self);
volatile tse * entry = (volatile tse *)MALLOC_CLEAR(sizeof (tse));
GC_ASSERT(self != INVALID_THREADID);
if (0 == entry) return ENOMEM;
pthread_mutex_lock(&(key -> lock));
/* Could easily check for an existing entry here. */
entry -> next = key -> hash[hash_val];
entry -> thread = self;
entry -> value = value;
GC_ASSERT(entry -> qtid == INVALID_QTID);
/* There can only be one writer at a time, but this needs to be */
/* atomic with respect to concurrent readers. */
*(volatile tse **)(key -> hash + hash_val) = entry;
@ -70,6 +82,10 @@ void PREFIXED(remove_specific) (tsd * key) {
*link = entry -> next;
/* Atomic! concurrent accesses still work. */
/* They must, since readers don't lock. */
/* We shouldn't need a volatile access here, */
/* since both this and the preceding write */
/* should become visible no later than */
/* the pthread_mutex_unlock() call. */
}
/* If we wanted to deallocate the entry, we'd first have to clear */
/* any cache entries pointing to it. That probably requires */
@ -91,6 +107,7 @@ void * PREFIXED(slow_getspecific) (tsd * key, unsigned long qtid,
unsigned hash_val = HASH(self);
tse *entry = key -> hash[hash_val];
GC_ASSERT(qtid != INVALID_QTID);
while (entry != NULL && entry -> thread != self) {
entry = entry -> next;
}
@ -99,6 +116,8 @@ void * PREFIXED(slow_getspecific) (tsd * key, unsigned long qtid,
entry -> qtid = qtid;
/* It's safe to do this asynchronously. Either value */
/* is safe, though may produce spurious misses. */
/* We're replacing one qtid with another one for the */
/* same thread. */
*cache_ptr = entry;
/* Again this is safe since pointer assignments are */
/* presumed atomic, and either pointer is valid. */

View File

@ -134,9 +134,6 @@ void GC_push_all_stacks()
(LPCONTEXT)&thread_table[i].context))
ABORT("GetThreadContext failed");
# ifdef I386
if (thread_table[i].context.Esp >= (DWORD)thread_table[i].stack
|| thread_table[i].context.Esp < (DWORD)bottom)
ABORT("Thread stack pointer out of range");
GC_push_one ((word) thread_table[i].context.Edi);
GC_push_one ((word) thread_table[i].context.Esi);
GC_push_one ((word) thread_table[i].context.Ebp);
@ -144,8 +141,15 @@ void GC_push_all_stacks()
GC_push_one ((word) thread_table[i].context.Edx);
GC_push_one ((word) thread_table[i].context.Ecx);
GC_push_one ((word) thread_table[i].context.Eax);
GC_push_all_stack((char *) thread_table[i].context.Esp,
thread_table[i].stack);
if (thread_table[i].context.Esp >= (DWORD)thread_table[i].stack
|| thread_table[i].context.Esp < (DWORD)bottom) {
WARN("Thread stack pointer 0x%lx out of range, pushing everything",
thread_table[i].context.Esp);
GC_push_all_stack((char *) bottom, thread_table[i].stack);
} else {
GC_push_all_stack((char *) thread_table[i].context.Esp,
thread_table[i].stack);
}
# else
# ifdef ARM32
if (thread_table[i].context.Sp >= (DWORD)thread_table[i].stack
@ -447,16 +451,22 @@ static DWORD WINAPI thread_start(LPVOID arg)
/* Clear the thread entry even if we exit with an exception. */
/* This is probably pointless, since an uncaught exception is */
/* supposed to result in the process being killed. */
#ifndef __GNUC__
__try {
#endif /* __GNUC__ */
ret = args.start (args.param);
#ifndef __GNUC__
} __finally {
#endif /* __GNUC__ */
LOCK();
args.entry->stack = 0;
args.entry->in_use = FALSE;
/* cast away volatile qualifier */
BZERO((void *) &args.entry->context, sizeof(CONTEXT));
UNLOCK();
#ifndef __GNUC__
}
#endif /* __GNUC__ */
return ret;
}

View File

@ -553,6 +553,7 @@ multi-do:
LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
LDFLAGS="$(LDFLAGS) $${flags}" \
DESTDIR="$(DESTDIR)" \
$(DO)); then \
true; \
else \

336
config.guess vendored
View File

@ -1,9 +1,9 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2002-01-30'
timestamp='2003-01-30'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -88,30 +88,41 @@ if test $# != 0; then
exit 1
fi
trap 'exit 1' 1 2 15
dummy=dummy-$$
trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
# compiler to aid in system detection is discouraged as it requires
# temporary files to be created and, as you can see below, it is a
# headache to deal with in a portable fashion.
# CC_FOR_BUILD -- compiler used by this script.
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
# use `HOST_CC' if defined, but it is deprecated.
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int dummy(){}" > $dummy.c ;
for c in cc gcc c89 ; do
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
if test $? = 0 ; then
# Portable tmp directory creation inspired by the Autoconf team.
set_cc_for_build='
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
: ${TMPDIR=/tmp} ;
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
dummy=$tmp/dummy ;
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int x;" > $dummy.c ;
for c in cc gcc c89 c99 ; do
if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
CC_FOR_BUILD="$c"; break ;
fi ;
done ;
rm -f $dummy.c $dummy.o $dummy.rel ;
if test x"$CC_FOR_BUILD" = x ; then
CC_FOR_BUILD=no_compiler_found ;
fi
;;
,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;;
esac'
esac ;'
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24)
@ -138,9 +149,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
#
# Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \
UNAME_MACHINE_ARCH=unknown
sysctl="sysctl -n hw.machine_arch"
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
case "${UNAME_MACHINE_ARCH}" in
armeb) machine=armeb-unknown ;;
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
@ -166,7 +179,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
;;
esac
# The OS release
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
# Debian GNU/NetBSD machines have a different userland, and
# thus, need a distinct triplet. However, they do not need
# kernel version information, so it can be replaced with a
# suitable tag, in the style of linux-gnu.
case "${UNAME_VERSION}" in
Debian*)
release='-gnu'
;;
*)
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
;;
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
@ -211,67 +235,54 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
*:MicroBSD:*:*)
echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
# types through head -n 1, so we only detect the type of CPU 0.
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
case "$ALPHA_CPU_TYPE" in
"EV4 (21064)")
UNAME_MACHINE="alpha" ;;
"EV4.5 (21064)")
UNAME_MACHINE="alpha" ;;
"LCA4 (21066/21068)")
UNAME_MACHINE="alpha" ;;
"EV5 (21164)")
UNAME_MACHINE="alphaev5" ;;
"EV5.6 (21164A)")
UNAME_MACHINE="alphaev56" ;;
"EV5.6 (21164PC)")
UNAME_MACHINE="alphapca56" ;;
"EV5.7 (21164PC)")
UNAME_MACHINE="alphapca57" ;;
"EV6 (21264)")
UNAME_MACHINE="alphaev6" ;;
"EV6.7 (21264A)")
UNAME_MACHINE="alphaev67" ;;
"EV6.8CB (21264C)")
UNAME_MACHINE="alphaev68" ;;
"EV6.8AL (21264B)")
UNAME_MACHINE="alphaev68" ;;
"EV6.8CX (21264D)")
UNAME_MACHINE="alphaev68" ;;
"EV6.9A (21264/EV69A)")
UNAME_MACHINE="alphaev69" ;;
"EV7 (21364)")
UNAME_MACHINE="alphaev7" ;;
"EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;;
esac
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
cat <<EOF >$dummy.s
.data
\$Lformat:
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
.text
.globl main
.align 4
.ent main
main:
.frame \$30,16,\$26,0
ldgp \$29,0(\$27)
.prologue 1
.long 0x47e03d80 # implver \$0
lda \$2,-1
.long 0x47e20c21 # amask \$2,\$1
lda \$16,\$Lformat
mov \$0,\$17
not \$1,\$18
jsr \$26,printf
ldgp \$29,0(\$26)
mov 0,\$16
jsr \$26,exit
.end main
EOF
eval $set_cc_for_build
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
if test "$?" = 0 ; then
case `./$dummy` in
0-0)
UNAME_MACHINE="alpha"
;;
1-0)
UNAME_MACHINE="alphaev5"
;;
1-1)
UNAME_MACHINE="alphaev56"
;;
1-101)
UNAME_MACHINE="alphapca56"
;;
2-303)
UNAME_MACHINE="alphaev6"
;;
2-307)
UNAME_MACHINE="alphaev67"
;;
2-1307)
UNAME_MACHINE="alphaev68"
;;
esac
fi
rm -f $dummy.s $dummy
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;;
Alpha\ *:Windows_NT*:*)
@ -312,6 +323,10 @@ EOF
NILE*:*:*:dcosx)
echo pyramid-pyramid-svr4
exit 0 ;;
DRS?6000:UNIX_SV:4.2*:7*)
case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7 && exit 0 ;;
esac ;;
sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
@ -340,7 +355,7 @@ EOF
echo m68k-sun-sunos${UNAME_RELEASE}
exit 0 ;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
case "`/bin/arch`" in
sun3)
@ -418,15 +433,20 @@ EOF
exit (-1);
}
EOF
$CC_FOR_BUILD $dummy.c -o $dummy \
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
&& rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy
$CC_FOR_BUILD -o $dummy $dummy.c \
&& $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
&& exit 0
echo mips-mips-riscos${UNAME_RELEASE}
exit 0 ;;
Motorola:PowerMAX_OS:*:*)
echo powerpc-motorola-powermax
exit 0 ;;
Motorola:*:4.3:PL8-*)
echo powerpc-harris-powermax
exit 0 ;;
Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
echo powerpc-harris-powermax
exit 0 ;;
Night_Hawk:Power_UNIX:*:*)
echo powerpc-harris-powerunix
exit 0 ;;
@ -499,8 +519,7 @@ EOF
exit(0);
}
EOF
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4
@ -509,7 +528,7 @@ EOF
fi
exit 0 ;;
*:AIX:*:[45])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=rs6000
else
@ -598,11 +617,21 @@ EOF
exit (0);
}
EOF
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
rm -f $dummy.c $dummy
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
test -z "$HP_ARCH" && HP_ARCH=hppa
fi ;;
esac
if [ ${HP_ARCH} = "hppa2.0w" ]
then
# avoid double evaluation of $set_cc_for_build
test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
then
HP_ARCH="hppa2.0w"
else
HP_ARCH="hppa64"
fi
fi
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
ia64:HP-UX:*:*)
@ -636,8 +665,7 @@ EOF
exit (0);
}
EOF
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
echo unknown-hitachi-hiuxwe2
exit 0 ;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
@ -683,9 +711,6 @@ EOF
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd
exit 0 ;;
CRAY*X-MP:*:*:*)
echo xmp-cray-unicos
exit 0 ;;
CRAY*Y-MP:*:*:*)
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
@ -698,18 +723,15 @@ EOF
CRAY*TS:*:*:*)
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
CRAY*T3D:*:*:*)
echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
CRAY*T3E:*:*:*)
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
CRAY*SV1:*:*:*)
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
CRAY-2:*:*:*)
echo cray2-cray-unicos
exit 0 ;;
*:UNICOS/mp:*:*)
echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
@ -726,7 +748,18 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
# Determine whether the default compiler uses glibc.
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
#if __GLIBC__ >= 2
LIBC=gnu
#else
LIBC=
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
exit 0 ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
@ -738,13 +771,16 @@ EOF
echo ${UNAME_MACHINE}-pc-pw32
exit 0 ;;
x86:Interix*:3*)
echo i386-pc-interix3
echo i586-pc-interix3
exit 0 ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit 0 ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
# UNAME_MACHINE based on the output of uname instead of i386?
echo i386-pc-interix
echo i586-pc-interix
exit 0 ;;
i*:UWIN*:*)
echo ${UNAME_MACHINE}-pc-uwin
@ -765,7 +801,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
@ -776,19 +812,37 @@ EOF
#undef CPU
#undef mips
#undef mipsel
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mipsel
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mipsel
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips
#else
CPU=
#endif
#endif
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
rm -f $dummy.c
test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
;;
mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
#undef mips64
#undef mips64el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mips64el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips64
#else
CPU=
#endif
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
@ -837,9 +891,8 @@ EOF
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.
# Export LANG=C to prevent ld from outputting information in other
# languages.
ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \
# Set LC_ALL=C to ensure ld outputs messages in English.
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
| sed -ne '/supported targets:/!d
s/[ ][ ]*/ /g
s/.*supported targets: *//
@ -851,7 +904,7 @@ EOF
;;
a.out-i386-linux)
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
exit 0 ;;
exit 0 ;;
coff-i386)
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
exit 0 ;;
@ -884,7 +937,6 @@ EOF
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
rm -f $dummy.c
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
;;
@ -902,6 +954,23 @@ EOF
# Use sysv4.2uw... so that sysv4* matches it.
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
exit 0 ;;
i*86:OS/2:*:*)
# If we were able to find `uname', then EMX Unix compatibility
# is probably installed.
echo ${UNAME_MACHINE}-pc-os2-emx
exit 0 ;;
i*86:XTS-300:*:STOP)
echo ${UNAME_MACHINE}-unknown-stop
exit 0 ;;
i*86:atheos:*:*)
echo ${UNAME_MACHINE}-unknown-atheos
exit 0 ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
i*86:*DOS:*:*)
echo ${UNAME_MACHINE}-pc-msdosdjgpp
exit 0 ;;
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
@ -923,22 +992,19 @@ EOF
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
&& UNAME_MACHINE=i586
(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
&& UNAME_MACHINE=i686
(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
&& UNAME_MACHINE=i686
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
else
echo ${UNAME_MACHINE}-pc-sysv32
fi
exit 0 ;;
i*86:*DOS:*:*)
echo ${UNAME_MACHINE}-pc-msdosdjgpp
exit 0 ;;
pc:*:*:*)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
@ -962,9 +1028,15 @@ EOF
# "miniframe"
echo m68010-convergent-sysv
exit 0 ;;
mc68k:UNIX:SYSTEM5:3.51m)
echo m68k-convergent-sysv
exit 0 ;;
M680?0:D-NIX:5.3:*)
echo m68k-diab-dnix
exit 0 ;;
M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0)
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@ -981,9 +1053,6 @@ EOF
mc68030:UNIX_System_V:4.*:*)
echo m68k-atari-sysv4
exit 0 ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
TSUNAMI:LynxOS:2.*:*)
echo sparc-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
@ -1055,6 +1124,9 @@ EOF
SX-5:SUPER-UX:*:*)
echo sx5-nec-superux${UNAME_RELEASE}
exit 0 ;;
SX-6:SUPER-UX:*:*)
echo sx6-nec-superux${UNAME_RELEASE}
exit 0 ;;
Power*:Rhapsody:*:*)
echo powerpc-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
@ -1062,20 +1134,24 @@ EOF
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
*:Darwin:*:*)
echo `uname -p`-apple-darwin${UNAME_RELEASE}
case `uname -p` in
*86) UNAME_PROCESSOR=i686 ;;
powerpc) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit 0 ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
if test "${UNAME_MACHINE}" = "x86pc"; then
UNAME_PROCESSOR=`uname -p`
if test "$UNAME_PROCESSOR" = "x86"; then
UNAME_PROCESSOR=i386
UNAME_MACHINE=pc
echo i386-${UNAME_MACHINE}-nto-qnx
else
echo `uname -p`-${UNAME_MACHINE}-nto-qnx
fi
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
exit 0 ;;
*:QNX:*:4*)
echo i386-pc-qnx
exit 0 ;;
NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE}
exit 0 ;;
*:NonStop-UX:*:*)
@ -1098,11 +1174,6 @@ EOF
fi
echo ${UNAME_MACHINE}-unknown-plan9
exit 0 ;;
i*86:OS/2:*:*)
# If we were able to find `uname', then EMX Unix compatibility
# is probably installed.
echo ${UNAME_MACHINE}-pc-os2-emx
exit 0 ;;
*:TOPS-10:*:*)
echo pdp10-unknown-tops10
exit 0 ;;
@ -1121,12 +1192,6 @@ EOF
*:ITS:*:*)
echo pdp10-unknown-its
exit 0 ;;
i*86:XTS-300:*:STOP)
echo ${UNAME_MACHINE}-unknown-stop
exit 0 ;;
i*86:atheos:*:*)
echo ${UNAME_MACHINE}-unknown-atheos
exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
@ -1247,8 +1312,7 @@ main ()
}
EOF
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
# Apollos put the system type in the environment.

View File

@ -2,9 +2,8 @@
# Don't call it directly. This shell script fragment is called to
# determine:
#
# 1. libstcxx_interface: the interface name for libstdc++.
# 2. cxx_interface: the interface name for c++.
# 3. libc_interface: the interface name for libc.
# 1. libstcxx_incdir: the interface name for libstdc++.
# 2. libc_interface: the interface name for libc.
#
# Get the top level src dir.
@ -21,12 +20,12 @@ else
if_topsrcdir=${top_srcdir}
fi
libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3
# We check libstdc++-v3/configure.in for libstdcxx_interface.
libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/configure.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
libstdcxx_incdir=g++-${libstdcxx_interface}
# Used to version libstdc++ shared libraries
cxx_interface=2
# Set libstdcxx_incdir.
# This is the same as gcc/configure.in and libstdc++-v3/acinclude.m4.
gcc_version_trigger=${if_topsrcdir}/gcc/version.c
gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
libstdcxx_incdir=c++/${gcc_version}
# The trickiest part is libc_interface.
if [ -z "${libc_interface}" ]

206
config.sub vendored
View File

@ -1,9 +1,9 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2002-02-01'
timestamp='2003-01-28'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@ -118,7 +118,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
@ -229,25 +229,37 @@ case $basic_machine in
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
| c4x | clipper \
| d10v | d30v | dsp16xx \
| fr30 \
| clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k \
| m32r | m68000 | m68k | m88k | mcore \
| mips16 | mips64 | mips64el | mips64orion | mips64orionel \
| mips64vr4100 | mips64vr4100el | mips64vr4300 \
| mips64vr4300el | mips64vr5000 | mips64vr5000el \
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
| mipsisa32 \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
| mips64vr | mips64vrel \
| mips64orion | mips64orionel \
| mips64vr4100 | mips64vr4100el \
| mips64vr4300 | mips64vr4300el \
| mips64vr5000 | mips64vr5000el \
| mipsisa32 | mipsisa32el \
| mipsisa32r2 | mipsisa32r2el \
| mipsisa64 | mipsisa64el \
| mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \
| mipstx39 | mipstx39el \
| mn10200 | mn10300 \
| msp430 \
| ns16k | ns32k \
| openrisc | or32 \
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
| sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
| strongarm \
| tahoe | thumb | tic80 | tron \
| v850 | v850e \
@ -281,37 +293,50 @@ case $basic_machine in
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-* | armbe-* | armle-* | armv*-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
| bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c54x-* \
| clipper-* | cray2-* | cydra-* \
| d10v-* | d30v-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
| clipper-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
| f30[01]-* | f700-* | fr30-* | fx80-* \
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
| h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* \
| m32r-* \
| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | mcore-* \
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
| none-* | np1-* | ns16k-* | ns32k-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
| mips64vr-* | mips64vrel-* \
| mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* \
| mips64vr4300-* | mips64vr4300el-* \
| mips64vr5000-* | mips64vr5000el-* \
| mipsisa32-* | mipsisa32el-* \
| mipsisa32r2-* | mipsisa32r2el-* \
| mipsisa64-* | mipsisa64el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
| mipstx39-* | mipstx39el-* \
| msp430-* \
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
| orion-* \
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
| romp-* | rs6000-* \
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
| xtensa-* \
| ymp-* \
| z8k-*)
@ -377,6 +402,10 @@ case $basic_machine in
basic_machine=ns32k-sequent
os=-dynix
;;
c90)
basic_machine=c90-cray
os=-unicos
;;
convex-c1)
basic_machine=c1-convex
os=-bsd
@ -397,16 +426,8 @@ case $basic_machine in
basic_machine=c38-convex
os=-bsd
;;
cray | ymp)
basic_machine=ymp-cray
os=-unicos
;;
cray2)
basic_machine=cray2-cray
os=-unicos
;;
[cjt]90)
basic_machine=${basic_machine}-cray
cray | j90)
basic_machine=j90-cray
os=-unicos
;;
crds | unos)
@ -609,14 +630,6 @@ case $basic_machine in
basic_machine=m68k-atari
os=-mint
;;
mipsel*-linux*)
basic_machine=mipsel-unknown
os=-linux-gnu
;;
mips*-linux*)
basic_machine=mips-unknown
os=-linux-gnu
;;
mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
;;
@ -707,6 +720,10 @@ case $basic_machine in
np1)
basic_machine=np1-gould
;;
nv1)
basic_machine=nv1-cray
os=-unicosmp
;;
nsr-tandem)
basic_machine=nsr-tandem
;;
@ -740,13 +757,13 @@ case $basic_machine in
pbb)
basic_machine=m68k-tti
;;
pc532 | pc532-*)
pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
pentium | p5 | k5 | k6 | nexgen | viac3)
basic_machine=i586-pc
;;
pentiumpro | p6 | 6x86 | athlon)
pentiumpro | p6 | 6x86 | athlon | athlon_*)
basic_machine=i686-pc
;;
pentiumii | pentium2)
@ -767,22 +784,22 @@ case $basic_machine in
power) basic_machine=power-ibm
;;
ppc) basic_machine=powerpc-unknown
;;
;;
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)
basic_machine=powerpcle-unknown
;;
;;
ppcle-* | powerpclittle-*)
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64) basic_machine=powerpc64-unknown
;;
;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
basic_machine=powerpc64le-unknown
;;
;;
ppc64le-* | powerpc64little-*)
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
@ -813,6 +830,12 @@ case $basic_machine in
basic_machine=a29k-amd
os=-udi
;;
sb1)
basic_machine=mipsisa64sb1-unknown
;;
sb1el)
basic_machine=mipsisa64sb1el-unknown
;;
sequent)
basic_machine=i386-sequent
;;
@ -887,9 +910,17 @@ case $basic_machine in
os=-dynix
;;
t3e)
basic_machine=t3e-cray
basic_machine=alphaev5-cray
os=-unicos
;;
t90)
basic_machine=t90-cray
os=-unicos
;;
tic4x | c4x*)
basic_machine=tic4x-unknown
os=-coff
;;
tic54x | c54x*)
basic_machine=tic54x-unknown
os=-coff
@ -928,8 +959,8 @@ case $basic_machine in
os=-vms
;;
vpp*|vx|vx-*)
basic_machine=f301-fujitsu
;;
basic_machine=f301-fujitsu
;;
vxworks960)
basic_machine=i960-wrs
os=-vxworks
@ -950,17 +981,13 @@ case $basic_machine in
basic_machine=hppa1.1-winbond
os=-proelf
;;
windows32)
basic_machine=i386-pc
os=-windows32-msvcrt
;;
xmp)
basic_machine=xmp-cray
os=-unicos
;;
xps | xps100)
xps | xps100)
basic_machine=xps100-honeywell
;;
ymp)
basic_machine=ymp-cray
os=-unicos
;;
z8k-*-coff)
basic_machine=z8k-unknown
os=-sim
@ -981,13 +1008,6 @@ case $basic_machine in
op60c)
basic_machine=hppa1.1-oki
;;
mips)
if [ x$os = x-linux-gnu ]; then
basic_machine=mips-unknown
else
basic_machine=mips-mips
fi
;;
romp)
basic_machine=romp-ibm
;;
@ -1007,7 +1027,7 @@ case $basic_machine in
we32k)
basic_machine=we32k-att
;;
sh3 | sh4 | sh3eb | sh4eb)
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
sh64)
@ -1016,7 +1036,7 @@ case $basic_machine in
sparc | sparcv9 | sparcv9b)
basic_machine=sparc-sun
;;
cydra)
cydra)
basic_machine=cydra-cydrome
;;
orion)
@ -1031,10 +1051,6 @@ case $basic_machine in
pmac | pmac-mpw)
basic_machine=powerpc-apple
;;
c4x*)
basic_machine=c4x-none
os=-coff
;;
*-unknown)
# Make sure to match an already-canonicalized machine name.
;;
@ -1097,10 +1113,12 @@ case $os in
| -chorusos* | -chorusrdb* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* | -morphos*)
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -microbsd*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@ -1112,8 +1130,10 @@ case $os in
;;
esac
;;
-nto-qnx*)
;;
-nto*)
os=-nto-qnx
os=`echo $os | sed -e 's|nto|nto-qnx|'`
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
@ -1161,8 +1181,11 @@ case $os in
-ctix* | -uts*)
os=-sysv
;;
-nova*)
os=-rtmk-nova
;;
-ns2 )
os=-nextstep2
os=-nextstep2
;;
-nsk*)
os=-nsk
@ -1201,8 +1224,11 @@ case $os in
-xenix)
os=-xenix
;;
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint
;;
-aros*)
os=-aros
;;
-none)
;;
@ -1239,7 +1265,7 @@ case $basic_machine in
pdp10-*)
os=-tops20
;;
pdp11-*)
pdp11-*)
os=-none
;;
*-dec | vax-*)
@ -1332,19 +1358,19 @@ case $basic_machine in
*-next)
os=-nextstep3
;;
*-gould)
*-gould)
os=-sysv
;;
*-highlevel)
*-highlevel)
os=-bsd
;;
*-encore)
os=-bsd
;;
*-sgi)
*-sgi)
os=-irix
;;
*-siemens)
*-siemens)
os=-sysv4
;;
*-masscomp)
@ -1416,7 +1442,7 @@ case $basic_machine in
-ptx*)
vendor=sequent
;;
-vxsim* | -vxworks*)
-vxsim* | -vxworks* | -windiss*)
vendor=wrs
;;
-aux*)

View File

@ -1,3 +1,39 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Release Manager
* GCC 3.2.1 Released.
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
* acinclude.m4: Fix spelling error of "separate" as "seperate".

View File

@ -1,3 +1,39 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Release Manager
* GCC 3.2.1 Released.
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
Tue Nov 26 12:34:12 1996 Stan Shebs <shebs@andros.cygnus.com>
* g-mpw-make.sed: Fix some comments.

2
configure vendored
View File

@ -89,7 +89,7 @@ subdirs=
target_alias=NOTARGET
target_makefile_frag=
undefs=NOUNDEFS
version="$Revision: 1.39 $"
version="$Revision: 1.40.6.2 $"
x11=default
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'

View File

@ -15,7 +15,7 @@
## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi).
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
# 1999, 2000 Free Software Foundation, Inc.
# 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -50,7 +50,7 @@ fi
libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself.
libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
@ -73,7 +73,6 @@ target_libs="target-libiberty \
target-librx \
${libstdcxx_version} \
target-libf2c \
target-libchill \
${libgcj}
target-libobjc"
@ -617,12 +616,16 @@ case "${target}" in
*-*-chorusos)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
*-*-netbsd*)
# Skip some stuff on all NetBSD configurations.
skipdirs="$skipdirs target-newlib target-libiberty target-libgloss"
# Skip some stuff that's unsupported on some NetBSD configurations.
case "${target}" in
i*86-*-netbsdelf*) ;;
*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
@ -633,6 +636,12 @@ case "${target}" in
;;
*-*-rtems*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
case ${target} in
h8300*-*-* | h8500-*-*)
noconfigdirs="$noconfigdirs target-libf2c"
;;
*) ;;
esac
;;
*-*-vxworks*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
@ -641,7 +650,7 @@ case "${target}" in
# ld works, but does not support shared libraries. emacs doesn't
# work. newlib is not 64 bit ready. I'm not sure about fileutils.
# gas doesn't generate exception information.
noconfigdirs="$noconfigdirs gas ld emacs fileutils target-newlib target-libgloss ${libgcj}"
noconfigdirs="$noconfigdirs gas ld emacs fileutils target-newlib target-libgloss"
;;
alpha*-*-*vms*)
noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
@ -652,6 +661,9 @@ case "${target}" in
# linux has rx in libc
skipdirs="$skipdirs target-librx"
;;
alpha*-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
alpha*-*-*)
# newlib is not 64 bit ready
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
@ -725,7 +737,7 @@ case "${target}" in
fi
;;
xscale-*-elf)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
noconfigdirs="$noconfigdirs target-libgloss target-libffi target-qthreads"
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi
@ -796,6 +808,15 @@ case "${target}" in
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
i[34567]86-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
s390*-*-linux*)
# The libffi port is not yet in the GCC tree
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
# linux has rx in libc
skipdirs="$skipdirs target-librx"
;;
*-*-linux*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
# linux has rx in libc
@ -866,6 +887,11 @@ case "${target}" in
target_configdirs="${target_configdirs} target-bsp target-cygmon"
fi
;;
mcore-*-pe*)
# The EPOC C++ environment does not support exceptions or rtti,
# and so building libstdc++-v3 tends not to always work.
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
mmix-*-*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
@ -951,6 +977,9 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof ${libgcj}" # same as generic mips
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
;;
mips*-*-linux*)
noconfigdirs="$noconfigdirs target-libffi"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
@ -973,11 +1002,13 @@ case "${target}" in
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparc64-*-elf*)
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
noconfigdirs="$noconfigdirs ${libgcj}"
;;
sparclite-*-*)
if [ x${is_cross_compiler} != xno ] ; then
@ -993,16 +1024,7 @@ case "${target}" in
use_gnu_ld=no
fi
;;
sparc-*-solaris*)
case "${host}" in
sparc-*-solaris2.8)
# According to Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, libjava
# won't build correctly on Solaris 8 if there's a
# previously-installed version of GCC in the configured prefix.
# This problem does not show up on earlier versions of Solaris.
noconfigdirs="$noconfigdirs ${libgcj}"
;;
esac
sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
;;
v810-*-*)
noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld ${libstdcxx_version} opcodes target-libgloss ${libgcj}"
@ -1433,7 +1455,7 @@ if test -n "${with_gxx_include_dir}"; then
fi
if test x${gxx_include_dir} = x; then
if test x${enable_version_specific_runtime_libs} = xyes; then
gxx_include_dir='${libsubdir}/include/g++'
gxx_include_dir='${libsubdir}/include/c++'
else
. ${topsrcdir}/config.if
gxx_include_dir='${prefix}/include/${libstdcxx_incdir}'
@ -1521,20 +1543,6 @@ case $CC_FOR_TARGET in
*) CC_FOR_TARGET=$CC_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${CHILL_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
CHILL_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/ -L$$r/gcc/ch/runtime/'
elif test "$host" = "$target"; then
CHILL_FOR_TARGET='$(CC)'
else
CHILL_FOR_TARGET=`echo gcc | sed -e 's/x/x/' ${program_transform_name}`
fi
case $CHILL_FOR_TARGET in
*' $(FLAGS_FOR_TARGET)') ;;
*) CHILL_FOR_TARGET=$CHILL_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${GCJ_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
@ -1544,10 +1552,17 @@ elif test "$host" = "$target"; then
else
GCJ_FOR_TARGET=`echo gcj | sed -e 's/x/x/' ${program_transform_name}`
fi
case $GCJ_FOR_TARGET in
*' $(FLAGS_FOR_TARGET)') ;;
*) GCJ_FOR_TARGET=$GCJ_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
if test "x${CXX_FOR_TARGET+set}" = xset; then
:
elif test -d ${topsrcdir}/gcc; then
# We add -shared-libgcc to CXX_FOR_TARGET whenever we use xgcc instead
# of g++ for linking C++ or Java, because g++ has -shared-libgcc by
# default whereas gcc does not.
CXX_FOR_TARGET='$$r/gcc/`case $$dir in libstdc++-v3 | libjava) echo xgcc -shared-libgcc ;; *) echo g++ ;; esac` -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
elif test "$host" = "$target"; then
CXX_FOR_TARGET='$(CXX)'
@ -1574,7 +1589,6 @@ s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:
s%^TARGET_CONFIGARGS[ ]*=.*$%TARGET_CONFIGARGS = ${targargs}%
s%^FLAGS_FOR_TARGET[ ]*=.*$%FLAGS_FOR_TARGET = ${FLAGS_FOR_TARGET}%
s%^CC_FOR_TARGET[ ]*=.*$%CC_FOR_TARGET = ${CC_FOR_TARGET}%
s%^CHILL_FOR_TARGET[ ]*=.*$%CHILL_FOR_TARGET = ${CHILL_FOR_TARGET}%
s%^GCJ_FOR_TARGET[ ]*=.*$%GCJ_FOR_TARGET = ${GCJ_FOR_TARGET}%
s%^CXX_FOR_TARGET[ ]*=.*$%CXX_FOR_TARGET = ${qCXX_FOR_TARGET}%
s%^CXX_FOR_TARGET_FOR_RECURSIVE_MAKE[ ]*=.*$%CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = ${qqCXX_FOR_TARGET}%

View File

@ -1,3 +1,72 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2003-01-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends
on gcc/cp/cfns.gperf and gcc/java/keyword.h depends on
gcc/java/keyword.gperf
2003-01-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
depending on gcc/intl/plural.y.
2003-01-25 Richard Henderson <rth@redhat.com>
* gcc_update: Remove libchill.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Release Manager
* GCC 3.2.1 Released.
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-08-14 Mark Mitchell <mark@codesourcery.com>
* gennews (files): Add GCC 3.2 files.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-07-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gennews (files): Add proper files for the GCC 3.1 release series.
Simplify and reformat introductory wording.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-04-03 Zack Weinberg <zack@codesourcery.com>
* texi2pod.pl: Handle @end ftable and @end vtable.
2002-03-12 Zack Weinberg <zack@codesourcery.com>
* texi2pod.pl: Handle @include, @ftable, @vtable.
Reformat some code for clarity.
2002-02-24 Christian Jönsson <c.christian.joensson@telia.com>
* test_summary: Additional to XPASS and FAIL, add UNRESOLVED,

View File

@ -29,7 +29,7 @@
# contrib/gcc_update --list
#
#
# (C) 1998, 1999, 2000, 2001 Free Software Foundation
# (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation
# Originally by Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, August 1998.
#
# This script is Free Software, and it can be copied, distributed and
@ -69,15 +69,17 @@ gcc/configure: gcc/configure.in
gcc/cstamp-h.in: gcc/configure.in gcc/acconfig.h
gcc/config.in: gcc/cstamp-h.in
gcc/fixinc/fixincl.x: gcc/fixinc/fixincl.tpl gcc/fixinc/inclhack.def
gcc/intl/plural.c: gcc/intl/plural.y
# And then, language-specific files
gcc/f/intdoc.texi: gcc/f/intdoc.in gcc/f/intdoc.c gcc/f/intrin.h gcc/f/intrin.def
gcc/cp/cfns.h: gcc/cp/cfns.gperf
gcc/java/keyword.h: gcc/java/keyword.gperf
gcc/ada/treeprs.ads: gcc/ada/treeprs.adt gcc/ada/sinfo.ads gcc/ada/xtreeprs.adb
gcc/ada/einfo.h: gcc/ada/einfo.ads gcc/ada/einfo.adb gcc/ada/xeinfo.adb
gcc/ada/sinfo.h: gcc/ada/sinfo.ads gcc/ada/xsinfo.adb
gcc/ada/nmake.adb: gcc/ada/sinfo.ads gcc/ada/nmake.adt gcc/ada/xnmake.adb
gcc/ada/nmake.ads: gcc/ada/sinfo.ads gcc/ada/nmake.adt gcc/ada/xnmake.adb
# And libraries, at last
libchill/configure: libchill/configure.in
libf2c/configure: libf2c/configure.in
libf2c/libF77/configure: libf2c/libF77/configure.in
libf2c/libI77/configure: libf2c/libI77/configure.in

View File

@ -3,7 +3,7 @@
# Script to generate the NEWS file from online release notes.
# Contributed by Joseph Myers <jsm28@cam.ac.uk>.
#
# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
# This file is part of GNU CC.
#
# GNU CC is free software; you can redistribute it and/or modify
@ -22,7 +22,9 @@
# Boston, MA 02111-1307, USA.
website=http://gcc.gnu.org/
files="gcc-3.0/gcc-3.0.html gcc-3.0/features.html gcc-3.0/caveats.html
files="gcc-3.2/index.html gcc-3.2/changes.html
gcc-3.1/index.html gcc-3.1/changes.html
gcc-3.0/gcc-3.0.html gcc-3.0/features.html gcc-3.0/caveats.html
gcc-2.95/index.html gcc-2.95/features.html gcc-2.95/caveats.html
egcs-1.1/index.html egcs-1.1/features.html egcs-1.1/caveats.html
egcs-1.0/egcs-1.0.3.html egcs-1.0/egcs-1.0.2.html egcs-1.0/egcs-1.0.1.html
@ -31,11 +33,11 @@ files="gcc-3.0/gcc-3.0.html gcc-3.0/features.html gcc-3.0/caveats.html
set -e
cat <<EOF
This file contains information about GCC releases which has been
generated automatically from the online release notes. This file
covers releases of GCC (and the former EGCS project) since EGCS 1.0,
on the line of development that led to GCC 3; for information on GCC
2.8.1 and older releases of GCC 2, see ONEWS.
This file contains information about GCC releases which has been generated
automatically from the online release notes. It covers releases of GCC
(and the former EGCS project) since EGCS 1.0, on the line of development
that led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2,
see ONEWS.
EOF

View File

@ -1,3 +1,39 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Release Manager
* GCC 3.2.1 Released.
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-01-31 Geoffrey Keating <geoffk@redhat.com>
* btest-gcc.sh: New file.

View File

@ -30,9 +30,12 @@ $section = "";
@icstack = ();
@endwstack = ();
@skstack = ();
@instack = ();
$shift = "";
%defs = ();
$fnno = 1;
$inf = "";
$ibase = "";
while ($_ = shift) {
if (/^-D(.*)$/) {
@ -58,14 +61,19 @@ while ($_ = shift) {
}
if (defined $in) {
open(STDIN, $in) or die "opening \"$in\": $!\n";
$inf = gensym();
open($inf, "<$in") or die "opening \"$in\": $!\n";
$ibase = $1 if $in =~ m|^(.+)/[^/]+$|;
} else {
$inf = \*STDIN;
}
if (defined $out) {
open(STDOUT, ">$out") or die "opening \"$out\": $!\n";
}
while(<STDIN>)
{
while(defined $inf) {
while(<$inf>) {
# Certain commands are discarded without further processing.
/^\@(?:
[a-z]+index # @*index: useful only in complete manual
@ -109,8 +117,14 @@ while(<STDIN>)
};
# handle variables
/^\@set\s+([a-zA-Z0-9_-]+)\s*(.*)$/ and $defs{$1} = $2, next;
/^\@clear\s+([a-zA-Z0-9_-]+)/ and delete $defs{$1}, next;
/^\@set\s+([a-zA-Z0-9_-]+)\s*(.*)$/ and do {
$defs{$1} = $2;
next;
};
/^\@clear\s+([a-zA-Z0-9_-]+)/ and do {
delete $defs{$1};
next;
};
next unless $output;
@ -137,7 +151,7 @@ while(<STDIN>)
} elsif ($ended =~ /^(?:example|smallexample|display)$/) {
$shift = "";
$_ = ""; # need a paragraph break
} elsif ($ended =~ /^(?:itemize|enumerate|table)$/) {
} elsif ($ended =~ /^(?:itemize|enumerate|[fv]?table)$/) {
$_ = "\n=back\n";
$ic = pop @icstack;
} else {
@ -210,8 +224,21 @@ while(<STDIN>)
# Single line command handlers.
/^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/ and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/ and $_ = "\n=head3 $1\n";
/^\@include\s+(.+)$/ and do {
push @instack, $inf;
$inf = gensym();
# Try cwd and $ibase.
open($inf, "<" . $1)
or open($inf, "<" . $ibase . "/" . $1)
or die "cannot open $1 or $ibase/$1: $!\n";
next;
};
/^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/
and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/
and $_ = "\n=head3 $1\n";
# Block command handlers:
/^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
@ -234,16 +261,16 @@ while(<STDIN>)
$endw = "enumerate";
};
/^\@table\s+(\@[a-z]+)/ and do {
/^\@([fv]?table)\s+(\@[a-z]+)/ and do {
push @endwstack, $endw;
push @icstack, $ic;
$ic = $1;
$endw = $1;
$ic = $2;
$ic =~ s/\@(?:samp|strong|key|gcctabopt|env)/B/;
$ic =~ s/\@(?:code|kbd)/C/;
$ic =~ s/\@(?:dfn|var|emph|cite|i)/I/;
$ic =~ s/\@(?:file)/F/;
$_ = "\n=over 4\n";
$endw = "table";
};
/^\@((?:small)?example|display)/ and do {
@ -266,6 +293,10 @@ while(<STDIN>)
$section .= $shift.$_."\n";
}
# End of current file.
close($inf);
$inf = pop @instack;
}
die "No filename or title\n" unless defined $fn && defined $tl;
@ -382,3 +413,15 @@ sub add_footnote
$sects{FOOTNOTES} .= $_[0];
$sects{FOOTNOTES} .= "\n\n";
}
# stolen from Symbol.pm
{
my $genseq = 0;
sub gensym
{
my $name = "GEN" . $genseq++;
my $ref = \*{$name};
delete $::{$name};
return $ref;
}
}

View File

@ -1,3 +1,56 @@
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-05 Release Manager
* GCC 3.2.2 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-19 Release Manager
* GCC 3.2.1 Released.
2002-11-18 Release Manager
* GCC 3.2.1 Released.
2002-11-11 Tom Tromey <tromey@redhat.com>
* dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
compute month.
(unix2dostime): Handle years before 1980. Correctly compute month
and day of month.
2002-11-07 Tom Tromey <tromey@redhat.com>
* dostime.c: Rewrote from scratch.
* dostime.h (dostime): Removed.
2002-08-14 Release Manager
* GCC 3.2 Released.
2002-07-25 Release Manager
* GCC 3.1.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-05-14 Release Manager
* GCC 3.1 Released.
2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* jartool.c (expand_options): Handle tar-style argument list with a
leading "-".
2002-02-23 Anthony Green <green@redhat.com>
* jartool.c (main): Fix handling of -C.

View File

@ -1,129 +1,79 @@
/*
dostime.c - routines for converting UNIX time to MS-DOS time.
/* dostime.c - convert dos time to/from time_t.
Borrowed from Info-zip's unzip
Copyright (C) 1999 Bryan Burns
Copyright (C) 2002 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dostime.c,v 1.1 2000/12/09 03:08:23 apbianco Exp $
#include <config.h>
$Log: dostime.c,v $
Revision 1.1 2000/12/09 03:08:23 apbianco
2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
* fastjar: Imported.
Revision 1.1.1.1 1999/12/06 03:09:12 toast
initial checkin..
Revision 1.6 1999/05/10 08:32:26 burnsbr
added dos2unixtime
Revision 1.5 1999/04/27 10:03:50 burnsbr
configure support
Revision 1.4 1999/04/26 21:55:19 burnsbr
switched from sys/time.h to time.h for better portability
Revision 1.3 1999/04/20 08:54:30 burnsbr
added GPL comment
Revision 1.2 1999/04/20 05:10:53 burnsbr
added RCS tags
*/
#include "config.h"
#ifdef TM_IN_SYS_TIME
#include <sys/time.h>
#else
#include <time.h>
#endif
#include "dostime.h"
/*
* The specification to which this was written. From Joe Buck.
* The DOS format appears to have only 2 second resolution. It is an
* unsigned long, and ORs together
*
* (year-1980)<<25
* month<<21 (month is tm_mon + 1, 1=Jan through 12=Dec)
* day<<16 (day is tm_mday, 1-31)
* hour<<11 (hour is tm_hour, 0-23)
* min<<5 (min is tm_min, 0-59)
* sec>>1 (sec is tm_sec, 0-59, that's right, we throw away the LSB)
*
* DOS uses local time, so the localtime() call is used to turn the time_t
* into a struct tm.
*/
Copyright (C) 1990-1997 Mark Adler, Richard B. Wales, Jean-loup Gailly,
Kai Uwe Rommel, Onno van der Linden and Igor Mandrichenko.
Permission is granted to any individual or institution to use, copy, or
redistribute this software so long as all of the original files are included,
that it is not sold for profit, and that this copyright notice is retained.
*/
time_t dos2unixtime(dostime)
unsigned long dostime; /* DOS time to convert */
/* Return the Unix time_t value (GMT/UTC time) for the DOS format (local)
* time dostime, where dostime is a four byte value (date in most
* significant word, time in least significant word), see dostime()
* function.
*/
time_t
dos2unixtime (unsigned long dostime)
{
struct tm *t; /* argument for mktime() */
time_t clock = time(NULL);
struct tm ltime;
time_t now = time (NULL);
t = localtime(&clock);
t->tm_isdst = -1; /* let mktime() determine if DST is in effect */
/* Convert DOS time to UNIX time_t format */
t->tm_sec = (((int)dostime) << 1) & 0x3e;
t->tm_min = (((int)dostime) >> 5) & 0x3f;
t->tm_hour = (((int)dostime) >> 11) & 0x1f;
t->tm_mday = (int)(dostime >> 16) & 0x1f;
t->tm_mon = ((int)(dostime >> 21) & 0x0f) - 1;
t->tm_year = ((int)(dostime >> 25) & 0x7f) + 80;
/* Call localtime to initialize timezone in TIME. */
ltime = *localtime (&now);
return mktime(t);
ltime.tm_year = (dostime >> 25) + 80;
ltime.tm_mon = ((dostime >> 21) & 0x0f) - 1;
ltime.tm_mday = (dostime >> 16) & 0x1f;
ltime.tm_hour = (dostime >> 11) & 0x0f;
ltime.tm_min = (dostime >> 5) & 0x3f;
ltime.tm_sec = (dostime & 0x1f) << 1;
ltime.tm_wday = -1;
ltime.tm_yday = -1;
ltime.tm_isdst = -1;
return mktime (&ltime);
}
unsigned long dostime(y, n, d, h, m, s)
int y; /* year */
int n; /* month */
int d; /* day */
int h; /* hour */
int m; /* minute */
int s; /* second */
/* Convert the date y/n/d and time h:m:s to a four byte DOS date and
time (date in high two bytes, time in low two bytes allowing magnitude
comparison). */
unsigned long
unix2dostime (time_t *time)
{
return y < 1980 ? dostime(1980, 1, 1, 0, 0, 0) :
(((unsigned long)y - 1980) << 25) | ((unsigned long)n << 21) |
((unsigned long)d << 16) | ((unsigned long)h << 11) |
((unsigned long)m << 5) | ((unsigned long)s >> 1);
struct tm *ltime = localtime (time);
int year = ltime->tm_year - 80;
if (year < 0)
year = 0;
return (year << 25
| (ltime->tm_mon + 1) << 21
| ltime->tm_mday << 16
| ltime->tm_hour << 11
| ltime->tm_min << 5
| ltime->tm_sec >> 1);
}
unsigned long unix2dostime(t)
time_t *t; /* unix time to convert */
/* Return the Unix time t in DOS format, rounded up to the next two
second boundary. */
{
time_t t_even;
struct tm *s; /* result of localtime() */
t_even = (*t + 1) & (~1); /* Round up to even seconds. */
s = localtime(&t_even); /* Use local time since MSDOS does. */
return dostime(s->tm_year + 1900, s->tm_mon + 1, s->tm_mday,
s->tm_hour, s->tm_min, s->tm_sec);
}

View File

@ -1,6 +1,6 @@
/*
dostime.h - function prototypes
Copyright (C) 1999 Bryan Burns
Copyright (C) 1999, 2002 Bryan Burns
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@ -18,5 +18,4 @@
*/
time_t dos2unixtime(unsigned long dostime);
unsigned long dostime(int, int, int, int, int, int);
unsigned long unix2dostime(time_t*);

View File

@ -1938,24 +1938,34 @@ expand_options (int *argcp, char ***argvp)
int argc = *argcp;
char **argv = *argvp;
if (argc > 1 && argv[1][0] != '-')
/* Accept arguments with a leading "-" (eg "-cvf"), but don't do expansion
if a long argument (like "--help") is detected. */
if (argc > 1 && argv[1][1] != '-')
{
char buf[3];
char **new_argv;
int new_argc;
int args_to_expand;
char *p;
char **in, **out;
buf[0] = '-';
buf[2] = '\0';
new_argc = argc - 1 + strlen (argv[1]);
args_to_expand = strlen (argv[1]);
if (argv[1][0] == '-')
--args_to_expand;
new_argc = argc - 1 + args_to_expand;
new_argv = (char **) malloc (new_argc * sizeof (char *));
in = argv;
out = new_argv;
*out++ = *in++;
for (p = *in++; *p; ++p)
p = *in++;
if (*p == '-')
p++;
while (*p != '\0')
{
char *opt;
buf[1] = *p;
@ -1974,6 +1984,7 @@ expand_options (int *argcp, char ***argvp)
usage(argv[0]);
}
}
++p;
}
/* Copy remaining options. */

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
# Makefile for GNU C compiler.
# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
# 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#This file is part of GCC.
@ -356,11 +356,8 @@ LIBGCC = libgcc.a
INSTALL_LIBGCC = install-libgcc
# Options to use when compiling libgcc2.a.
# -g1 causes output of debug info only for file-scope entities.
# we use this here because that should be enough, and also
# so that -g1 will be tested.
#
LIBGCC2_DEBUG_CFLAGS = -g1
LIBGCC2_DEBUG_CFLAGS = -g
LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@
# Additional options to use when compiling libgcc2.a.
@ -544,6 +541,7 @@ CONFIG_H = $(GCONFIG_H) insn-constants.h insn-flags.h
TCONFIG_H = tconfig.h $(xm_file_list)
TARGET_H = target.h
HOOKS_H = hooks.h
LANGHOOKS_DEF_H = langhooks.h $(HOOKS_H)
TARGET_DEF_H = target-def.h $(HOOKS_H)
TM_P_H = tm_p.h $(tm_p_file_list) tm-preds.h
@ -658,6 +656,7 @@ ORDINARY_FLAGS_TO_PASS = \
"BISON=$(BISON)" \
"BISONFLAGS=$(BISONFLAGS)" \
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
"DESTDIR=$(DESTDIR)" \
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
"LDFLAGS=$(LDFLAGS)" \
"FLEX=$(FLEX)" \
@ -1002,8 +1001,10 @@ libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) xgcc$(exeext
SHLIB_EXT='$(SHLIB_EXT)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)' \
SHLIB_MKMAP='$(SHLIB_MKMAP)' \
SHLIB_MKMAP_OPTS='$(SHLIB_MKMAP_OPTS)' \
SHLIB_MAPFILES='$(SHLIB_MAPFILES)' \
SHLIB_NM_FLAGS='$(SHLIB_NM_FLAGS)' \
MULTILIB_OSDIRNAMES='$(MULTILIB_OSDIRNAMES)' \
mkinstalldirs='$(SHELL) $(srcdir)/mkinstalldirs' \
$(SHELL) mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
@ -1037,14 +1038,22 @@ libgcc.a: $(LIBGCC_DEPS)
# switches.
multilib.h: s-mlib; @true
s-mlib: $(srcdir)/genmultilib Makefile
$(SHELL) $(srcdir)/genmultilib \
"`test @enable_multilib@ != yes || echo $(MULTILIB_OPTIONS)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_DIRNAMES)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_MATCHES)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXCEPTIONS)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXTRA_OPTS)`" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXCLUSIONS)`" \
> tmp-mlib.h
if test @enable_multilib@ = yes \
|| test -n "$(MULTILIB_OSDIRNAMES)"; then \
$(SHELL) $(srcdir)/genmultilib \
"$(MULTILIB_OPTIONS)" \
"$(MULTILIB_DIRNAMES)" \
"$(MULTILIB_MATCHES)" \
"$(MULTILIB_EXCEPTIONS)" \
"$(MULTILIB_EXTRA_OPTS)" \
"$(MULTILIB_EXCLUSIONS)" \
"$(MULTILIB_OSDIRNAMES)" \
"@enable_multilib@" \
> tmp-mlib.h; \
else \
$(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' no \
> tmp-mlib.h; \
fi
$(SHELL) $(srcdir)/move-if-change tmp-mlib.h multilib.h
$(STAMP) s-mlib
@ -1147,7 +1156,7 @@ $(srcdir)/c-parse.y: c-parse.in
c-decl.o : c-decl.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) $(C_TREE_H) \
$(GGC_H) $(TARGET_H) c-lex.h flags.h function.h output.h $(EXPR_H) \
debug.h toplev.h intl.h $(TM_P_H) tree-inline.h $(TIMEVAR_H)
debug.h toplev.h intl.h $(TM_P_H) tree-inline.h $(TIMEVAR_H) c-pragma.h
c-typeck.o : c-typeck.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
$(TARGET_H) flags.h intl.h output.h $(EXPR_H) $(RTL_H) toplev.h $(TM_P_H)
c-lang.o : c-lang.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
@ -1164,7 +1173,7 @@ c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
flags.h toplev.h
c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h toplev.h
c-pragma.o: c-pragma.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) function.h \
c-pragma.h toplev.h output.h $(GGC_H) $(TM_P_H)
c-pragma.h toplev.h output.h $(GGC_H) $(TM_P_H) $(C_COMMON_H)
mbchar.o: mbchar.c $(CONFIG_H) $(SYSTEM_H) mbchar.h
graph.o: graph.c $(CONFIG_H) $(SYSTEM_H) toplev.h flags.h output.h $(RTL_H) \
function.h hard-reg-set.h $(BASIC_BLOCK_H) graph.h
@ -1209,7 +1218,7 @@ s-under: $(GCC_PASSES)
c-common.o : c-common.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(OBSTACK_H) \
$(C_COMMON_H) flags.h toplev.h output.h c-pragma.h $(RTL_H) $(GGC_H) \
$(EXPR_H) $(TM_P_H) builtin-types.def builtin-attrs.def $(TARGET_H) \
diagnostic.h tree-inline.h
diagnostic.h tree-inline.h $(LANGHOOKS_DEF_H)
# A file used by all variants of C and some other languages.
@ -1324,7 +1333,7 @@ convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h convert.h toplev.
langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h \
tree-inline.h $(RTL_H) insn-config.h integrate.h langhooks.h \
langhooks-def.h flags.h
$(LANGHOOKS_DEF_H) flags.h
tree.o : tree.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) flags.h function.h toplev.h \
$(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H) langhooks.h
tree-dump.o: tree-dump.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(C_TREE_H) \
@ -1375,7 +1384,8 @@ varasm.o : varasm.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) flags.h \
$(HASHTAB_H) $(TARGET_H) langhooks.h
function.o : function.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
function.h $(EXPR_H) libfuncs.h $(REGS_H) hard-reg-set.h \
insn-config.h $(RECOG_H) output.h toplev.h except.h hash.h $(GGC_H) $(TM_P_H)
insn-config.h $(RECOG_H) output.h toplev.h except.h hash.h $(GGC_H) \
$(TM_P_H) langhooks.h
stmt.o : stmt.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h function.h \
insn-config.h hard-reg-set.h $(EXPR_H) libfuncs.h except.h \
$(LOOP_H) $(RECOG_H) toplev.h output.h varray.h $(GGC_H) $(TM_P_H)
@ -1401,7 +1411,7 @@ explow.o : explow.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
toplev.h function.h ggc.h $(TM_P_H)
optabs.o : optabs.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \
insn-config.h $(EXPR_H) $(OPTABS_H) libfuncs.h $(RECOG_H) reload.h \
toplev.h $(GGC_H) real.h $(TM_P_H) except.h
toplev.h $(GGC_H) real.h $(TM_P_H) except.h hard-reg-set.h $(BASIC_BLOCK_H)
dbxout.o : dbxout.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) flags.h \
$(REGS_H) debug.h $(TM_P_H) $(TARGET_H) function.h langhooks.h \
insn-config.h reload.h gstab.h xcoffout.h output.h dbxout.h toplev.h
@ -1447,7 +1457,7 @@ cse.o : cse.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h flags.h
$(BASIC_BLOCK_H) $(GGC_H) $(TM_P_H)
gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h \
flags.h real.h insn-config.h ggc.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) \
function.h output.h toplev.h $(TM_P_H) $(PARAMS_H)
function.h output.h toplev.h $(TM_P_H) $(PARAMS_H) except.h
sibcall.o : sibcall.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) function.h \
hard-reg-set.h flags.h insn-config.h $(RECOG_H) $(BASIC_BLOCK_H)
resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \
@ -1525,7 +1535,7 @@ reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h output.h \
reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) real.h flags.h \
$(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
$(BASIC_BLOCK_H) $(RECOG_H) output.h function.h toplev.h cselib.h $(TM_P_H) \
except.h
except.h $(TREE_H)
caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h \
$(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) function.h \
$(RECOG_H) reload.h $(EXPR_H) toplev.h $(TM_P_H)
@ -1577,7 +1587,7 @@ regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) insn-config.h \
resource.h $(OBSTACK_H) flags.h $(TM_P_H)
ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) toplev.h \
flags.h insn-config.h function.h $(RECOG_H) $(BASIC_BLOCK_H) $(EXPR_H) \
output.h $(TM_P_H)
output.h except.h $(TM_P_H)
dependence.o : dependence.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \
$(C_COMMON_H) flags.h varray.h $(EXPR_H)
params.o : params.c $(CONFIG_H) $(SYSTEM_H) $(PARAMS_H) toplev.h
@ -2013,7 +2023,7 @@ $(srcdir)/tradcif.c: $(srcdir)/tradcif.y
proto: config.status protoize$(exeext) unprotoize$(exeext) SYSCALLS.c.X
PROTO_OBJS = intl.o version.o
PROTO_OBJS = intl.o version.o cppdefault.o
protoize$(exeext): protoize.o $(PROTO_OBJS) $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ protoize.o $(PROTO_OBJS) $(LIBS)
@ -2026,16 +2036,16 @@ protoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) $(SYSTEM_H) \
(SHLIB_LINK='$(SHLIB_LINK)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(DRIVER_DEFINES) $(PREPROCESSOR_DEFINES) \
$(DRIVER_DEFINES) \
$(srcdir)/protoize.c $(OUTPUT_OPTION))
unprotoize.o: unprotoize.c protoize.c $(srcdir)/../include/getopt.h \
unprotoize.o: protoize.c $(srcdir)/../include/getopt.h \
$(CONFIG_H) $(SYSTEM_H) Makefile version.h
(SHLIB_LINK='$(SHLIB_LINK)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(DRIVER_DEFINES) $(PREPROCESSOR_DEFINES) \
$(srcdir)/unprotoize.c $(OUTPUT_OPTION))
$(CC) -c -DUNPROTOIZE $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(DRIVER_DEFINES) \
$(srcdir)/protoize.c $(OUTPUT_OPTION))
# This info describes the target machine, so compile with GCC just built.
SYSCALLS.c.X: $(srcdir)/sys-types.h $(srcdir)/sys-protos.h $(GCC_PASSES) \
@ -2260,7 +2270,8 @@ docdir = $(srcdir)/doc
doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
info: $(docdir)/cpp.info $(docdir)/gcc.info $(docdir)/gccint.info lang.info $(docdir)/cppinternals.info
$(docdir)/cpp.info: $(docdir)/cpp.texi $(docdir)/include/fdl.texi
$(docdir)/cpp.info: $(docdir)/cpp.texi $(docdir)/include/fdl.texi \
$(docdir)/cppenv.texi $(docdir)/cppopts.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/cpp.info doc/cpp.texi
$(docdir)/gcc.info: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
@ -2268,10 +2279,10 @@ $(docdir)/gcc.info: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
$(docdir)/invoke.texi $(docdir)/extend.texi $(docdir)/md.texi \
$(docdir)/objc.texi $(docdir)/gcov.texi $(docdir)/trouble.texi \
$(docdir)/bugreport.texi $(docdir)/service.texi \
$(docdir)/contribute.texi $(docdir)/vms.texi \
$(docdir)/contribute.texi $(docdir)/vms.texi $(docdir)/compat.texi \
$(docdir)/include/funding.texi $(docdir)/gnu.texi \
$(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \
$(docdir)/contrib.texi
$(docdir)/contrib.texi $(docdir)/cppenv.texi $(docdir)/cppopts.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/gcc.info doc/gcc.texi
$(docdir)/gccint.info: $(docdir)/gccint.texi \
@ -2295,7 +2306,8 @@ $(docdir)/cppinternals.info: $(docdir)/cppinternals.texi
dvi: gcc.dvi gccint.dvi cpp.dvi lang.dvi cppinternals.dvi
# This works with GNU Make's default rule.
cpp.dvi: $(docdir)/cpp.texi $(docdir)/include/fdl.texi
cpp.dvi: $(docdir)/cpp.texi $(docdir)/include/fdl.texi \
$(docdir)/cppenv.texi $(docdir)/cppopts.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cpp.texi
gcc.dvi: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
@ -2306,7 +2318,7 @@ gcc.dvi: $(docdir)/gcc.texi $(docdir)/include/gcc-common.texi \
$(docdir)/contribute.texi $(docdir)/vms.texi \
$(docdir)/include/funding.texi $(docdir)/gnu.texi \
$(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \
$(docdir)/contrib.texi
$(docdir)/contrib.texi $(docdir)/cppenv.texi $(docdir)/cppopts.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/gcc.texi
gccint.dvi: $(docdir)/gccint.texi \
@ -2332,23 +2344,25 @@ generated-manpages: $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1 \
$(docdir)/gcov.1: $(docdir)/gcov.texi
$(STAMP) $(docdir)/gcov.1
-$(TEXI2POD) < $(docdir)/gcov.texi > gcov.pod
-$(TEXI2POD) $(docdir)/gcov.texi > gcov.pod
-($(POD2MAN) --section=1 gcov.pod > $(docdir)/gcov.1.T$$$$ && \
mv -f $(docdir)/gcov.1.T$$$$ $(docdir)/gcov.1) || \
(rm -f $(docdir)/gcov.1.T$$$$ && exit 1)
-rm -f gcov.pod
$(docdir)/cpp.1: $(docdir)/cpp.texi
$(docdir)/cpp.1: $(docdir)/cpp.texi $(docdir)/cppenv.texi \
$(docdir)/cppopts.texi
$(STAMP) $(docdir)/cpp.1
-$(TEXI2POD) < $(docdir)/cpp.texi > cpp.pod
-$(TEXI2POD) $(docdir)/cpp.texi > cpp.pod
-($(POD2MAN) --section=1 cpp.pod > $(docdir)/cpp.1.T$$$$ && \
mv -f $(docdir)/cpp.1.T$$$$ $(docdir)/cpp.1) || \
(rm -f $(docdir)/cpp.1.T$$$$ && exit 1)
-rm -f cpp.pod
$(docdir)/gcc.1: $(docdir)/invoke.texi
$(docdir)/gcc.1: $(docdir)/invoke.texi $(docdir)/cppenv.texi \
$(docdir)/cppopts.texi
$(STAMP) $(docdir)/gcc.1
-$(TEXI2POD) < $(docdir)/invoke.texi > gcc.pod
-$(TEXI2POD) $(docdir)/invoke.texi > gcc.pod
-($(POD2MAN) --section=1 gcc.pod > $(docdir)/gcc.1.T$$$$ && \
mv -f $(docdir)/gcc.1.T$$$$ $(docdir)/gcc.1) || \
(rm -f $(docdir)/gcc.1.T$$$$ && exit 1)
@ -2356,7 +2370,7 @@ $(docdir)/gcc.1: $(docdir)/invoke.texi
$(docdir)/gfdl.7: $(docdir)/include/fdl.texi
$(STAMP) $(docdir)/gfdl.7
-$(TEXI2POD) < $(docdir)/include/fdl.texi > gfdl.pod
-$(TEXI2POD) $(docdir)/include/fdl.texi > gfdl.pod
-($(POD2MAN) --section=7 gfdl.pod > $(docdir)/gfdl.7.T$$$$ && \
mv -f $(docdir)/gfdl.7.T$$$$ $(docdir)/gfdl.7) || \
(rm -f $(docdir)/gfdl.7.T$$$$ && exit 1)
@ -2364,7 +2378,7 @@ $(docdir)/gfdl.7: $(docdir)/include/fdl.texi
$(docdir)/gpl.7: $(docdir)/include/gpl.texi
$(STAMP) $(docdir)/gpl.7
-$(TEXI2POD) < $(docdir)/include/gpl.texi > gpl.pod
-$(TEXI2POD) $(docdir)/include/gpl.texi > gpl.pod
-($(POD2MAN) --section=7 gpl.pod > $(docdir)/gpl.7.T$$$$ && \
mv -f $(docdir)/gpl.7.T$$$$ $(docdir)/gpl.7) || \
(rm -f $(docdir)/gpl.7.T$$$$ && exit 1)
@ -2372,7 +2386,7 @@ $(docdir)/gpl.7: $(docdir)/include/gpl.texi
$(docdir)/fsf-funding.7: $(docdir)/include/funding.texi
$(STAMP) $(docdir)/fsf-funding.7
-$(TEXI2POD) < $(docdir)/include/funding.texi > fsf-funding.pod
-$(TEXI2POD) $(docdir)/include/funding.texi > fsf-funding.pod
-($(POD2MAN) --section=7 fsf-funding.pod \
> $(docdir)/fsf-funding.7.T$$$$ && \
mv -f $(docdir)/fsf-funding.7.T$$$$ $(docdir)/fsf-funding.7) || \
@ -2470,7 +2484,7 @@ distclean: clean $(INTL_DISTCLEAN) lang.distclean
-rm -f testsuite/{gcc,g++}.{log,sum}
-rm -f intl/libintl.h libintl.h
-rm -f cxxmain.c
-rm -f mklibgcc libgcc.map gccbug .gdbinit configargs.h
-rm -f mklibgcc gccbug .gdbinit configargs.h
-rm -f gcov.pod
-rm -f fixinc/Makefile
-rmdir ada cp f java objc fixinc intl po 2>/dev/null
@ -2524,180 +2538,168 @@ install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
# Handle cpp installation.
install-cpp: cpp$(exeext)
-if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(bindir)/$(CPP_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(bindir)/$(CPP_CROSS_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(CPP_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_CROSS_NAME)$(exeext); \
if [ x$(cpp_install_dir) != x ]; then \
rm -f $(prefix)/$(cpp_install_dir)/$(CPP_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(prefix)/$(cpp_install_dir)/$(CPP_CROSS_NAME)$(exeext); \
rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_CROSS_NAME)$(exeext); \
else true; fi; \
else \
rm -f $(bindir)/$(CPP_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(bindir)/$(CPP_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext); \
if [ x$(cpp_install_dir) != x ]; then \
rm -f $(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
else true; fi; \
fi
uninstall-cpp:
-rm -f $(bindir)/$(CPP_INSTALL_NAME)$(exeext)
-rm -f $(bindir)/$(CPP_CROSS_NAME)$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(CPP_CROSS_NAME)$(exeext)
-if [ x$(cpp_install_dir) != x ]; then \
rm -f $(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
rm -f $(prefix)/$(cpp_install_dir)/$(CPP_CROSS_NAME)$(exeext); \
rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_CROSS_NAME)$(exeext); \
else true; fi
# Create the installation directories.
# $(libdir)/gcc-lib/include isn't currently searched by cpp.
installdirs:
-if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; chmod a+rx $(prefix) ; fi
-if [ -d $(exec_prefix) ] ; then true ; else mkdir $(exec_prefix) ; chmod a+rx $(exec_prefix) ; fi
-if [ -d $(libdir) ] ; then true ; else mkdir $(libdir) ; chmod a+rx $(libdir) ; fi
-if [ -d $(libdir)/gcc-lib ] ; then true ; else mkdir $(libdir)/gcc-lib ; chmod a+rx $(libdir)/gcc-lib ; fi
# This dir isn't currently searched by cpp.
# -if [ -d $(libdir)/gcc-lib/include ] ; then true ; else mkdir $(libdir)/gcc-lib/include ; chmod a+rx $(libdir)/gcc-lib/include ; fi
-fdir= ; for dir in `echo $(libsubdir) | tr '/' ' '`; do \
fdir=$${fdir}/$${dir}; \
if [ -d $${fdir} ] ; then true ; else mkdir $${fdir}; chmod a+rx $${fdir}; fi ; \
done
-if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; chmod a+rx $(bindir) ; fi
-if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; chmod a+rx $(includedir) ; fi
-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; chmod a+rx $(infodir) ; fi
-if [ -d $(slibdir) ] ; then true ; else mkdir $(slibdir) ; chmod a+rx $(slibdir) ; fi
# We don't use mkdir -p to create the parents of man1dir,
# because some systems don't support it.
# Instead, we use this technique to create the immediate parent of man1dir.
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; chmod a+rx $$parent ; fi
-if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; chmod a+rx $(man1dir) ; fi
-if [ -d $(man7dir) ] ; then true ; else mkdir $(man7dir) ; chmod a+rx $(man7dir) ; fi
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(libsubdir)
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(bindir)
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(includedir)
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(infodir)
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(slibdir)
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(man1dir)
$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(man7dir)
# Install the compiler executables built during cross compilation.
install-common: native $(EXTRA_PARTS) lang.install-common
for file in $(COMPILERS); do \
if [ -f $$file ] ; then \
rm -f $(libsubdir)/$$file; \
$(INSTALL_PROGRAM) $$file $(libsubdir)/$$file; \
rm -f $(DESTDIR)$(libsubdir)/$$file; \
$(INSTALL_PROGRAM) $$file $(DESTDIR)$(libsubdir)/$$file; \
else true; \
fi; \
done
for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(USE_COLLECT2) ..; do \
if [ x"$$file" != x.. ]; then \
rm -f $(libsubdir)/$$file; \
$(INSTALL_PROGRAM) $$file $(libsubdir)/$$file; \
rm -f $(DESTDIR)$(libsubdir)/$$file; \
$(INSTALL_PROGRAM) $$file $(DESTDIR)$(libsubdir)/$$file; \
else true; fi; \
done
for file in $(EXTRA_PARTS) ..; do \
if [ x"$$file" != x.. ]; then \
rm -f $(libsubdir)/$$file; \
$(INSTALL_DATA) $$file $(libsubdir)/$$file; \
chmod a-x $(libsubdir)/$$file; \
rm -f $(DESTDIR)$(libsubdir)/$$file; \
$(INSTALL_DATA) $$file $(DESTDIR)$(libsubdir)/$$file; \
chmod a-x $(DESTDIR)$(libsubdir)/$$file; \
else true; fi; \
done
# Don't mess with specs if it doesn't exist yet.
-if [ -f specs ] ; then \
rm -f $(libsubdir)/specs; \
$(INSTALL_DATA) specs $(libsubdir)/specs; \
chmod a-x $(libsubdir)/specs; \
rm -f $(DESTDIR)$(libsubdir)/specs; \
$(INSTALL_DATA) specs $(DESTDIR)$(libsubdir)/specs; \
chmod a-x $(DESTDIR)$(libsubdir)/specs; \
fi
# Install protoize if it was compiled.
-if [ -f protoize$(exeext) ]; \
then \
if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) protoize$(exeext) $(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
rm -f $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) unprotoize$(exeext) $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) protoize$(exeext) $(DESTDIR)$(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) unprotoize$(exeext) $(DESTDIR)$(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
else \
rm -f $(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) protoize$(exeext) $(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
rm -f $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) unprotoize$(exeext) $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) protoize$(exeext) $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) unprotoize$(exeext) $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
fi ; \
rm -f $(libsubdir)/SYSCALLS.c.X; \
$(INSTALL_DATA) SYSCALLS.c.X $(libsubdir)/SYSCALLS.c.X; \
chmod a-x $(libsubdir)/SYSCALLS.c.X; \
rm -f $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
$(INSTALL_DATA) SYSCALLS.c.X $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
chmod a-x $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
fi
-rm -f $(libsubdir)/cpp0$(exeext)
$(INSTALL_PROGRAM) cpp0$(exeext) $(libsubdir)/cpp0$(exeext)
-rm -f $(libsubdir)/tradcpp0$(exeext)
$(INSTALL_PROGRAM) tradcpp0$(exeext) $(libsubdir)/tradcpp0$(exeext)
-rm -f $(DESTDIR)$(libsubdir)/cpp0$(exeext)
$(INSTALL_PROGRAM) cpp0$(exeext) $(DESTDIR)$(libsubdir)/cpp0$(exeext)
-rm -f $(DESTDIR)$(libsubdir)/tradcpp0$(exeext)
$(INSTALL_PROGRAM) tradcpp0$(exeext) $(DESTDIR)$(libsubdir)/tradcpp0$(exeext)
# Install gcov if it was compiled.
-if [ -f gcov$(exeext) ]; \
then \
rm -f $(bindir)/gcov$(exeext); \
$(INSTALL_PROGRAM) gcov$(exeext) $(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/gcov$(exeext); \
$(INSTALL_PROGRAM) gcov$(exeext) $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
fi
$(INSTALL_SCRIPT) gccbug $(bindir)/$(GCCBUG_INSTALL_NAME)
$(INSTALL_SCRIPT) gccbug $(DESTDIR)$(bindir)/$(GCCBUG_INSTALL_NAME)
# Install the driver program as $(target_alias)-gcc
# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.
install-driver: installdirs xgcc$(exeext)
-if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(bindir)/$(GCC_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(bindir)/$(GCC_CROSS_NAME)$(exeext); \
if [ -d $(gcc_tooldir)/bin/. ] ; then \
rm -f $(gcc_tooldir)/bin/gcc$(exeext); \
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(gcc_tooldir)/bin/gcc$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(GCC_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(bindir)/$(GCC_CROSS_NAME)$(exeext); \
if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
else true; fi; \
else \
rm -f $(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) xgcc$(exeext) $(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
rm -f $(bindir)/$(target_alias)-gcc-1$(exeext); \
$(LN) $(bindir)/$(GCC_INSTALL_NAME)$(exeext) $(bindir)/$(target_alias)-gcc-1$(exeext); \
mv $(bindir)/$(target_alias)-gcc-1$(exeext) $(bindir)/$(GCC_TARGET_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext); \
rm -f $(DESTDIR)$(bindir)/$(target_alias)-gcc-1$(exeext); \
( cd $(DESTDIR)$(bindir) && \
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_alias)-gcc-1$(exeext) && \
mv -f $(target_alias)-gcc-1$(exeext) $(GCC_TARGET_INSTALL_NAME)$(exeext) ); \
fi
# Install the info files.
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
# to do the install.
install-info: doc installdirs lang.install-info
-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
-rm -f $(infodir)/cppinternals.info* $(infodir)/gccint.info*
-rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
-rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
if [ -f $(docdir)/gcc.info ]; then \
for f in $(docdir)/cpp.info* $(docdir)/gcc.info* \
$(docdir)/cppinternals.info* $(docdir)/gccint.info*; do \
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
if [ -f $(infodir)/dir ] ; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(infodir)/$$f ]; then \
install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \
else true; fi;
-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
-chmod a-x $(infodir)/cppinternals.info* $(infodir)/gccint.info*
-chmod a-x $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
-chmod a-x $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
# Install the man pages.
install-man: installdirs $(GENERATED_MANPAGES) lang.install-man
-if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
$(INSTALL_DATA) $(docdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
rm -f $(DESTDIR)$(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
$(INSTALL_DATA) $(docdir)/gcc.1 $(DESTDIR)$(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
chmod a-x $(DESTDIR)$(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
else \
rm -f $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
$(INSTALL_DATA) $(docdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
rm -f $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
$(INSTALL_DATA) $(docdir)/gcc.1 $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
chmod a-x $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
fi
-rm -f $(man1dir)/cpp$(man1ext)
-$(INSTALL_DATA) $(docdir)/cpp.1 $(man1dir)/cpp$(man1ext)
-chmod a-x $(man1dir)/cpp$(man1ext)
-rm -f $(man1dir)/gcov$(man1ext)
-$(INSTALL_DATA) $(docdir)/gcov.1 $(man1dir)/gcov$(man1ext)
-chmod a-x $(man1dir)/gcov$(man1ext)
-rm -f $(man7dir)/fsf-funding$(man7ext)
-$(INSTALL_DATA) $(docdir)/fsf-funding.7 $(man7dir)/fsf-funding$(man7ext)
-chmod a-x $(man7dir)/fsf-funding$(man7ext)
-rm -f $(man7dir)/gfdl$(man7ext)
-$(INSTALL_DATA) $(docdir)/gfdl.7 $(man7dir)/gfdl$(man7ext)
-chmod a-x $(man7dir)/gfdl$(man7ext)
-rm -f $(man7dir)/gpl$(man7ext)
-$(INSTALL_DATA) $(docdir)/gpl.7 $(man7dir)/gpl$(man7ext)
-chmod a-x $(man7dir)/gpl$(man7ext)
-rm -f $(DESTDIR)$(man1dir)/cpp$(man1ext)
-$(INSTALL_DATA) $(docdir)/cpp.1 $(DESTDIR)$(man1dir)/cpp$(man1ext)
-chmod a-x $(DESTDIR)$(man1dir)/cpp$(man1ext)
-rm -f $(DESTDIR)$(man1dir)/gcov$(man1ext)
-$(INSTALL_DATA) $(docdir)/gcov.1 $(DESTDIR)$(man1dir)/gcov$(man1ext)
-chmod a-x $(DESTDIR)$(man1dir)/gcov$(man1ext)
-rm -f $(DESTDIR)$(man7dir)/fsf-funding$(man7ext)
-$(INSTALL_DATA) $(docdir)/fsf-funding.7 $(DESTDIR)$(man7dir)/fsf-funding$(man7ext)
-chmod a-x $(DESTDIR)$(man7dir)/fsf-funding$(man7ext)
-rm -f $(DESTDIR)$(man7dir)/gfdl$(man7ext)
-$(INSTALL_DATA) $(docdir)/gfdl.7 $(DESTDIR)$(man7dir)/gfdl$(man7ext)
-chmod a-x $(DESTDIR)$(man7dir)/gfdl$(man7ext)
-rm -f $(DESTDIR)$(man7dir)/gpl$(man7ext)
-$(INSTALL_DATA) $(docdir)/gpl.7 $(DESTDIR)$(man7dir)/gpl$(man7ext)
-chmod a-x $(DESTDIR)$(man7dir)/gpl$(man7ext)
# Install the library.
install-libgcc: libgcc.mk libgcc.a installdirs
@ -2721,6 +2723,7 @@ install-libgcc: libgcc.mk libgcc.a installdirs
MAKEOVERRIDES= \
INSTALL_DATA="$(INSTALL_DATA)" \
RANLIB_FOR_TARGET="$$r_f_t" \
DESTDIR="$(DESTDIR)" \
libsubdir="$(libsubdir)" \
slibdir="$(slibdir)" \
-f libgcc.mk install
@ -2747,6 +2750,7 @@ install-multilib: stmp-multilib installdirs
MAKEOVERRIDES= \
INSTALL_DATA="$(INSTALL_DATA)" \
RANLIB_FOR_TARGET="$$r_f_t" \
DESTDIR="$(DESTDIR)" \
libsubdir="$(libsubdir)" \
slibdir="$(slibdir)" \
-f libgcc.mk install
@ -2756,23 +2760,23 @@ install-headers: $(INSTALL_HEADERS_DIR)
# Fix symlinks to absolute paths in the installed include directory to
# point to the installed directory, not the build directory.
# Don't need to use LN_S here since we really do need ln -s and no substitutes.
-files=`cd $(libsubdir)/include; find . -type l -print 2>/dev/null`; \
-files=`cd $(DESTDIR)$(libsubdir)/include; find . -type l -print 2>/dev/null`; \
if [ $$? -eq 0 ]; then \
dir=`cd include; pwd`; \
for i in $$files; do \
dest=`ls -ld $(libsubdir)/include/$$i | sed -n 's/.*-> //p'`; \
dest=`ls -ld $(DESTDIR)$(libsubdir)/include/$$i | sed -n 's/.*-> //p'`; \
if expr "$$dest" : "$$dir.*" > /dev/null; then \
rm -f $(libsubdir)/include/$$i; \
ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(libsubdir)/include/$$i; \
rm -f $(DESTDIR)$(libsubdir)/include/$$i; \
ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(DESTDIR)$(libsubdir)/include/$$i; \
fi; \
done; \
fi
# Create or recreate the gcc private include file directory.
install-include-dir: installdirs
-rm -rf $(libsubdir)/include
mkdir $(libsubdir)/include
-chmod a+rx $(libsubdir)/include
-rm -rf $(DESTDIR)$(libsubdir)/include
mkdir $(DESTDIR)$(libsubdir)/include
-chmod a+rx $(DESTDIR)$(libsubdir)/include
# Install the include directory using tar.
install-headers-tar: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
@ -2781,7 +2785,7 @@ install-headers-tar: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
# found in CDPATH, corrupting the output. We could just redirect the
# output of `cd', but some shells lose on redirection within `()'s
(cd `pwd`/include ; \
tar -cf - .; exit 0) | (cd $(libsubdir)/include; tar xpf - )
tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - )
# /bin/sh on some systems returns the status of the first tar,
# and that can lose with GNU tar which always writes a full block.
# So use `exit 0' to ignore its exit status.
@ -2790,35 +2794,35 @@ install-headers-tar: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
install-headers-cpio: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
# See discussion about the use of `pwd` above
cd `pwd`/include ; \
find . -print | cpio -pdum $(libsubdir)/include
find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include
# Install the include directory using cp.
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
cp -p -r include $(libsubdir)
cp -p -r include $(DESTDIR)$(libsubdir)
# Use this target to install the program `collect2' under the name `collect2'.
install-collect2: collect2 installdirs
$(INSTALL_PROGRAM) collect2$(exeext) $(libsubdir)/collect2$(exeext)
$(INSTALL_PROGRAM) collect2$(exeext) $(DESTDIR)$(libsubdir)/collect2$(exeext)
# Install the driver program as $(libsubdir)/gcc for collect2.
$(INSTALL_PROGRAM) xgcc$(exeext) $(libsubdir)/gcc$(exeext)
$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(libsubdir)/gcc$(exeext)
# Cancel installation by deleting the installed files.
uninstall: intl.uninstall lang.uninstall $(UNINSTALL_CPP)
-rm -rf $(libsubdir)
-rm -rf $(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-rm -rf $(bindir)/$(GCC_CROSS_NAME)$(exeext)
-rm -rf $(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext)
-rm -rf $(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext)
-rm -rf $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext)
-rm -rf $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext)
-rm -rf $(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
-rm -rf $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext)
-rm -rf $(man1dir)/$(GCC_CROSS_NAME)$(man1ext)
-rm -rf $(man1dir)/cpp$(man1ext)
-rm -rf $(man1dir)/protoize$(man1ext)
-rm -rf $(man1dir)/unprotoize$(man1ext)
-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
-rm -f $(infodir)/cppinternals.info* $(infodir)/gccint.info*
-rm -rf $(DESTDIR)$(libsubdir)
-rm -rf $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-rm -rf $(DESTDIR)$(bindir)/$(GCC_CROSS_NAME)$(exeext)
-rm -rf $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext)
-rm -rf $(DESTDIR)$(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext)
-rm -rf $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext)
-rm -rf $(DESTDIR)$(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext)
-rm -rf $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
-rm -rf $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext)
-rm -rf $(DESTDIR)$(man1dir)/$(GCC_CROSS_NAME)$(man1ext)
-rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext)
-rm -rf $(DESTDIR)$(man1dir)/protoize$(man1ext)
-rm -rf $(DESTDIR)$(man1dir)/unprotoize$(man1ext)
-rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
-rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
#
# These targets are for the dejagnu testsuites. The file site.exp
# contains global variables that all the testsuites will use.
@ -2874,12 +2878,17 @@ site.exp: ./config.status Makefile
-e '1,/^## All variables above are.*##/ d' >> site.exp
-@rm -f ./tmp?
CHECK_TARGETS = check-gcc @check_languages@
CHECK_TARGETS = check-gcc check-fixinc @check_languages@
check-c++ : check-g++
check-f77 : check-g77
check-java :
check-fixinc :
if (autogen --ver=v) > /dev/null 2>&1 ; \
then cd fixinc && $(MAKE) check ; \
else true ; fi
check: $(CHECK_TARGETS)
# The idea is to parallelize testing of multilibs, for example:

View File

@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.2 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.2 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000, Free Software Foundation, Inc. --
-- --
@ -29,9 +29,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2001, Florida State University --
-- --

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision$
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1996-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (No Tasking Version) --
-- --
-- $Revision: 1.2 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991,92,93,94,95,1996 Free Software Foundation, Inc. --
-- --
@ -29,9 +29,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-1997 Florida State University --
-- --

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (C Library Version for x86) --
-- --
-- $Revision: 1.11 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
-- --
@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
-- The GNARL files that were developed for RTEMS are maintained by On-Line --
-- Applications Research Corporation (http://www.oarcorp.com) in coopera- --

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.7 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.7 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.19 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1 $
-- --
-- This specification is adapted from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2000 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.14 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.9 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000, Free Software Foundation, Inc. --
-- --
@ -29,9 +29,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1997-1998 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1991-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (C Library Version, VxWorks) --
-- --
-- $Revision: 1.1 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
-- --
@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -33,7 +33,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.10 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.8 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2000 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.14 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (LynxOS PPC/x86 Version)
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.10 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.23 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (DEC Unix Version) --
-- --
-- $Revision: 1.20 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (Compiler Interface) --
-- --
-- $Revision: 1.5 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2000 Free Software Foundation, Inc. --
-- --
@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.8 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-2000 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.3 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.26 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (AIX/PPC Version)
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.18 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.18 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (X86 Solaris Version) --
-- --
-- $Revision: 1.10 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.1 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1991-1998, Florida State University --
-- --

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.13 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-2001, Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (SGI Irix, o32 ABI) --
-- --
-- $Revision: 1.13 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (Compiler Interface) --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.13 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1998-1999 Free Software Fundation --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.6 $ --
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-1998, Florida State University --
-- --

View File

@ -7,7 +7,7 @@
-- B o d y --
-- (Version for IRIX/MIPS) --
-- --
-- $Revision: 1.1 $
-- $Revision: 1.2 $
-- --
-- Copyright (C) 1999-2001 Free Software Foundation, Inc. --
-- --
@ -30,7 +30,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.20 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-2001 Free Software Foundation, Inc. --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.7 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1997-1999 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.1 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1997 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package contains the definitions and routines used as parameters

View File

@ -7,7 +7,7 @@
-- S p e c --
-- (SGI Irix, n32 ABI) --
-- --
-- $Revision: 1.19 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
@ -34,7 +34,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.2 $ --
-- $Revision: 1.1.16.1 $
-- --
-- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.4 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- $Revision: 1.5 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1999-2000 Free Software Fundation --
-- --
@ -28,9 +28,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. It is --
-- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
-- State University (http://www.gnat.com). --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- $Revision: 1.5 $
-- $Revision: 1.1 $
-- --
-- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
-- --
@ -29,7 +29,7 @@
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show More