Commit Graph

53074 Commits

Author SHA1 Message Date
Nathanael Nerode e302977341 * config.gcc (widely ported systems section): Reindent and clean up.
From-SVN: r71756
2003-09-25 06:29:23 +00:00
Nathanael Nerode b597bfd837 config.gcc: Remove some unnecessary uses of 'x' in case statements.
* config.gcc: Remove some unnecessary uses of 'x' in case statements.
	Actually allow ep9312 as an arm --with-arch setting.

From-SVN: r71755
2003-09-25 05:52:28 +00:00
Nathanael Nerode f851b49e44 * config.gcc (*-hpux11): Disable fixproto.
From-SVN: r71752
2003-09-25 05:25:18 +00:00
Phil Edwards 230fcd32c9 re PR pch/12112 (Putting PCH files in a directory completely broken)
2003-09-24  Phil Edwards  <phil@codesourcery.com>

	PR pch/12112
	* gcc/cppfiles.c (pch_open_file): Return based on combined
        result of all files.
	(validate_pch): Return validate flag for current file.

From-SVN: r71751
2003-09-25 04:46:44 +00:00
Bryce McKinlay 3d5cd60062 re PR libgcj/12388 (mingw32 target fails to build libjava)
* gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
	PR libgcj/12388.

From-SVN: r71750
2003-09-25 04:04:41 +01:00
Roger Sayle d8becd5571 re PR bootstrap/12358 (Bootstrap comparison failure!)
PR bootstrap/12358
	* fold-const.c (tree_swap_operands_p): Only reorder operands when
	one of the operands is constant.

From-SVN: r71749
2003-09-25 02:12:13 +00:00
Ziemowit Laski 264fa2db22 MERGE OF objc-improvements-branch into MAINLINE.
2003-09-24  Ziemowit Laski  <zlaski@apple.com>

        MERGE OF objc-improvements-branch into MAINLINE.
	See 'gcc/ChangeLog' and 'gcc/testsuite/ChangeLog' for
	the gory details.

From-SVN: r71748
2003-09-25 01:26:01 +00:00
GCC Administrator 3b6fdb2fa0 Daily bump.
From-SVN: r71746
2003-09-25 00:16:06 +00:00
Alexandre Oliva e2e1fa50d9 cpplib.c (do_pragma): Reintroduce cb_line_change call in the code path that calls a handler.
* cpplib.c (do_pragma): Reintroduce cb_line_change call in the
code path that calls a handler.

From-SVN: r71744
2003-09-24 23:53:07 +00:00
Alexandre Oliva d395df2636 * gcc.dg/cpp/Wunknown-pragmas-1.c: New test.
From-SVN: r71743
2003-09-24 23:52:32 +00:00
Nathanael Nerode eb9a155e95 config.gcc (c4x-*, [...]): Disable fixproto.
* config.gcc (c4x-*, tic4x-*, d30v-*, mmix-knuth-mmixware):
	Disable fixproto.

From-SVN: r71740
2003-09-24 22:33:00 +00:00
Nathanael Nerode 3534107305 config.gcc: Clean up and reindent $with_cpu=yes|no clause and the section giving $with_cpu...
* config.gcc: Clean up and reindent $with_cpu=yes|no clause and
	the section giving $with_cpu defaults by target.

From-SVN: r71738
2003-09-24 21:34:14 +00:00
Nathanael Nerode 77cf10c933 config.gcc (arm-*-coff*, [...]): Disable fixproto.
* config.gcc (arm-*-coff*, armel-*-coff*, arm*-*-ecos-elf,
	arm*-*-elf, ep9312-*-elf, arm*-wince-pe*, arm*-*-pe*, arm*-*-pe*,
	rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*,
	rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*,
	rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*,
	i[34567]86-pc-msdosdjgpp*): Disable fixproto.

From-SVN: r71737
2003-09-24 21:24:44 +00:00
David Edelsohn e876481c94 rs6000.md (movti_power): Collapse case 1 and 2 together.
* config/rs6000/rs6000.md (movti_power): Collapse case 1 and 2
        together.  Protect load string instruction with TARGET_STRING.
        (movti_string): Collapse case 1 and 2 together.

