Commit Graph

54477 Commits

Author SHA1 Message Date
Andreas Jaeger c6d43186e5 * Make-lang.in (f77.rebuilt): Fix dependency on g77.info.
From-SVN: r74055
2003-11-30 12:29:56 +01:00
James E Wilson 348d71c7cf Fix ia64 libunwind gnatmake link error.
* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
	instead of in shared_name.

From-SVN: r74054
2003-11-30 00:23:23 -08:00
James E Wilson 5583e33da8 Make NON_SAVING_SETJMP usable again.
* final.c (final_start_function): Delete code for NON_SAVING_SETJMP.
	* reload1.c (reload): Re-add it here.

From-SVN: r74052
2003-11-29 22:32:57 -08:00
Alan Modra 1ff8f81ab3 rs6000.c (rs6000_elf_section_type_flags): Don't set SECTION_WRITE on TARGET_RELOCATABLE.
* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
	set SECTION_WRITE on TARGET_RELOCATABLE.

From-SVN: r74051
2003-11-30 15:26:07 +10:30
Kazu Hirata a1dce8d1ea * config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.
From-SVN: r74050
2003-11-30 04:31:04 +00:00
Gunther Nikl f082d7a951 m68k.c (MOTOROLA): Move from here...
* config/m68k/m68k.c (MOTOROLA): Move from here...
	* config/m68k/m68k.h (MOTOROLA): ... to here.
	(OUTPUT_JUMP): Use do {...} while (0).
	* config/m68k/m68k.md: Replace #ifdef MOTOROLA with C statements.

