bernie [Sun, 30 Nov 2003 04:20:28 +0000 (04:20 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74048
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 30 Nov 2003 02:25:25 +0000 (02:25 +0000)]
* config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74047
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Sun, 30 Nov 2003 01:07:51 +0000 (01:07 +0000)]
2003-11-29 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (install-info): Install gccinstall.info too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74046
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 30 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74043
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sun, 30 Nov 2003 00:02:32 +0000 (00:02 +0000)]
* config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74040
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 29 Nov 2003 23:57:40 +0000 (23:57 +0000)]
* Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
to force serialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74039
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 29 Nov 2003 22:49:46 +0000 (22:49 +0000)]
2003-11-29 Paolo Carlini <pcarlini@suse.de>
* include/bits/fstream.tcc (underflow): Minor tweaks in
preparation for libstdc++/13217.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74038
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 29 Nov 2003 22:31:27 +0000 (22:31 +0000)]
* config/s390/s390.md ("movhi"): Do not emit extender pattern
when loading from a (MEM (ADDRESSOF ...)).
("movqi"): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74037
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 29 Nov 2003 20:09:48 +0000 (20:09 +0000)]
PR c/10333
* c-parse.in (typespec_reserved_nonattr): Reject typeof on
bit-fields.
testsuite:
* gcc.dg/bitfld-7.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74036
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 29 Nov 2003 18:54:43 +0000 (18:54 +0000)]
* stmt.c (expand_asm_operands): Check whether force_const_mem
succeeded.
testsuite/
* gcc.dg/tls/asm-1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74035
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 29 Nov 2003 17:42:16 +0000 (17:42 +0000)]
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..)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74034
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 29 Nov 2003 03:08:13 +0000 (03:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74031
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 29 Nov 2003 01:13:43 +0000 (01:13 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74030
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 29 Nov 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74028
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 28 Nov 2003 22:01:29 +0000 (22:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74026
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 28 Nov 2003 19:48:10 +0000 (19:48 +0000)]
2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
* configure: Rebuilt.
* configure.in: Require gtk and glib 2.2.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74023
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 28 Nov 2003 16:35:52 +0000 (16:35 +0000)]
* gcc.dg/builtin-apply2.c: Set size of stack argument data to 64.
* gcc.dg/builtin-apply3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74022
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Fri, 28 Nov 2003 11:23:36 +0000 (11:23 +0000)]
Correct the description of these files in the comment header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74018
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 28 Nov 2003 10:24:27 +0000 (10:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74017
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 28 Nov 2003 08:02:51 +0000 (08:02 +0000)]
2003-11-28 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc:
Remove extraneous wchar_t lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74016
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 28 Nov 2003 05:39:20 +0000 (05:39 +0000)]
* config/h8300/h8300.md: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74015
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 28 Nov 2003 05:27:10 +0000 (05:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74014
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 28 Nov 2003 05:16:52 +0000 (05:16 +0000)]
* config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the
constraint.
(*subhi3_h8300hs): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74013
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 28 Nov 2003 05:07:06 +0000 (05:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74012
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 28 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74009
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 27 Nov 2003 21:45:26 +0000 (21:45 +0000)]
* cse.c (cse_set_around_loop): When changing a constant load
to a register -register copy, add a REG_EQUAL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74007
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 27 Nov 2003 20:02:36 +0000 (20:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74004
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 18:21:51 +0000 (18:21 +0000)]
* final.c (final_scan_insn): Remove commented-out code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74002
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Thu, 27 Nov 2003 18:04:14 +0000 (18:04 +0000)]
* doc/install.texi: Remove ADAC reference and make accurate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74001
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 27 Nov 2003 17:56:05 +0000 (17:56 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74000
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 17:48:09 +0000 (17:48 +0000)]
Fix a typo in ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73999
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 17:45:20 +0000 (17:45 +0000)]
* config/h8300/h8300.h (FUNCTION_VALUE): Use R0_REG.
(FUNCTION_VALUE_REGNO_P): Likewise.
* config/h8300/h8300.md: Define R0_REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73998
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 17:40:10 +0000 (17:40 +0000)]
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.md: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73997
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 17:20:33 +0000 (17:20 +0000)]
* config/h8300/h8300.h (ELIMINABLE_REGS): Update a coment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73996
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 14:47:06 +0000 (14:47 +0000)]
* config/h8300/h8300.md: Give names to anonymous insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73994
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 27 Nov 2003 14:16:29 +0000 (14:16 +0000)]
* config/h8300/h8300.md (extendqisi2): Remove constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73993
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 27 Nov 2003 13:13:19 +0000 (13:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73992
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Thu, 27 Nov 2003 11:40:45 +0000 (11:40 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73991
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 27 Nov 2003 11:24:42 +0000 (11:24 +0000)]
2003-11-27 Gunther Nikl <gni@gecko.de>
* doc/tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73990
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 27 Nov 2003 10:43:01 +0000 (10:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73989
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 10:08:33 +0000 (10:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73988
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 09:49:22 +0000 (09:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73987
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 09:43:02 +0000 (09:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73986
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 09:36:25 +0000 (09:36 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73985
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 09:16:13 +0000 (09:16 +0000)]
2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/util/GregorianCalendar.java (getLinearTime): Avoid counting
the leap day of the leap year twice.
(computeFields): First week of month is 1 not 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73984
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 09:09:13 +0000 (09:09 +0000)]
2003-11-27 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73983
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 09:04:01 +0000 (09:04 +0000)]
2003-11-27 Michael Koch <konqueror@gmx.de>
* javax/swing/UIDefaults.java:
Reformated to match classpath's version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73981
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 27 Nov 2003 08:53:42 +0000 (08:53 +0000)]
2003-11-27 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/UIManager.java (getDefaults, getDimension,
getIcon, getInsets, getInstalledLookAndFeels, getInt,
getLookAndFeel, getString, getSystemLookAndFeelClassName):
Declare as public.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73980
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 27 Nov 2003 08:14:25 +0000 (08:14 +0000)]
2003-11-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9371
PR libstdc++/9546
PR libstdc++/10093
PR libstdc++/10095
* include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit.
(basic_ios::_M_setstate): Consolidate common error handling code.
* include/bits/basic_ios.tcc: Tweak.
* include/bits/fstream.tcc: Tweak.
* include/bits/istream.tcc: Use _M_setstate for common exception
handling. Move setstate calls after catch.
(basic_istream::tellg): Check for exceptions thrown by streambuf
virtual functions.
(basic_istream::seekg): Same.
* include/bits/ostream.tcc: Same, but for ostream.
(basic_ostream::flush): Check for exceptions thrown by streambuf
virtual functions.
(basic_istream::tellp): Same.
(basic_istream::seekp): Same.
* include/bits/locale_facets.tcc: Tweak.
* include/bits/streambuf.tcc: Tweak.
(__copy_streambufs): Propagate exceptions.
* testsuite/testsuite_io.h (fail_streambuf): New.
(fail_num_get): New.
(fail_num_put): New.
(facet_error): New.
(underflow_error): New.
(overflow_error): New.
(positioning_error): New.
* testsuite/27_io/basic_istream/exceptions/char/9561.cc: Tweak.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_badbit_throw.cc, exceptions_failbit.cc,
exceptions_failbit_throw.cc: New.
* testsuite/27_io/basic_istream/extractors_other/char/
error_failbit.cc, exceptions_badbit_throw.cc,
exceptions_failbit_throw.cc, exceptions_null.cc: New.
* testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
New.
* testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc:
New.
* testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc:
New.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_badbit_throw.cc, exceptions_failbit_throw.cc: New.
* testsuite/27_io/basic_ostream/inserters_other/char/
error_failbit.cc, exceptions_badbit_throw.cc,
exceptions_failbit_throw.cc, exceptions_null.cc: New.
* testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
New.
* testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc:
New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73979
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 27 Nov 2003 06:45:25 +0000 (06:45 +0000)]
PR optimization/13041
* final.c (frame_pointer_needed): Fix comment.
* reload1.c (reload): Decrease alignment of the frame
pointer if it was used for register allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73978
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 27 Nov 2003 06:36:52 +0000 (06:36 +0000)]
PR target/12900
* reg-stack (move_for_stack_reg): New prototype. Return
whether a control flow insn was deleted.
(subst_stack_regs_pat): Likewise, using the information provided
by move_for_stack_reg.
(subst_stack_regs): Likewise, using the information provided
by subst_stack_regs_pat.
(convert_regs_1): Record whether a control flow insn was deleted,
using the information provided by subst_stack_regs. Purge dead
edges only if a control flow insn was deleted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73977
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 27 Nov 2003 05:20:11 +0000 (05:20 +0000)]
PR middle-end/8028
PR middle-end/9890
PR middle-end/11151
PR middle-end/12210
PR middle-end/12503
PR middle-end/12692
* builtins.c (expand_builtin_apply): Use virtual_outgoing_args_rtx
as the base address to copy the memory arguments to.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73976
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 27 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73972
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 26 Nov 2003 23:33:05 +0000 (23:33 +0000)]
* cp-demangle.c (struct d_print_mod): Add templates field.
(d_make_builtin_type): Check for NULL type.
(d_make_extended_operator): Check for NULL name.
(d_make_ctor, d_make_dtor): Likewise.
(d_mangled_name): Add top_level parameter. Change all callers.
(d_encoding): If DMGL_PARAMS is not set, strip off initial
CV-qualifiers.
(d_type): Check some return values we rely on.
(d_bare_function_type, d_array_type): Likewise.
(d_pointer_to_member_type, d_template_args): Likewise.
(d_add_substitution): Fail if argument is NULL.
(d_print_resize): Check whether buf is NULL.
(d_print_comp): Save current templates list with each modifier.
Don't pass the modifier list down when printing a template.
(d_print_cast): Don't pass the modifier list down when printing a
template.
(d_print_mod_list): Temporarily set templates list while printing
a modifier.
(d_print_mod): Check that buf is not NULL before using it.
(d_print_function_type): Print parens if there is no modifier.
(d_init_info): Permit as many substitutions as there are
characters in the mangled name.
* testsuite/demangle-expected: Add two new test cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73970
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 26 Nov 2003 22:45:56 +0000 (22:45 +0000)]
2003-11-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12297
* include/bits/istream.tcc
(basic_istream::sentry::sentry): Set failbit and eofbit when eof.
* testsuite/27_io/basic_istream/sentry/char/12297.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73968
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 22:23:40 +0000 (22:23 +0000)]
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
* javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
isSignificant): Likewise.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/CompoundEdit.java: Re-format, document.
(inProgress): Set initial value to true.
(undo, redo, die, canUndo, canRedo): Also call inherited
implementation; simplify code structure.
(getPresentationName, getUndoPresentationName,
getRedoPresentationName): Make behavior dependent on lastEdit.
(addEdit, isSignificant): Completely re-written.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/StateEdit.java: Re-format, document.
(undo, redo): Also call inherited implementation.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/StateEditable.java: Re-format, document.
2003-11-26 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
(AbstractUndoableEdit): Initialize hasBeenDone to true.
(canUndo, canRedo): Simplify.
(getUndoPresentationName, getRedoPresentationName): Support
localized message; call getPresentationName() only once.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73967
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Wed, 26 Nov 2003 22:15:07 +0000 (22:15 +0000)]
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS):
Declare function aliases as functions.
Fix typo in 2003-10-24 entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73966
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 21:55:27 +0000 (21:55 +0000)]
2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
* java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
(ZipFile(File,int)): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73965
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 21:45:55 +0000 (21:45 +0000)]
2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
* java/util/HashMap.java (putAll): Use Iterator hasNext() method.
(putAllInternal): Likewise.
* java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
(putAllInternal): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73964
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 21:25:41 +0000 (21:25 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/URLStreamHandler.java
(parseURL): Added comment in catch statement.
(canonicalizeFilename): Add documentation.
(sameURL): Completed documentation.
(equals): Likewise.
(hostsEqual): Likewise.
(getDefaulPort): Likewise.
(hashCode): Likewise.
(toExternalForm): Likewise.
(getHostName): Fix empty hostname check, completed documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73962
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 26 Nov 2003 19:17:49 +0000 (19:17 +0000)]
* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal
of ADAC.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73960
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 26 Nov 2003 19:04:19 +0000 (19:04 +0000)]
* Makefile.in: Remove references to ADAC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73959
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 26 Nov 2003 19:01:16 +0000 (19:01 +0000)]
* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73958
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 26 Nov 2003 18:02:34 +0000 (18:02 +0000)]
* java/lang/natDouble.cc (parseDouble): Reverted patch of
2003-11-13.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73956
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 26 Nov 2003 17:31:19 +0000 (17:31 +0000)]
* de.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73955
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 26 Nov 2003 15:56:40 +0000 (15:56 +0000)]
2003-11-26 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/13171
* include/bits/fstream.tcc (imbue): Relax the conditions under
which the function succeeds: allow for two consecutive calls with
the same name; state dependent encodings are ok even after open
if at the beginning of the file; don't check seekoff return value
(pipes, cin, cout, etc...)
* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment.
* testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More
correctly use the UTF-8 locale appearing in the PR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73954
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 15:48:08 +0000 (15:48 +0000)]
2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
Mark Wielaard <mark@klomp.org>
* java/net/URLStreamHandler (parseUrl): Fixed URL parsing
('@' should be checked to distinguish port from userinfo).
(toExternalForm): Add @ userInfo if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73953
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 14:50:27 +0000 (14:50 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(DategramSocket, bind): Moved binding code from DatagramSocket
constructor to bind method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73952
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 14:33:41 +0000 (14:33 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(impl): Made private.
(bound): New private member variable.
(DatagramSocket): Fixed documentation, use getImpl().
(getImpl): New package-private method.
(isClosed): Use getImpl().
(getLocalAddress): Completed documentation, use getImpl().
(getLocalPort): Use getImpl().
(getSoTimeout): Likewise.
(setSoTimeout): Likewise.
(getSendBufferSize): Likewise.
(setSendBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(connect): Likewise.
(disconnect): Likewise.
(receive): Likewise.
(send): Likewise.
(setReuseAddress): Likewise.
(setTrafficClass): Likewise.
(bind): Added message to exception.
(isClosed): Completed documentation.
(getChannel): Likewise.
(connect): Added missing exception, refined exception message.
(isBound): Completed documentation, just return bound.
(isConnected): Completed documentation.
(getRemoteSocketAddress): Likewise.
(getReuseAddress): Completed documentation, use getImpl().
(setSoBroadcast): Likewise.
(getSoBroadcast): Likewise.
(getTrafficClass): Likewise.
(getLocalSocketAddress): Simplified.
* java/net/MulticastSocket.java
(MulticastSocket): Removed comment not applying anymore.
(getInterface): Use getImpl().
(getTTL): Likewise.
(getTimeToLive): Likewise.
(setInterface): Likewise.
(setNetworkInterface): Likewise.
(getNetworkInterface): Likewise.
(setLoopback): Likewise.
(getLoopback): Likewise.
(setTTL): Likewise.
(setTimeToLive): Likewise.
(joinGroup): Likewise.
(leaveGroup): Likewise.
(send): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73951
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 26 Nov 2003 13:46:10 +0000 (13:46 +0000)]
* testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
* testsuite/libffi.special/ffitestcxx.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73950
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 12:45:21 +0000 (12:45 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java
(implCreated): Dont set default value explicitely, added
documentation.
(inputShutdown): Likewise.
(outputShutdown): Likewise.
(bound): New private member variable.
(bind): Set bound to true.
(close): Set bound to false.
(isBound): Return bound.
* java/net/ServerSocket.java
(bound): New private member variable.
(bind): Set bound to true.
(close): Set bound to false.
(isBound): Return bound.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73949
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 26 Nov 2003 11:47:01 +0000 (11:47 +0000)]
2003-11-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h
(__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping,
_M_truename and _M_falsename: the constructor always does
it immediately before the _M_cache call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73948
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 11:45:31 +0000 (11:45 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/URL.java
(URL): Fixed documentation to be HTML compliant.
(getContent): Completed documentation.
(getFile): Likewise.
(getPath): Likewise.
(getAuthority): Likewise.
(getHost): Likewise.
(getDefaultPort): Likewise.
(getProtocol): Likewise.
(hashCode): Likewise.
(openConnection): Likewise.
(openStream): Likewise.
(set): Likewise.
(getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73947
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 10:41:02 +0000 (10:41 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java
(hostname): Made private, added documentation.
(addr): Likewise.
(port): Likewise.
(equals): Completed documentation.
(getAddress): Likewise.
(getHostName): Likewise.
(getPort): Likewise.
(hashCode): Likewise.
(isUnresolved): Likewise.
(toString): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73946
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 10:17:51 +0000 (10:17 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/file/Handler.java
(Handler): New explicit constructor.
(openConnection): Added documentation.
* gnu/java/net/protocol/jar/Handler.java
(Handler): New explicit constructor.
(openConnection): Added documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73945
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 26 Nov 2003 10:11:45 +0000 (10:11 +0000)]
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/DatagramPacket.java
(DatagramPacket): Fixed documentation to become legal HTML.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73944
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 26 Nov 2003 09:51:24 +0000 (09:51 +0000)]
* gcc.c-torture/compile/
20031023-4.c: Don't XFAIL on SPARC64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73943
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 26 Nov 2003 09:48:21 +0000 (09:48 +0000)]
PR target/6466
* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
(sparc_flat_compute_frame_size): Likewise.
(sparc_flat_save_restore): Move prototype...
* config/sparc/sparc.c (sparc_flat_save_restore): ...here.
(save_regs): New prototype.
(build_big_number): Likewise.
(apparent_fsize): Change type to HOST_WIDE_INT.
(actual_fsize): Likewise.
(frame_base_offset): Likewise.
(build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
[TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
to load a 64-bit constant.
(sparc_nonflat_function_prologue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Change offset type to HOST_WIDE_INT.
(output_restore_regs): Change offset type to HOST_WIDE_INT.
(sparc_nonflat_function_epilogue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Use build_big_number.
(output_sibcall): Change size type to HOST_WIDE_INT. Use
build_big_number. Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
(sparc_frame_info): Change types for several components.
(sparc_flat_compute_frame_size): Update types according to previous
change.
(sparc_flat_function_prologue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Change offset type to int. Use
build_big_number.
(sparc_flat_function_epilogue): Change offset type to int.
Rename 'size1' into 'reg_offset1'. Change string descriptor to
HOST_WIDE_INT_PRINT_DEC. Use build_big_number. Change big number
limit to 4096 instead of 4095.
* config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73942
138bc75d-0d04-0410-961f-
82ee72b054a4
membar [Wed, 26 Nov 2003 01:34:32 +0000 (01:34 +0000)]
PR java/12548
* resource.c (write_resource_constructor): Append
"_resource" to constructor identifier name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73940
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 26 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73936
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 25 Nov 2003 21:41:28 +0000 (21:41 +0000)]
2003-11-25 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_length):
Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
former is very fast, but stops if encounters a NUL.
(codecvt::do_out): Tweaks.
(codecvt::do_in): Tweaks, improve the code dealing with errors.
* testsuite/performance/wchar_t_length.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73934
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 25 Nov 2003 21:04:41 +0000 (21:04 +0000)]
* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
d_demangle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73931
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 25 Nov 2003 18:26:08 +0000 (18:26 +0000)]
2003-11-25 Michael Koch <konqueror@gmx.de>
* gcj/javaprims.h: Added missing java.util.Currency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73927
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 25 Nov 2003 17:32:54 +0000 (17:32 +0000)]
Fix PR java/13183.
* constants.c (cpool_for_class): New function.
(outgoing_cpool): Remove global variable.
(alloc_name_constant): Use cpool_for_class.
(build_constants_constructor): Likewise.
* decl.c (java_expand_body): Set current_class.
* java-tree.h (outgoing_cpool) Remove declaration.
(init_outgoing_cpool): Likewise.
* jcf-parse.c (init_outgoing_cpool): Remove function.
(parse_class_file): Don't call init_outgoing_cpool.
* parse.y (java_complete_expand_methods): Don't call
init_outgoing_cpool. Don't save outgoing_cpool.
(java_expand_classes): Don't restore outgoing_cpool.
(java_finish_classes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73926
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Nov 2003 15:44:51 +0000 (15:44 +0000)]
* Make-lang.in (treelang.tags): Create TAGS.sub files in each
directory and TAGS files that include them for each front end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73921
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 25 Nov 2003 10:31:27 +0000 (10:31 +0000)]
2003-11-25 Michael Koch <konqueror@gmx.de>
* testsuite/libjava.mauve/xfails:
Removed these two tests, they mystically pass now:
-FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
test_params failed - 5getInetAddress did not return proper values
(number 1)
-FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
test_BasicServer failed - 11 exception was thrown :Illegal seek
(number 1)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73919
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 25 Nov 2003 10:09:48 +0000 (10:09 +0000)]
2003-11-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(factory): Made private.
(closed): Removed.
(DatagramSocket): Check impl argument, use constructor with
SocketAddress argument.
(close): Set impl to null, use isClosed().
(isClosed): Check for impl == null.
(getLocalAddress): Use isClosed().
(getLocalPort): Check if socket is closed.
(getSoTimeout): Likewise.
(setSoTimeout): Likewise.
(getSendBufferSize): Likewise.
(setSendBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(receive): Likewise.
(send): Likewise.
(bind): Likewise.
(connect): Likewise.
(setReuseAddress): Likewise.
(getReuseAddress): Likewise.
(setBroadcast): Likewise.
(getBroadcast): Likewise.
(setTrafficClass): Likewise.
(getTrafficClass): Likewise.
* java/net/MulticastSocket.java
(getInterface): Check if socket is closed.
(getTTL): Likewise.
(getTimeToLive): Likewise.
(setInterface): Likewise.
(setNetworkInterface): Likewise.
(getNetworkInterface): Likewise.
(setLoopbackMode): Likewise.
(setTTL): Likewise.
(setTimeToLive): Likewise.
(joinGroup): Likewise.
(leaveGroup): Likewise.
(send): Likewise.
* java/net/ServerSocket.java
(closed): Removed.
(close): Check if socket is closed, set impl to null.
(isClosed): Check impl == null;
(ServerSocket): Check impl argument.
(getInetAddress): Check if socket is bound.
(getLocalPort): Likewise.
(getLocalSocketAddress): Likewise.
(bind): Check if socket is closed.
(implAccept): Likewise.
(setSoTimeout): Likewise.
(getSoTimeout): Likewise.
(setReuseAddress): Likewise.
(getReuseAddress): Likewise.
(setReceiveBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(toString): Make output compliant to JDK 1.4.2.
* java/net/Socket.java
(closed): Removed.
(Socket): Fixed documentation.
(connect): Check if socket is closed, changed exception text,
fixed documentation.
(getInputStream): Check of socket is closed and connected.
(getOutputStream): Likewise.
(bind): Check if socket is closed.
(setTcpNoDelay): Likewise.
(getTcpNoDelay): Likewise.
(setSoLinger): Likewise.
(getSoLinger): Likewise.
(sendUrgentData): Likewise.
(setOOBInline): Likewise.
(getOOBInline): Likewise.
(setSoTimeout): Likewise.
(getSoTimeout): Likewise.
(setSendBufferSize): Likewise.
(getSendBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setKeepAlive): Likewise.
(getKeepAlive): Likewise.
(close): Likewise.
(shutdownInput): Likewise.
(shutdownOutput): Likewise.
(getReuseAddress): Likewise.
(getTrafficClass): Likewise.
(setTrafficClass): Likewise.
(isClosed): Check impl == null.
(toString): Added missing ']'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73918
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 25 Nov 2003 05:54:14 +0000 (05:54 +0000)]
Fix date in my latest commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73915
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 25 Nov 2003 01:57:29 +0000 (01:57 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (propdir): New macro.
(install-data-local): Install logging.properties.
(core_java_source_files): Added java.util.logging.*.
* java/util/logging/logging.properties: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73907
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 25 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73905
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 24 Nov 2003 23:00:07 +0000 (23:00 +0000)]
2003-11-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(DatagramSocket): Move binding code to bind(), simplify constructors.
* java/net/MulticastSocket.java
(MulticastSocket): Call parent constructor with null argument,
bind socket after setReuseAddress is called, simplify constructors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73902
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Mon, 24 Nov 2003 21:48:08 +0000 (21:48 +0000)]
2003-11-24 Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/12633
* expr.c (ffeexpr_reduced_ugly2log_): Revert
change allowing logical .and. logical to be
integer in expressions when -fugly-logint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73898
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 24 Nov 2003 21:40:58 +0000 (21:40 +0000)]
PR ada/13142
* utils.c (init_gigi_decls): Change name of built-in setjmp to
__builtin_setjmp, since this is apparently needed by recent
non Ada changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73896
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 24 Nov 2003 21:19:33 +0000 (21:19 +0000)]
2003-11-23 Waldek Hebisch <hebisch@math.uni.wroc.pl>
* function.c: Make outer_function-chain external.
* function.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73894
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 24 Nov 2003 21:13:38 +0000 (21:13 +0000)]
2003-11-24 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
former is very fast, but stops if encounters a NUL.
(codecvt::do_out): Tweak.
* testsuite/performance/wchar_t_in.cc: New.
2003-11-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h
(__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning
in order to avoid memory leaks; simplify a bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73893
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 24 Nov 2003 21:02:39 +0000 (21:02 +0000)]
2003-11-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove
non-standard throw specs.
* testsuite/24_iterators/istreambuf_iterator.cc: Split into...
* testsuite/24_iterators/istreambuf_iterator/1.cc
* testsuite/24_iterators/istreambuf_iterator/2.cc
* testsuite/24_iterators/istreambuf_iterator/2627.cc
* testsuite/24_iterators/ostreambuf_iterator.cc: Split into...
* testsuite/24_iterators/ostreambuf_iterator/1.cc
* testsuite/24_iterators/ostreambuf_iterator/2.cc
* testsuite/24_iterators/reverse_iterator/1.cc: Just compile,
don't link.
* include/bits/allocator.h: Formatting tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73892
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 24 Nov 2003 21:02:12 +0000 (21:02 +0000)]
* config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
using GNU ld.
* config/mips/iris6.h (IRIX6_STARTFILE_SPEC): New, taking the
whole of the previous STARTFILE_SPEC except crtbegin.o%s.
(IRIX6_ENDFILE_SPEC): Likewise ENDFILE_SPEC and crtend.o%s.
(STARTFILE_SPEC, ENDFILE_SPEC): Define in terms of the above.
(SUBTARGET_EXTRA_SPECS): Define.
* config/mips/iris6gld.h (LINK_SPEC): Change -init function
to __gcc_init and -fini function to __gcc_fini.
(STARTFILE_SPEC): Redefine, including irix6-crti.o before crtbegin.o.
(ENDFILE_SPEC): Likewise, including irix6-crtn.o after crtend.o.
(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Define.
* config/mips/t-iris6gld,
* config/mips/irix6-crti.asm,
* config/mips/irix6-crtn.asm: New files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73891
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Mon, 24 Nov 2003 20:12:06 +0000 (20:12 +0000)]
2003-11-24 Eric Christopher <echristo@redhat.com>
PR C/13014
* c-decl.c (c_in_iteration_stmt, c_in_case_stmt): New.
(start_function): Use.
(c_push_function_context): Ditto.
(c-pop_function_context): Ditto.
(language_function): Move...
* c-tree.h: ... here. Add x_in_iteration_stmt, and
x_in_case_stmt.
* c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use
c_in_iteration_stmt, c_in_case_stmt for parser state. Move
check for valid break or continue statment here...
* c-semantics.c (genrtl_break_stmt, genrtl_continue_stmt): From
here. Change original errors to abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73887
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 24 Nov 2003 19:04:54 +0000 (19:04 +0000)]
Apply lost changelog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73886
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 24 Nov 2003 18:42:39 +0000 (18:42 +0000)]
* cp-demangle.c (d_encoding): Add top_level parameter. Change all
callers.
(print_usage): Display new -p option.
(long_options): Add --no-params.
(main): Accept and handle -p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73884
138bc75d-0d04-0410-961f-
82ee72b054a4