From-SVN: r71736
2003-09-24 15:32:46 -04:00
Rainer Orth eb9ec0d45d * class.c (build_utf8_ref): Test for HAVE_GAS_SHF_MERGE value.
From-SVN: r71733
2003-09-24 13:07:25 +00:00
Nathan Sidwell ff42324ea3 * c-common.c (c_common_type_for_mode): Check for VOIDmode.
From-SVN: r71732
2003-09-24 09:15:21 +00:00
Richard Earnshaw 8a81cc4525 arm.h (ASM_OUTPUT_REG_PUSH, [...]): Wrap in do...while(0)
* arm.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Wrap in
do...while(0)

From-SVN: r71731
2003-09-24 09:06:32 +00:00
Geoffrey Keating 859a68dce6 * config/t-darwin (crt2.o): Add stmp-int-hdrs to dependencies.
From-SVN: r71728
2003-09-24 07:49:13 +00:00
Bryce McKinlay afa1ee5e6f StringBuffer.java (substring): Don't set `shared' on small Strings, even if buffer is already shared.
* java/lang/StringBuffer.java (substring): Don't set `shared' on
	small Strings, even if buffer is already shared.

From-SVN: r71726
2003-09-24 07:19:24 +01:00
Michael Koch 4112c7bde0 acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2003-09-24  Michael Koch  <konqueror@gmx.de>

	* acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.

From-SVN: r71725
2003-09-24 05:39:23 +00:00
Bryce McKinlay 9b7fe786e1 PlainSocketImpl.java (read): Remove declaration.
* gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
	(write): Likewise.
	(SocketInputStream, SocketOutputStream): Declare `read' and `write'
	native. Remove implementations which called back into
	PlainSocketImpl.
	Remove unneccessary overridden methods.
	* gnu/java/net/natPlainSocketImplNoNet.cc (read): Move
	implementation
	to inner class PlainSocketImpl.SocketInputStream.
	(write): Likewise.
	* gnu/java/net/natPlainSocketImplPosix.cc: As above.
	* gnu/java/net/natPlainSocketImplWin32.cc: As above.
	* gnu/java/net/SocketInputStream.java: Remove unused file.
	* gnu/java/net/SocketOutputStream.java: Likewise.
	* Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
	and SocketOutputStream.
	* Makefile.in: Rebuilt.

From-SVN: r71724
2003-09-24 06:38:36 +01:00
Nathanael Nerode b9f2972f1e config.gcc: Move use_fixproto=no from generic vxworks clause to specific one.
* config.gcc: Move use_fixproto=no from generic vxworks clause to
	specific one.

From-SVN: r71723
2003-09-24 04:09:00 +00:00
Nathanael Nerode a30ac78154 config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto (accidentally missed in last pass).
* config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto
	(accidentally missed in last pass).

