Ulrich Weigand [Mon, 1 Dec 2003 16:17:32 +0000 (16:17 +0000)]
reload.c (find_reloads_address): Split addresses of type (plus (plus (reg) (reg)) (const_int)) only if...
* reload.c (find_reloads_address): Split addresses of type
(plus (plus (reg) (reg)) (const_int)) only if one register
is either a valid base register or else one of the stack
frame related registers (sp/fp/ap).
From-SVN: r74107
Michael Koch [Mon, 1 Dec 2003 15:50:23 +0000 (15:50 +0000)]
2003-12-01 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/file/Connection.java
(fileIn): Documentation added.
(inputStream): Likewise.
(outputStream): Likewise.
(Connection): Likewise.
(connect): Simplified.
From-SVN: r74106
James Lemke [Mon, 1 Dec 2003 15:37:44 +0000 (15:37 +0000)]
Add myself to 'Write After Approval' section.
From-SVN: r74105
Paolo Carlini [Mon, 1 Dec 2003 15:34:07 +0000 (15:34 +0000)]
re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections)
2003-12-01 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/10378
* include/bits/allocator.h (allocator::construct): Implement
resolution of DR 402 [Ready] (in Revision 28).
* include/bits/allocator_traits.h (__allocator::construct):
Likewise.
* include/bits/stl_construct.h (_Construct): Likewise.
* testsuite/20_util/allocator_members.cc: Move to...
* testsuite/20_util/allocator/1.cc: ... here.
* testsuite/20_util/allocator/10378.cc: New.
* docs/html/ext/howto.html: Add an entry for DR 402.
From-SVN: r74104
Thomas Fitzsimmons [Mon, 1 Dec 2003 15:28:22 +0000 (15:28 +0000)]
GtkImage.java (setDimensions, [...]): Check that io is not null before calling io.imageUpdate.
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
setProperties): Check that io is not null before calling
io.imageUpdate.
* java/awt/image/ImageConsumer.java (setPixels, imageComplete):
Update javadocs.
* java/awt/image/PixelGrabber.java: Fix implementation and
update javadocs.
From-SVN: r74103
Michael Koch [Mon, 1 Dec 2003 14:32:26 +0000 (14:32 +0000)]
natPlainSocketImplPosix.cc bind (): Dont set SockedImpl.address field on succesful bind.
2003-12-01 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc
bind(): Dont set SockedImpl.address field on succesful bind.
* gnu/java/net/natPlainSocketImplWin32.cc
bind(): Likewise.
From-SVN: r74102
Jeff Sturm [Mon, 1 Dec 2003 14:19:41 +0000 (14:19 +0000)]
re PR java/13237 (ICE on Math.sqrt(2.0))
Fix PR java/13237
* parse.y (java_complete_lhs): Save location prior to patching
CALL_EXPR.
From-SVN: r74101
Arnaud Charlet [Mon, 1 Dec 2003 13:29:28 +0000 (14:29 +0100)]
[multiple changes]
2003-12-01 Nicolas Setton <setton@act-europe.fr>
* a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
so that the debugger can reliably access the value of the parameter,
and therefore is able to display the exception name when an exception
breakpoint is reached.
2003-12-01 Thomas Quinot <quinot@act-europe.fr>
* fmap.adb: Fix typo in warning message.
* g-socket.ads, g-socket.adb: Make Free a visible instance of
Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
2003-12-01 Vincent Celier <celier@gnat.com>
* mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
ther is no Afile.
(Build_Library): Get the switches only if Default_Switches is declared
in package Binder.
2003-12-01 Ed Schonberg <schonberg@gnat.com>
* exp_ch6.adb (Expand_Actuals): When applying validity checks to
actuals that are indexed components, reanalyze actual to ensure that
packed array references are properly expanded.
* sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
attempted assignment to a discriminant.
2003-12-01 Robert Dewar <dewar@gnat.com>
* rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
reformatting.
* switch-c.adb: Minor reformatting of comments
2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
* Makefile.in: Clean ups.
2003-12-01 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
From-SVN: r74100
Steven Bosscher [Mon, 1 Dec 2003 13:07:14 +0000 (13:07 +0000)]
function.c (update_epilogue_consts): Don't use PARAMS.
* function.c (update_epilogue_consts): Don't use PARAMS.
* rtl.h (web_main): Ditto.
* target.h (is_costly_dependence): Ditto
From-SVN: r74099
Arnaud Charlet [Mon, 1 Dec 2003 09:39:57 +0000 (10:39 +0100)]
* 5wsystem.ads: Disable zero cost exception, not ready yet.
From-SVN: r74098
Andreas Tobler [Mon, 1 Dec 2003 07:23:28 +0000 (08:23 +0100)]
re PR libffi/13221 (libffi's closure couldn't pass sequence of char and/or short arguments.)
2003-12-01 Andreas Tobler <a.tobler@schweiz.ch>
PR other/13221
* testsuite/libffi.call/cls_multi_sshort.c: New test case.
* testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
* testsuite/libffi.call/cls_multi_uchar.c: Likewise.
* testsuite/libffi.call/cls_multi_schar.c: Likewise.
* testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
* testsuite/libffi.call/cls_multi_ushort.c: Likewise.
* testsuite/libffi.special/unwindtest.cc: Cosmetics.
From-SVN: r74093
Eric Botcazou [Mon, 1 Dec 2003 07:15:31 +0000 (08:15 +0100)]
re PR middle-end/7847 (pragma pack / attribute(packed): unaligned access to packed structure)
PR middle-end/7847
* expr.c (expand_expr) [normal_inner_ref]: When 'offset' is non-zero,
do not recheck that 'op0' is a MEM. Move comment. When testing for
unaligned objects, take also into account the alignment of 'op0' and
'mode1' if 'op0' is a MEM.
From-SVN: r74092
Mark Mitchell [Mon, 1 Dec 2003 05:58:23 +0000 (05:58 +0000)]
re PR c++/9849 (Missing keyword 'template' produces ICE with no diagnostic on 3.3 (and unreadable diagnostic on 3.4))
PR c++/9849
* g++.dg/template/error4.C: New test.
* g++.dg/template/nested3.C: Adjust error markers.
PR c++/9849
* parser.c (cp_lexer_prev_token): New function.
(cp_parser_skip_to_closing_parenthesis): Add consume_paren
parameter.
(cp_parser_nested_name_specifier_opt): Add is_declaration
parameter.
(cp_parser_nested_name_specifier): Likewise.
(cp_parser_class_or_namespace_name): Likewise.
(cp_parser_class_name): Likewise.
(cp_parser_template_id): Likewise.
(cp_parser_template_name): Likewise.
(cp_parser_id_expression): Adjust calls to
cp_parser_nested_name_specifier_op, cp_parser_template_id,
cp_parser_class_name.
(cp_parser_unqualified_id): Likewise.
(cp_parser_postfix_expression): Likewise.
(cp_parser_pseudo_destructor_name): Likewise.
(cp_parser_cast_expression): Likewise.
(cp_parser_mem_initializer_id): Likewise.
(cp_parser_simple_type_specifier): Likewise.
(cp_parser_type_name): Likewise.
(cp_parser_elaborated_type_specifier): Likewise.
(cp_parser_qualified_namespace_specifier): Likewise.
(cp_parser_using_declaration): Likewise.
(cp_parser_using_directive): Likewise.
(cp_parser_ptr_operator): Likewise.
(cp_parser_declarator_id): Likewise.
(cp_parser_class_head): Likewise.
(cp_parser_base_specifier): Likewise.
(cp_parser_constructor_declarator_p): Likewise.
(cp_parser_direct_declarator): Fix typo in comment.
(cp_parser_parenthesized_expression_list): Adjust call to
cp_parser_skip_to_closing_parenthesis.
(cp_parser_selection_statement): Likewise.
From-SVN: r74087
Gabriel Dos Reis [Mon, 1 Dec 2003 03:22:35 +0000 (03:22 +0000)]
* doc/c-tree.texi (Function Bodies): Update HANDLER documentation.
From-SVN: r74084
Kelley Cook [Mon, 1 Dec 2003 02:58:36 +0000 (02:58 +0000)]
Makefile.am: Define AM_MAKINFOFLAGS.
fastjar/
2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack.
* Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
* aclocal.m4, config.h.in, configure: Likewise.
* install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
gcc/
2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
* doc/install.texi: Note that fastjar is built with automake 1.7.x
and autoconf 2.57.
From-SVN: r74082
GCC Administrator [Mon, 1 Dec 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r74080
Alan Modra [Sun, 30 Nov 2003 23:43:05 +0000 (23:43 +0000)]
linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test target_flags directly rather than using TARGET_* defines.
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
target_flags directly rather than using TARGET_* defines.
From-SVN: r74078
Kaveh R. Ghazi [Sun, 30 Nov 2003 22:32:38 +0000 (22:32 +0000)]
* gcc.dg/cpp/assert4.c: Check more #system assertions.
From-SVN: r74076
Michael Koch [Sun, 30 Nov 2003 21:02:56 +0000 (21:02 +0000)]
2003-11-30 Jeff Sturm <jsturm@one-point.com>
* java/net/InetAddress.java:
(static): Don'f force DNS request for ANY_IF address.
2003-11-30 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java,
java/net/natInetAddressNoNet.cc,
java/net/natInetAddressPosix.cc,
java/net/natInetAddressWin32.cc:
Reverted my last patch.
From-SVN: r74074
Ben Elliston [Sun, 30 Nov 2003 20:25:46 +0000 (20:25 +0000)]
* doschk.c: Remove.
From-SVN: r74072
Richard Sandiford [Sun, 30 Nov 2003 19:30:14 +0000 (19:30 +0000)]
re PR c++/12727 (mipsisa64-elf -mips32 regression: g++.dg/eh/registers1.C)
PR target/12727
* config/mips/mips.c (mips_save_reg): Fix frame information for sdc1
on 32-bit big-endian targets.
From-SVN: r74071
Kazu Hirata [Sun, 30 Nov 2003 19:12:12 +0000 (19:12 +0000)]
* genemit.c (register_constraints): Remove.
From-SVN: r74070
Paolo Carlini [Sun, 30 Nov 2003 19:10:50 +0000 (19:10 +0000)]
codecvt_members.cc (codecvt::do_in, [...]): More minor tweaks.
2003-11-30 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_in,
codecvt::do_length): More minor tweaks.
From-SVN: r74069
Andreas Krebbel [Sun, 30 Nov 2003 15:51:36 +0000 (15:51 +0000)]
s390.md ("tmdi_reg", [...]): Insns now use multiple letter constraints.
2003-11-30 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
"iordi3"): Insns now use multiple letter constraints.
("*movdi_lhi", "*movdi_lli", "*movdi_lay"): Insns deleted. They are now
covered by "*movdi_64".
("*movsi_lhi", "*movsi_lli", "*movsi_lay"): Insns deleted. They are now
covered by "*movsi_zarch" and "*movsi_esa".
("*movsi_zarch", "*movsi_!zarch"): New insns.
("*llgt_sisi_split", "*llgt_didi_split"): Insns deleted. Now covered
by "*andsi3_zarch" and "anddi3".
("*anddi3_ni"): Insn merged with "anddi3".
("*andsi3_ni"): Insn merged with "*andsi3_zarch".
("*andsi3_zarch", "*andsi3_esa"): New insns.
("*iordi3_oi"): Insn merged with "iordi3".
("*iorsi3_oi"): Insn merged with "*iorsi3_zarch".
("*iorsi3_zarch", "*iorsi3_esa"): New insns.
* config/s390/s390.c (s390_single_qi, s390_single_hi): Functions
merged to s390_single_part.
(s390_single_part): New function.
NOTE: Semantics have changed a bit. Now the value of the part must
be different from the others to get a non-negative return value.
(s390_extract_qi, s390_extract_hi): Functions merged to
s390_extract_part.
(s390_extract_part, s390_extra_constraint_str,
s390_const_ok_for_constraint_p): New functions. The L constraint got a
new meaning and the N constraint was added as a multiple letter
constraint.
(s390_extra_constraint): Function deleted.
(print_operand): New output modifier 'i' and 'j' added.
All uses of CONST_OK_FOR_LETTER_P were replaced by
CONST_OK_FOR_CONSTRAINT_P.
* config/s390/s390-protos.h: Function prototypes adapted.
* doc/md.texi: Documentation for new constraint letters added.
From-SVN: r74061
Paolo Carlini [Sun, 30 Nov 2003 15:18:27 +0000 (15:18 +0000)]
codecvt_members.cc (codecvt::do_in): Minor stylistic tweak.
2003-11-30 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
Minor stylistic tweak.
From-SVN: r74060
Andreas Schwab [Sun, 30 Nov 2003 14:56:26 +0000 (14:56 +0000)]
* Makefile.in ($(DESTDIR)$(infodir)/%.info): Fix missing semicolon.
From-SVN: r74059
Paolo Carlini [Sun, 30 Nov 2003 11:33:23 +0000 (11:33 +0000)]
locale_facets.tcc (num_put::do_put(..., bool)): Minor tweaks, consistent with the style used in other facets.
2003-11-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
Minor tweaks, consistent with the style used in other facets.
From-SVN: r74056
Andreas Jaeger [Sun, 30 Nov 2003 11:29:56 +0000 (12:29 +0100)]
* Make-lang.in (f77.rebuilt): Fix dependency on g77.info.
From-SVN: r74055
James E Wilson [Sun, 30 Nov 2003 08:23:23 +0000 (08:23 +0000)]
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
James E Wilson [Sun, 30 Nov 2003 06:32:57 +0000 (06:32 +0000)]
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
Alan Modra [Sun, 30 Nov 2003 04:56:07 +0000 (04:56 +0000)]
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
Kazu Hirata [Sun, 30 Nov 2003 04:31:04 +0000 (04:31 +0000)]
* config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.
From-SVN: r74050
Gunther Nikl [Sun, 30 Nov 2003 04:28:34 +0000 (04:28 +0000)]
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
Gunther Nikl [Sun, 30 Nov 2003 04:20:28 +0000 (04:20 +0000)]
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
Kazu Hirata [Sun, 30 Nov 2003 02:25:25 +0000 (02:25 +0000)]
* config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
From-SVN: r74047
Kelley Cook [Sun, 30 Nov 2003 01:07:51 +0000 (01:07 +0000)]
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
GCC Administrator [Sun, 30 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r74043
Ulrich Weigand [Sun, 30 Nov 2003 00:02:32 +0000 (00:02 +0000)]
* config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
From-SVN: r74040
Ulrich Weigand [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.
* Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
to force serialization.
From-SVN: r74039
Paolo Carlini [Sat, 29 Nov 2003 22:49:46 +0000 (22:49 +0000)]
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
Ulrich Weigand [Sat, 29 Nov 2003 22:31:27 +0000 (22:31 +0000)]
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
Joseph Myers [Sat, 29 Nov 2003 20:09:48 +0000 (20:09 +0000)]
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
Richard Sandiford [Sat, 29 Nov 2003 18:54:43 +0000 (18:54 +0000)]
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
Paolo Carlini [Sat, 29 Nov 2003 17:42:16 +0000 (17:42 +0000)]
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
Kaveh R. Ghazi [Sat, 29 Nov 2003 03:08:13 +0000 (03:08 +0000)]
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
Jan Hubicka [Sat, 29 Nov 2003 01:13:43 +0000 (02:13 +0100)]
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
GCC Administrator [Sat, 29 Nov 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r74028
Michael Koch [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.
From-SVN: r74026
Bryce McKinlay [Fri, 28 Nov 2003 19:48:10 +0000 (19:48 +0000)]
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
Eric Botcazou [Fri, 28 Nov 2003 16:35:52 +0000 (17:35 +0100)]
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
Ben Elliston [Fri, 28 Nov 2003 11:23:36 +0000 (22:23 +1100)]
Correct the description of these files in the comment header.
From-SVN: r74018
Paolo Carlini [Fri, 28 Nov 2003 10:24:27 +0000 (10:24 +0000)]
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
Paolo Carlini [Fri, 28 Nov 2003 08:02:51 +0000 (08:02 +0000)]
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
Kazu Hirata [Fri, 28 Nov 2003 05:39:20 +0000 (05:39 +0000)]
* config/h8300/h8300.md: Fix a comment typo.
From-SVN: r74015
Kazu Hirata [Fri, 28 Nov 2003 05:27:10 +0000 (05:27 +0000)]
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
Kazu Hirata [Fri, 28 Nov 2003 05:16:52 +0000 (05:16 +0000)]
h8300.md (*subhi3_h8300): Remove '&' from the constraint.
* config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the
constraint.
(*subhi3_h8300hs): Likewise.
From-SVN: r74013
David Edelsohn [Fri, 28 Nov 2003 05:07:06 +0000 (00:07 -0500)]
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
GCC Administrator [Fri, 28 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r74009
J"orn Rennecke [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.
* cse.c (cse_set_around_loop): When changing a constant load
to a register -register copy, add a REG_EQUAL note.
From-SVN: r74007
Randolph Chung [Thu, 27 Nov 2003 20:02:36 +0000 (20:02 +0000)]
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
Kazu Hirata [Thu, 27 Nov 2003 18:21:51 +0000 (18:21 +0000)]
* final.c (final_scan_insn): Remove commented-out code.
From-SVN: r74002
Nathanael Nerode [Thu, 27 Nov 2003 18:04:14 +0000 (18:04 +0000)]
* doc/install.texi: Remove ADAC reference and make accurate.
From-SVN: r74001
Paolo Carlini [Thu, 27 Nov 2003 17:56:05 +0000 (17:56 +0000)]
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
Kazu Hirata [Thu, 27 Nov 2003 17:48:09 +0000 (17:48 +0000)]
Fix a typo in ChangeLog.
From-SVN: r73999
Kazu Hirata [Thu, 27 Nov 2003 17:45:20 +0000 (17:45 +0000)]
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
Kazu Hirata [Thu, 27 Nov 2003 17:40:10 +0000 (17:40 +0000)]
h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.md: Likewise.
From-SVN: r73997
Kazu Hirata [Thu, 27 Nov 2003 17:20:33 +0000 (17:20 +0000)]
* config/h8300/h8300.h (ELIMINABLE_REGS): Update a coment.
From-SVN: r73996
Kazu Hirata [Thu, 27 Nov 2003 14:47:06 +0000 (14:47 +0000)]
* config/h8300/h8300.md: Give names to anonymous insns.
From-SVN: r73994
Kazu Hirata [Thu, 27 Nov 2003 14:16:29 +0000 (14:16 +0000)]
* config/h8300/h8300.md (extendqisi2): Remove constraints.
From-SVN: r73993
Paolo Carlini [Thu, 27 Nov 2003 13:13:19 +0000 (13:13 +0000)]
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
Arnaud Charlet [Thu, 27 Nov 2003 11:40:45 +0000 (12:40 +0100)]
[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
Gunther Nikl [Thu, 27 Nov 2003 11:24:42 +0000 (11:24 +0000)]
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
Eric Botcazou [Thu, 27 Nov 2003 10:43:01 +0000 (11:43 +0100)]
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
Michael Koch [Thu, 27 Nov 2003 10:08:33 +0000 (10:08 +0000)]
[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
Guilhem Lavaux [Thu, 27 Nov 2003 09:49:22 +0000 (09:49 +0000)]
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
Guilhem Lavaux [Thu, 27 Nov 2003 09:43:02 +0000 (09:43 +0000)]
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
Michael Koch [Thu, 27 Nov 2003 09:36:25 +0000 (09:36 +0000)]
[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
Ito Kazumitsu [Thu, 27 Nov 2003 09:16:13 +0000 (09:16 +0000)]
GregorianCalendar.java (getLinearTime): Avoid counting the leap day of the leap year twice.
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.
From-SVN: r73984
Mark Wielaard [Thu, 27 Nov 2003 09:09:13 +0000 (09:09 +0000)]
BasicDefaults.java (BasicDefaults): Put AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2003-11-27 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
From-SVN: r73983
Michael Koch [Thu, 27 Nov 2003 09:04:01 +0000 (09:04 +0000)]
UIDefaults.java: Reformated to match classpath's version.
2003-11-27 Michael Koch <konqueror@gmx.de>
* javax/swing/UIDefaults.java:
Reformated to match classpath's version.
From-SVN: r73981
Sascha Brawer [Thu, 27 Nov 2003 08:53:42 +0000 (09:53 +0100)]
UIManager.java (getDefaults, [...]): Declare as public.
2003-11-27 Sascha Brawer <brawer@dandelis.ch>
* javax/swing/UIManager.java (getDefaults, getDimension,
getIcon, getInsets, getInstalledLookAndFeels, getInt,
getLookAndFeel, getString, getSystemLookAndFeelClassName):
Declare as public.
From-SVN: r73980
Benjamin Kosnik [Thu, 27 Nov 2003 08:14:25 +0000 (08:14 +0000)]
re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*))
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.
From-SVN: r73979
Eric Botcazou [Thu, 27 Nov 2003 06:45:25 +0000 (07:45 +0100)]
re PR rtl-optimization/13041 (linux-2.6/sound/core/oss/rate.c miscompiled)
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.
From-SVN: r73978
Eric Botcazou [Thu, 27 Nov 2003 06:36:52 +0000 (07:36 +0100)]
re PR target/12900 (g++ ICE in rtl_verify_flow_info_1)
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.
From-SVN: r73977
Eric Botcazou [Thu, 27 Nov 2003 05:20:11 +0000 (06:20 +0100)]
re PR middle-end/8028 (__builtin_apply() passes wrong arguments)
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.
From-SVN: r73976
GCC Administrator [Thu, 27 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r73972
Ian Lance Taylor [Wed, 26 Nov 2003 23:33:05 +0000 (23:33 +0000)]
cp-demangle.c (struct d_print_mod): Add templates field.
* 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.
From-SVN: r73970
Benjamin Kosnik [Wed, 26 Nov 2003 22:45:56 +0000 (22:45 +0000)]
re PR libstdc++/12297 (istream::sentry::sentry() handles eof() incorrectly.)
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.
From-SVN: r73968
Sascha Brawer [Wed, 26 Nov 2003 22:23:40 +0000 (23:23 +0100)]
StateEdit.java (getPresentationName): Docfix.
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.
From-SVN: r73967
Danny Smith [Wed, 26 Nov 2003 22:15:07 +0000 (22:15 +0000)]
cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare function aliases as functions.
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS):
Declare function aliases as functions.
Fix typo in 2003-10-24 entry.
From-SVN: r73966
David Belanger [Wed, 26 Nov 2003 21:55:27 +0000 (21:55 +0000)]
ZipFile (Zipfile(File)): Set file path as name.
2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
* java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
(ZipFile(File,int)): Likewise.
From-SVN: r73965
Stuart Ballard [Wed, 26 Nov 2003 21:45:55 +0000 (21:45 +0000)]
HashMap.java (putAll): Use Iterator hasNext() method.
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.
From-SVN: r73964
Michael Koch [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.
From-SVN: r73962
Nathanael Nerode [Wed, 26 Nov 2003 19:17:49 +0000 (19:17 +0000)]
aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal of ADAC.
* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal
of ADAC.
* configure: Regenerate.
From-SVN: r73960
Nathanael Nerode [Wed, 26 Nov 2003 19:04:19 +0000 (19:04 +0000)]
* Makefile.in: Remove references to ADAC.
From-SVN: r73959
Nathanael Nerode [Wed, 26 Nov 2003 19:01:16 +0000 (19:01 +0000)]
configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
* configure: Regenerate.
From-SVN: r73958
Tom Tromey [Wed, 26 Nov 2003 18:02:34 +0000 (18:02 +0000)]
natDouble.cc (parseDouble): Reverted patch of 2003-11-13.
* java/lang/natDouble.cc (parseDouble): Reverted patch of
2003-11-13.
From-SVN: r73956
Joseph Myers [Wed, 26 Nov 2003 17:31:19 +0000 (17:31 +0000)]
* de.po: Update.
From-SVN: r73955
Paolo Carlini [Wed, 26 Nov 2003 15:56:40 +0000 (15:56 +0000)]
re PR libstdc++/13171 (Bugs in basic_filebuf::imbue)
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.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r73954
Guilhem Lavaux [Wed, 26 Nov 2003 15:48:08 +0000 (15:48 +0000)]
URLStreamHandler (parseUrl): Fixed URL parsing ('@' should be checked to distinguish port from userinfo).
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.
Co-Authored-By: Mark Wielaard <mark@klomp.org>
From-SVN: r73953