From-SVN: r74049
2003-11-30 05:28:34 +01:00
Gunther Nikl c16202e159 config.gcc (m68020-*-elf*, [...]): Add tm_defines containing MOTOROLA and USE_GAS.
* config.gcc (m68020-*-elf*, m68k-*-elf*, m68010-*-netbsdelf*,
	m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing
	MOTOROLA and USE_GAS.
	* config/m68k/rtemself.h (MOTOROLA): Delete.
	* config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete.
	* config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete.

From-SVN: r74048
2003-11-30 05:20:28 +01:00
Kazu Hirata 3f69c502d0 * config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
From-SVN: r74047
2003-11-30 02:25:25 +00:00
Kelley Cook ee312cd002 Makefile.in (install-info): Install gccinstall.info too.
2003-11-29  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in (install-info): Install gccinstall.info too.

From-SVN: r74046
2003-11-30 01:07:51 +00:00
GCC Administrator f2df47385c Daily bump.
From-SVN: r74043
2003-11-30 00:16:06 +00:00
Ulrich Weigand fd87a35778 * config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
From-SVN: r74040
2003-11-30 00:02:32 +00:00
Ulrich Weigand 51a30506f1 Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb to force serialization.
* Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
	to force serialization.

From-SVN: r74039
2003-11-29 23:57:40 +00:00
Paolo Carlini 4da2b96035 fstream.tcc (underflow): Minor tweaks in preparation for libstdc++/13217.
2003-11-29  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/fstream.tcc (underflow): Minor tweaks in
	preparation for libstdc++/13217.

From-SVN: r74038
2003-11-29 22:49:46 +00:00
Ulrich Weigand d71a8c3b20 s390.md ("movhi"): Do not emit extender pattern when loading from a (MEM (ADDRESSOF ...)).
* config/s390/s390.md ("movhi"): Do not emit extender pattern
	when loading from a (MEM (ADDRESSOF ...)).
	("movqi"): Likewise.

From-SVN: r74037
2003-11-29 22:31:27 +00:00
Joseph Myers 65f0edec4b re PR c/10333 (typeof (bitfield) is accepted but doesn't work)
PR c/10333
	* c-parse.in (typespec_reserved_nonattr): Reject typeof on
	bit-fields.

testsuite:
	* gcc.dg/bitfld-7.c: New test.

From-SVN: r74036
2003-11-29 20:09:48 +00:00
Richard Sandiford 9c85868198 stmt.c (expand_asm_operands): Check whether force_const_mem succeeded.
* stmt.c (expand_asm_operands): Check whether force_const_mem
	succeeded.

testsuite/
	* gcc.dg/tls/asm-1.C: New test.

From-SVN: r74035
2003-11-29 18:54:43 +00:00
Paolo Carlini 2d25605a54 13171-2.cc: Tweak for a few small problems (fix timings, use VERIFY..)
2003-11-29  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc:
	Tweak for a few small problems (fix timings, use VERIFY..)

From-SVN: r74034
2003-11-29 17:42:16 +00:00
Kaveh R. Ghazi 26b0ad130a gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
* config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
	* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New.

	* config/alpha/gnu.h, config/alpha/linux.h,
	config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h,
	config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h,
	config/i386/linux-aout.h, config/i386/linux.h,
	config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux.h,
	config/m68k/uclinux.h, config/mips/linux.h,
	config/mn10300/linux.h, config/pa/pa-linux.h,
	config/rs6000/sysv4.h, config/s390/linux.h, config/sh/linux.h,
	config/sparc/linux.h, config/sparc/linux64.h,
	config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Use
	HURD_TARGET_OS_CPP_BUILTINS/LINUX_TARGET_OS_CPP_BUILTINS or ensure
	all necessary assertions are included.

testsuite:
	* testsuite/gcc.dg/cpp/assert4.c: Update.

From-SVN: r74031
2003-11-29 03:08:13 +00:00
Jan Hubicka 2c07f13b2b emit-rtl.c (set_used_flags): New.
* emit-rtl.c (set_used_flags): New.
	(verify_rtx_sharing, verify_rtl_sharing): New.
	(unshare_all_rtl_1): Rename to....
	(unshare_all_rtl_in_chain): ... this one; make static.
	(copy_rtx_if_shared): LABEL_REF chan be shared.
	* ifcvt.c (unshare_ifcvt_sequence): New.
	(noce_try_move, noce_try_store_flag, noce_try_store_flag_constants,
	noce_try_addcc, noce_try_addcc, noce_try_store_flag_mask,
	noce_try_cmove, noce_try_store_flag_mask, noce_try_minmax,
	noce_try_abs, noce_process_if_block, find_cond_trap
	* rtl.h (verify_rtl_sharing, set_used_flags, unshare_all_rtl_in_chain):
	Declare.

From-SVN: r74030
2003-11-29 01:13:43 +00:00
GCC Administrator 58c5975b25 Daily bump.
From-SVN: r74028
2003-11-29 00:16:09 +00:00
Michael Koch c3f322d803 2003-11-28 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java
	(lookup): New method that doesnt lookup "0.0.0.0".
	(ImplLookup): Renamed from lookup.
	* java/net/natInetAddressNoNet.cc
	(ImplLookup): Renamed from lookup.
	* java/net/natInetAddressPosix.cc
	(ImplLookup): Renamed from lookup.
	* java/net/natInetAddressWin32.cc
	(ImplLookup): Renamed from lookup.

From-SVN: r74026
2003-11-28 22:01:29 +00:00
Bryce McKinlay bb6ed2ac99 configure: Rebuilt.
2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>

	* configure: Rebuilt.
	* configure.in: Require gtk and glib 2.2.0.

From-SVN: r74023
2003-11-28 19:48:10 +00:00
Eric Botcazou 48ee6fa02c builtin-apply2.c: Set size of stack argument data to 64.
* gcc.dg/builtin-apply2.c: Set size of stack argument data to 64.
	* gcc.dg/builtin-apply3.c: New test.

From-SVN: r74022
2003-11-28 16:35:52 +00:00
Ben Elliston 21f1c57746 Correct the description of these files in the comment header.
From-SVN: r74018
2003-11-28 22:23:36 +11:00
Paolo Carlini 05a47a473d 13171-3.cc: Remove.
2003-11-28  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New,
	the original third testcase for libstdc++/13171 belong here.

From-SVN: r74017
2003-11-28 10:24:27 +00:00
Paolo Carlini ac912ba1db 13171-3.cc: Remove extraneous wchar_t lines.
2003-11-28  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc:
	Remove extraneous wchar_t lines.

From-SVN: r74016
2003-11-28 08:02:51 +00:00
Kazu Hirata 8207738db2 * config/h8300/h8300.md: Fix a comment typo.
From-SVN: r74015
2003-11-28 05:39:20 +00:00
Kazu Hirata de081ebf6a h8300.md (*movsf_h8300h): Change to *movsf_h8300hs.
* config/h8300/h8300.md (*movsf_h8300h): Change to
	*movsf_h8300hs.
	(addsi_h8300): Change to *addsi_h8300.
	(addsi_h8300h): Change to *addsi_h8300hs.
	(subsi3_h8300): Change to *subsi3_h8300.
	(subsi3_h8300h): Change to *subsi3_h8300hs.
	(neghi2_h8300h): Change to *neghi2_h8300hs.
	(negsi2_h8300h): Change to *negsi2_h8300hs.

From-SVN: r74014
2003-11-28 05:27:10 +00:00
Kazu Hirata be52ec1df2 h8300.md (*subhi3_h8300): Remove '&' from the constraint.
* config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the
	constraint.
	(*subhi3_h8300hs): Likewise.

From-SVN: r74013
2003-11-28 05:16:52 +00:00
David Edelsohn ffa2298476 rs6000.h (MASK_MFCRF): New.
* config/rs6000/rs6000.h (MASK_MFCRF): New.
        (TARGET_MFCRF): Test target_flags, not processor type.
        (TARGET_SWITCHES): Add mfcrf and no-mfcrf.
        Change Don't to Do not.
        * config/rs6000/rs6000.c (processors_target_table): Add MASK_MFCRF
        to power4, 970, G5.

From-SVN: r74012
2003-11-28 00:07:06 -05:00
GCC Administrator e427e6944b Daily bump.
From-SVN: r74009
2003-11-28 00:16:08 +00:00
J"orn Rennecke f3ea070684 cse.c (cse_set_around_loop): When changing a constant load to a register -register copy, add a REG_EQUAL note.
* cse.c (cse_set_around_loop): When changing a constant load
	to a register -register copy, add a REG_EQUAL note.

From-SVN: r74007
2003-11-27 21:45:26 +00:00
Randolph Chung a3d4c92f8a pa.c (hppa_profile_hook): Split gen_call_profiler into separate insns.
* pa.c (hppa_profile_hook): Split gen_call_profiler into separate
	insns.  Use the regular call expander for the call to the profiler.
	* pa.md (call_profiler): Delete.
	(load_offset_label_address): New insn to load the address of the
	current function for the profiler.
	(lcla1, lcla2): New insns to output a code label and load its address.

Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>

From-SVN: r74004
2003-11-27 20:02:36 +00:00
Kazu Hirata a27b9e3c6f * final.c (final_scan_insn): Remove commented-out code.
From-SVN: r74002
2003-11-27 18:21:51 +00:00
Nathanael Nerode 75043b6704 * doc/install.texi: Remove ADAC reference and make accurate.
From-SVN: r74001
2003-11-27 18:04:14 +00:00
Paolo Carlini 5536b61c1e re PR libstdc++/11544 (wifstream conversion errors result in wrong rdstate())
2003-11-27  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/11544
	PR libstdc++/11603
	* include/bits/fstream.tcc (underflow): Throw ios_base:failure
	upon incomplete or invalid byte sequences in the file.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: New.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: New.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: New.

From-SVN: r74000
2003-11-27 17:56:05 +00:00
Kazu Hirata c9ae693dcf Fix a typo in ChangeLog.
From-SVN: r73999
2003-11-27 17:48:09 +00:00
Kazu Hirata ef3b9941e9 h8300.h (FUNCTION_VALUE): Use R0_REG.
* config/h8300/h8300.h (FUNCTION_VALUE): Use R0_REG.
	(FUNCTION_VALUE_REGNO_P): Likewise.
	* config/h8300/h8300.md: Define R0_REG.

From-SVN: r73998
2003-11-27 17:45:20 +00:00
Kazu Hirata 80e585192e h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
	* config/h8300/h8300.md: Likewise.

From-SVN: r73997
2003-11-27 17:40:10 +00:00
Kazu Hirata 7e92075449 * config/h8300/h8300.h (ELIMINABLE_REGS): Update a coment.
From-SVN: r73996
2003-11-27 17:20:33 +00:00
Kazu Hirata 8dae21e71a * config/h8300/h8300.md: Give names to anonymous insns.
From-SVN: r73994
2003-11-27 14:47:06 +00:00
Kazu Hirata da7959a852 * config/h8300/h8300.md (extendqisi2): Remove constraints.
From-SVN: r73993
2003-11-27 14:16:29 +00:00
Paolo Carlini fb8d463851 std_streambuf.h (__copy_streambufs): Remove the first, unused, basic_ios<> parameter.
2003-11-27  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_streambuf.h (__copy_streambufs): Remove
	the first, unused, basic_ios<> parameter.
	* src/streambuf-inst.cc: Likewise.
	* include/bits/streambuf.tcc: Likewise.
	* include/bits/istream.tcc (operator>>(__streambuf_type*)):
	Tweak accordingly the call.
	* include/bits/ostream.tcc (operator<<(__streambuf_type*)):
	Likewise.

	* include/bits/streambuf.tcc (__copy_streambufs): Remove
	redundant try/catch.

From-SVN: r73992
2003-11-27 13:13:19 +00:00
Arnaud Charlet 81a5b587ef [multiple changes]
2003-11-26  Thomas Quinot  <quinot@act-europe.fr>

	* g-socket.ads, g-socket.adb:
	Clarify documentation of function Stream. Introduce a Free procedure
	to release the returned Stream once it becomes unused.

	* 5asystem.ads: For Alpha Tru64, enable ZCX by default.

2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>

	(Cond_Timed_Wait): Introduce new constant Time_Out_Max,
	since NT 4 cannot handle timeout values that are too large,
	e.g. DWORD'Last - 1.

2003-11-26  Ed Schonberg  <schonberg@gnat.com>

	* exp_ch4.adb:
	(Expand_N_Slice): Recognize all cases of slices that appear as actuals
	in procedure calls and whose expansion must be deferred.

	* exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
	is in exp_ch4.

	* sem_ch3.adb:
	(Build_Derived_Array_Type): Create operator for unconstrained type
	if ancestor is unconstrained.

2003-11-26  Vincent Celier  <celier@gnat.com>

	* make.adb (Project_Object_Directory): New global variable
	(Change_To_Object_Directory): New procedure
	(Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
	of Change_Dir directly. Do not change working directory to object
	directory of main project after each compilation.
	(Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
	directly.
	Change to object directory of main project before binding step.
	(Initialize): Initialize Project_Object_Directory to No_Project

	* mlib-prj.adb:
	(Build_Library): Take into account Builder'Default_Switches ("Ada") when
	binding a Stand-Alone Library.

	* output.adb: Update Copyright notice
	(Write_Char): Output buffer when full

2003-11-26  Robert Dewar  <dewar@gnat.com>

	* sem_ch13.adb: (Check_Size): Reset size if size is too small

	* sem_ch13.ads:
	(Check_Size): Fix documentation to include bit-packed array case

	* sem_res.adb: Implement restriction No_Direct_Boolean_Operators

	* s-rident.ads: Put No_Direct_Boolean_Operators in proper order

	* s-rident.ads: Add new restriction No_Direct_Boolean_Operators

From-SVN: r73991
2003-11-27 12:40:45 +01:00
Gunther Nikl f4314bb628 tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo.
2003-11-27  Gunther Nikl  <gni@gecko.de>

	* doc/tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo.

From-SVN: r73990
2003-11-27 11:24:42 +00:00
Eric Botcazou 4caddf0b18 compat.exp (compat-obj): New xfaildata parameter.
* lib/compat.exp (compat-obj): New xfaildata parameter.
	Use it to set compiler_conditional_xfail_data before compiling.
	(compat-get-options): Handle dg-xfail-if.
	(compat-execute): Retrieve XFAIL data and pass them to compat-obj.
	* gcc.dg/compat/vector-1_x.c: XFAIL on SPARC.
	* gcc.dg/compat/vector-1_y.c: Likewise.
	* gcc.dg/compat/vector-2_x.c: Likewise.
	* gcc.dg/compat/vector-2_y.c: Likewise.

From-SVN: r73989
2003-11-27 10:43:01 +00:00
Michael Koch 4eec34e5a4 [multiple changes]
2003-11-27  Dalibor Topic <robilad@kaffe.org>

	* java/text/FieldPosition.java (equals): Adapted to handle
	field_attribute. Added fast-circuit check for comparison to self.
	Replaced use of instanceof by getClass to fix symmetry for derived
	types.
	(toString): Adapted to handle field_attribute. Improved readability.
	(hashCode): New method.

2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/FieldPosition.java (field_attribute): New field.
	(FieldPosition (Format.Field), FieldPosition(Format.Field, int),
	getFieldAttribute): New methods.

From-SVN: r73988
2003-11-27 10:08:33 +00:00
Guilhem Lavaux 95f5c6a243 DecimalFormatSymbols.java (locale): New field.
2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/DecimalFormatSymbols.java (locale): New field.
	(DecimalFormatSymbols (Locale)): Set locale.
	(serialVersionOnStream): Upgraded to number 2.
	(readObject): Assign locale if it wasn't by the serializer.

From-SVN: r73987
2003-11-27 09:49:22 +00:00
Guilhem Lavaux 76167dc0ff FormatCharacterIterator.java: Documented the class and
2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/FormatCharacterIterator.java: Documented the class and

2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/FormatCharacterIterator.java: Fixed some typos.

From-SVN: r73986
2003-11-27 09:43:02 +00:00
Michael Koch a01387ddb7 [multiple changes]
2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/NumberFormat.java:
	(getIntegerInstance) Added the java version in the comments.

2003-11-27  Mark Wielaard  <mark@klomp.org>

	* java/text/NumberFormat.java: Import java.io.InvalidObjectException.
	(readResolve): Reformat.

2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>

	* java/text/NumberFormat.java
	(NumberFormat.Field): New implemented class to match Java 1.4.
	(getIntegerInstance): Two new Java 1.4 methods.o

From-SVN: r73985
2003-11-27 09:36:25 +00:00