From-SVN: r71722
2003-09-24 04:03:46 +00:00
Andrew Pinski 8ad9fb3334 re PR bootstrap/12383 (Bootstrap fails in dwarf2out with `HAVE_GAS_SHF_MERGE' undeclared)
2003-09-23  Andrew Pinski  <apinski@apple.com>

        PR bootstrap/12383
        * configure: Regenerate.

From-SVN: r71721
2003-09-23 20:56:49 -07:00
Nathanael Nerode e743d226a0 config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally missed in last pass).
* config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally
	missed in last pass).

From-SVN: r71720
2003-09-24 03:52:29 +00:00
Alexandre Oliva 45adea506f mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe constant.
* config/mn10300/mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe
constant.

From-SVN: r71718
2003-09-24 02:56:46 +00:00
Nathanael Nerode 9ab346a144 * config.gcc: Move vax-*-vms* unsupported notice up with the rest.
From-SVN: r71715
2003-09-24 02:42:13 +00:00
Nathanael Nerode 8b22a93bd2 config.gcc (alpha64*-dec-*vms*, [...]): Disable fixproto.
* config.gcc (alpha64*-dec-*vms*, alpha*-dec-*vms*,
	powerpc-*-eabisim*, powerpc-*-eabi*, powerpcle-*-eabisim*,
	powerpcle-*-eabi*): Disable fixproto.

From-SVN: r71714
2003-09-24 02:37:52 +00:00
Nathanael Nerode 76bc249d13 config.gcc: Move use_fixproto=no from generic FreeBSD clause to specific FreeBSD clauses.
* config.gcc: Move use_fixproto=no from generic FreeBSD clause to
	specific FreeBSD clauses.

From-SVN: r71713
2003-09-24 02:28:51 +00:00
Nathanael Nerode 980465f330 config.gcc: Move use_fixproto=no from generic NetBSD clause to specific NetBSD clauses.
* config.gcc: Move use_fixproto=no from generic NetBSD clause to
	specific NetBSD clauses.

From-SVN: r71712
2003-09-24 02:19:38 +00:00
Nathanael Nerode 7bc5294afe config.gcc: Move use_fixproto=no from generic OpenBSD clause to specific OpenBSD clauses.
* config.gcc: Move use_fixproto=no from generic OpenBSD clause
	to specific OpenBSD clauses.

From-SVN: r71711
2003-09-24 02:10:04 +00:00
Nathanael Nerode d0010eed54 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
From-SVN: r71710
2003-09-24 01:56:56 +00:00
John David Anglin 3ffa9dc1b5 pa.c (hppa_expand_prologue): Do pic register save in frame marker without adding a frame note.
* pa.c (hppa_expand_prologue): Do pic register save in frame marker
	without adding a frame note.
	* pa.md (allocate_stack): Save pic register in new frame marker when
	generating pic code.

From-SVN: r71709
2003-09-24 01:38:32 +00:00
GCC Administrator 3eaf1216b9 Daily bump.
From-SVN: r71706
2003-09-24 00:16:08 +00:00
Kelley Cook a20af5b810 cgraphunit.c (cgraph_expand_all_functions): Renamed from cgraph_expand_functions.
2003-09-23  Kelley Cook  <kelleycook@wideopenwest.com>

	* cgraphunit.c (cgraph_expand_all_functions): Renamed from
	cgraph_expand_functions.

From-SVN: r71704
2003-09-24 00:05:42 +00:00
Kaveh R. Ghazi 269a734355 Makefile.in (gnucompare*): Merge into ...
* Makefile.in (gnucompare*): Merge into ...
	(slowcompare*): ... here.
	(fastcompare*): New targets.
	* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): Add checks for
	other "fast" cmp programs.
	* configure: Regenerate.

From-SVN: r71703
2003-09-23 22:57:53 +00:00
Rainer Orth d84a4ef1dd targhooks.c: Include output.h.
* targhooks.c: Include output.h.
	* Makefile.in (targhooks.o): Add output.h to dependency list.

From-SVN: r71702
2003-09-23 22:33:30 +00:00
Rainer Orth 92b836fa73 * config.host: Removed superfluous newline.
From-SVN: r71701
2003-09-23 22:29:01 +00:00
Nathanael Nerode b01bc573ac config.gcc: Use ${target}, not $machine.
* config.gcc: Use ${target}, not $machine.
	* configure.in: Don't set $machine.
	* configure: Regenerate.

From-SVN: r71700
2003-09-23 21:51:44 +00:00
Nathanael Nerode da64f72ecd Float.java, [...]: Add GCJ LOCAL markers.
* java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
	markers.

From-SVN: r71699
2003-09-23 21:42:40 +00:00
Geoffrey Keating fff2cb99c9 rs6000.c (function_arg_pass_by_reference): Don't pass zero-size arrays by reference.
2003-09-23  Geoffrey Keating  <geoffk@apple.com>

	* config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't
	pass zero-size arrays by reference.
	(rs6000_va_arg): Likewise.

2003-09-23  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/darwin-abi-1.c: New file.

From-SVN: r71698
2003-09-23 21:37:32 +00:00
Nathanael Nerode e5f1132858 config.gcc: Set use_fixproto=no in each specific *-gnu* configuration...
* config.gcc: Set use_fixproto=no in each specific *-gnu*
	configuration, rather than the generic one.

From-SVN: r71695
2003-09-23 20:16:59 +00:00
Benjamin Kosnik 11f10e6b1f locale_facets.tcc: Tweak to avoid warnings.
2003-09-23  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc: Tweak to avoid warnings.
	* testsuite/testsuite_hooks.h: Same.
	* testsuite/*/*.cc: Same.

From-SVN: r71693
2003-09-23 20:03:30 +00:00
Richard Henderson 1593ad2edd tree-inline.c (remap_save_expr): Map new save_expr to identity rather than to error_mark_node.
* tree-inline.c (remap_save_expr): Map new save_expr to identity
        rather than to error_mark_node.

From-SVN: r71692
2003-09-23 13:02:48 -07:00
Rainer Orth 5d4856a011 configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
* configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
	Update description.
	* configure: Regenerate.
	* config.in: Likewise.
	* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for
	HAVE_GAS_SHF_MERGE value.
	* varasm.c (mergeable_string_section): Likewise.
	(mergeable_constant_section): Likewise.

From-SVN: r71691
2003-09-23 19:47:00 +00:00
Rainer Orth 5748beec64 except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO value.
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
	value.

From-SVN: r71690
2003-09-23 19:29:56 +00:00
Rainer Orth 6773a41c43 target.h (struct gcc_target): New member external_libcall.
* target.h (struct gcc_target): New member external_libcall.
	* target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
	(TARGET_ASM_OUT): Use it.
	* doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document.
	* targhooks.c: Convert to ISO C 90.
	(default_external_libcall): New function.
	* targhooks.h (default_external_libcall): Declare.
	* varasm.c (assemble_external_libcall): Use
	targetm.asm_out.external_libcall instead of
	ASM_OUTPUT_EXTERNAL_LIBCALL.
	* config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6]
	(mips_output_external_libcall): Declare.
	* config/mips/mips.c (mips_output_external_libcall): Change
	definition guard.
	Change to match TARGET_ASM_EXTERNAL_LIBCALL.
	Only operate for O32 ABI.
	* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define
	instead of ASM_OUTPUT_EXTERNAL_LIBCALL.
	* config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef,
	superceded by TARGET_ASM_EXTERNAL_LIBCALL.

From-SVN: r71689
2003-09-23 19:17:49 +00:00
David Edelsohn 8c8a95ffca Correct gpr_or_gpr_p ChangeLog entry.
From-SVN: r71688
2003-09-23 14:56:57 -04:00
Nathanael Nerode 587dc9c65e config.gcc: Do per-target disabling of fixproto here in clauses, not in t- fragments.
* config.gcc: Do per-target disabling of fixproto here in clauses,
	not in t- fragments.
	* configure.in: Adjust to set STMP_FIXPROTO correctly.
	* configure: Regenerate.
	* config/arm/t-semi, config/cris/t-cris, config/i386/t-beos,
	config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux,
	t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks,
	xtensa/t-xtensa: Remove setting of STMP_FIXPROTO.
	* config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd,
	t-interix, t-linux-aout:  Delete files consisting only of
	setting of STMP_FIXPROTO.

From-SVN: r71687
2003-09-23 18:56:00 +00:00
Nathanael Nerode d064c269e6 config.host: Allow unknown hosts (not targets).
* config.host: Allow unknown hosts (not targets).  Allow
	ns32k-*-netbsdelf* as a host (not a target).  Remove redundant
	empty clauses.  Remove useless obsolete-configuration clause.
	Prune unsupported configuration list.  Collapse identical
	clauses for closely related systems.  Rewrite comment for
	unsupported hosts list.  Reorganize a little.

From-SVN: r71686
2003-09-23 18:52:45 +00:00