Jeff Sturm [Tue, 2 Dec 2003 03:42:40 +0000 (03:42 +0000)]
verify.cc (state::clean_subrs): Clear seen_subrs.
* verify.cc (state::clean_subrs): Clear seen_subrs.
(state::copy): Walk seen_subrs from copy, not `this'.
Don't clear seen_subrs.
From-SVN: r74152
Benjamin Kosnik [Tue, 2 Dec 2003 02:48:51 +0000 (02:48 +0000)]
basic_ios.h (basic_ios::setstate): Revert.
2003-12-01 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.h (basic_ios::setstate): Revert.
* include/bits/istream.tcc: Only call setstate if __err != goodbit.
* include/bits/ostream.tcc: Same.
* testsuite/27_io/basic_ios/exceptions/char/2.cc: New.
* testsuite/testsuite_io.h (__gnu_test::fail_streambuf): Make
internal buffer non-static.
From-SVN: r74151
James E Wilson [Tue, 2 Dec 2003 02:45:16 +0000 (02:45 +0000)]
As per David's request.
* doc/contrib.texi: Update David Mosberger.
From-SVN: r74150
James Lemke [Tue, 2 Dec 2003 02:17:18 +0000 (02:17 +0000)]
arm.c (arm_rtx_costs): Improve for xscale multiply.
* config/arm/arm.c (arm_rtx_costs): Improve for xscale multiply.
* testsuite/gcc.dg/arm-g2.c: New test.
From-SVN: r74149
Roger Sayle [Tue, 2 Dec 2003 01:43:58 +0000 (01:43 +0000)]
re PR rtl-optimization/11634 ([hppa] ICE in verify_local_live_at_start, at flow.c:555)
PR optimization/11634
* recog.c (split_insn): Factor test of INSN_P and handling of
set_noop_p out of here into the two callers.
(split_all_insns): Add INSN_P test and set_noop_p handling here.
If deleting a no-op set after reload that has a REG_UNUSED note,
mark the basic block as changed and recalculate life information.
(split_all_insns_noflow): Add INSN_P test and set_noop_p handling
here.
* gcc.dg/
20031201-2.c: New test case.
From-SVN: r74145
Roger Sayle [Tue, 2 Dec 2003 01:39:20 +0000 (01:39 +0000)]
re PR rtl-optimization/12322 (Significant slowdown when compiling computed-goto code in Parrot)
PR optimization/12322
* gcse.c (struct ls_expr): Change type of hash_index from int to
unsigned int.
(hash_expr): Document hash_table_size parameter and wrap long line.
(ldst_entry): Calculate expression's hash_index and record in ptr.
(trim_ld_motion_mems): Use hash_index to search a single bucket
instead of scanning the entire hash_table. Remove the "del" local
variable and use the equivalent "expr == 0" instead. Change last
to be a pointer to the pointer to the current element, to simplify
and speed-up deleting from a linked list.
From-SVN: r74144
James E Wilson [Tue, 2 Dec 2003 01:32:39 +0000 (01:32 +0000)]
Fixes issues pointed out by Chris Lattner.
* doc/c-tree.texi (CONSTRUCTOR): Clarify element order and handling
of missing fields.
From-SVN: r74143
James E Wilson [Tue, 2 Dec 2003 01:12:11 +0000 (01:12 +0000)]
re PR target/8407 ([IA-64] ICE in simplify_gen_subreg, at simplify-rtx.c:2711 with very simple code)
PR target/8407
* config/ia64/ia64.c (ia64_function_arg): For single-reg HFA, call
gen_rtx_REG to create new reg with argument mode.
From-SVN: r74142
Kim Ho [Tue, 2 Dec 2003 01:01:07 +0000 (01:01 +0000)]
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Disable wrapping if TextArea has horizontal scroll bars.
2003-12-01 Kim Ho <kho@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
Disable wrapping if TextArea has horizontal scroll bars.
From-SVN: r74141
GCC Administrator [Tue, 2 Dec 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r74139
Zack Weinberg [Mon, 1 Dec 2003 23:29:59 +0000 (23:29 +0000)]
re PR libobjc/11433 (Crash due to dereferencing null pointer when querying protocol)
PR 11433
gcc/testsuite:
* objc.dg/proto-lossage-3.m: New test.
libobjc:
* Protocol.m (descriptionForInstanceMethod): Don't dereference
instance_methods if it's NULL.
(descriptionForClassMethod): Likewise for class_methods.
From-SVN: r74137
Thomas Fitzsimmons [Mon, 1 Dec 2003 23:27:06 +0000 (23:27 +0000)]
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(awt_event_handler): Hard-code inset values.
From-SVN: r74136
Thomas Fitzsimmons [Mon, 1 Dec 2003 23:12:09 +0000 (23:12 +0000)]
GdkFontMetrics.java (GdkFontMetrics): Pass font name, not XLFD, to initState.
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
Pass font name, not XLFD, to initState.
(stringWidth(String, int, String)): New method.
(stringWidth(String)): Call new stringWidth.
(getLeading): Always return 0.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
(initState): New Pango implementation.
(stringWidth): Likewise.
From-SVN: r74133
Steven Bosscher [Mon, 1 Dec 2003 22:59:30 +0000 (22:59 +0000)]
ggc.h (struct alloc_zone): Move forward declaration up.
* ggc.h (struct alloc_zone): Move forward declaration up.
(new_ggc_zone): New function prototype.
(destroy_ggc_zone): Ditto.
* ggc-simple.c (new_ggc_zone): New function, does nothing.
(destroy_ggc_zone): Ditto.
* ggc-page.c (new_ggc_zone): New function, does nothing.
(destroy_ggc_zone): Ditto.
* ggc-zone.c (struct page_entry): Fix comment.
(ggc_alloc_typed): Use a switch statement instead of ifs.
(new_ggc_zone): New function to set up a new GC zone.
(destroy_ggc_zone): New function to remove a GC zone.
init_ggc): Use new_ggc_zone to set up the default zones.
(ggc_collect): Walk a list of zones, instead of just the
default zones. Report statistics using the zone name.
From-SVN: r74132
Ian Lance Taylor [Mon, 1 Dec 2003 22:04:04 +0000 (22:04 +0000)]
cp-demangle.c (d_demangle): Only return success if we consumed the entire demangled string.
* cp-demangle.c (d_demangle): Only return success if we consumed
the entire demangled string.
(is_ctor_or_dtor): Likewise.
From-SVN: r74129
Ian Lance Taylor [Mon, 1 Dec 2003 22:03:16 +0000 (22:03 +0000)]
demangle-expected: Revert one part of 2003-06-26 patch to restore expected result of EDG test case...
* testsuite/demangle-expected: Revert one part of 2003-06-26 patch
to restore expected result of EDG test case to original expected
result.
From-SVN: r74128
Ulrich Weigand [Mon, 1 Dec 2003 21:57:07 +0000 (21:57 +0000)]
* unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
From-SVN: r74126
Roger Sayle [Mon, 1 Dec 2003 21:16:59 +0000 (21:16 +0000)]
re PR rtl-optimization/12628 (Segfault with -fno-expensive-optimizations -fno-rerun-loop-opt)
PR optimization/12628
* toplev.c (rest_of_handle_jump_bypass): Call reg_scan.
* regclass.c (reg_scan): Include allocate_reg_info time in
TV_REG_SCAN. Minor clean-ups.
(reg_scan_update): Minor clean-ups.
* gcc.dg/
20031201-1.c: New test case.
From-SVN: r74125
Olga Rodimina [Mon, 1 Dec 2003 20:23:50 +0000 (20:23 +0000)]
2003-12-01 Olga Rodimina <rodimina@redhat.com>
* java/awt/TextComponent.java:
(getSelectionStart): Updated javadocs.
(getSelectionEnd): Ditto.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
(getSelectionStart): Changed to return caret position if no
text is selected
(getSelectionEnd): Ditto.
From-SVN: r74124
Ulrich Weigand [Mon, 1 Dec 2003 19:06:25 +0000 (19:06 +0000)]
* config.gcc (s390x-ibm-tpf*): Add extra_parts.
From-SVN: r74121
James E Wilson [Mon, 1 Dec 2003 19:04:53 +0000 (19:04 +0000)]
Fix for aliasing problem reported by Michael Matz.
* config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
GR_ARG_FIRST.
From-SVN: r74120
Benjamin Kosnik [Mon, 1 Dec 2003 18:48:24 +0000 (18:48 +0000)]
C++STYLE: Add exception bits.
2003-12-01 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/C++STYLE: Add exception bits.
* include/bits/fstream.tcc: Add location info to exception strings.
* include/bits/stl_construct.h: Formatting tweaks.
From-SVN: r74119
Thomas Fitzsimmons [Mon, 1 Dec 2003 18:40:39 +0000 (18:40 +0000)]
GtkButtonPeer.java, [...]: Remove files.
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
gnu/awt/gtk/GtkContainerPeer.java,
gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
gnu/awt/gtk/natGtkComponentPeer.cc,
gnu/awt/gtk/natGtkContainerPeer.cc,
gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
From-SVN: r74118
Zack Weinberg [Mon, 1 Dec 2003 18:25:39 +0000 (18:25 +0000)]
common.opt: Remove -fgnu-linker.
* common.opt: Remove -fgnu-linker.
* flags.h: Remove flag_gnu_linker.
* opts.c: Don't handle OPT_fgnu_linker.
* toplev.c: Don't initialize flag_gnu_linker.
Remove gnu-linker entry from f_options.
* config/dsp16xx/dsp16xx.h (OPTIMIZATION_OPTIONS):
Don't reset flag_gnu_linker.
* config/mips/mips.c (override_options): Likewise.
* doc/invoke.texi: Remove all mention of -fgnu-linker.
From-SVN: r74117
Giovanni Bajo [Mon, 1 Dec 2003 18:08:10 +0000 (18:08 +0000)]
MAINTAINERS: Move myself from 'Bug database only accounts' to 'Write After Approval' section.
* MAINTAINERS: Move myself from 'Bug database only accounts' to
'Write After Approval' section. Update email.
From-SVN: r74116
Thomas Fitzsimmons [Mon, 1 Dec 2003 18:05:32 +0000 (18:05 +0000)]
2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(closed): Mark loader parameter as unused.
From-SVN: r74115
Daniel Berlin [Mon, 1 Dec 2003 17:58:13 +0000 (17:58 +0000)]
ggc-zone.c (ggc_pch_write_object): Calculate object size using ggc_get_size (which accounts for large objects...
2003-12-01 Daniel Berlin <dberlin@dberlin.org>
* ggc-zone.c (ggc_pch_write_object): Calculate object size using
ggc_get_size (which accounts for large objects properly).
From-SVN: r74114
Jeff Sturm [Mon, 1 Dec 2003 17:53:10 +0000 (17:53 +0000)]
re PR rtl-optimization/13024 (gcj can't build current rhug)
PR optimization/13024
* toplev.c (rest_of_handle_new_regalloc): Remove rebuild_notes
parameter.
(rest_of_handle_old_regalloc): Likewise. Add rebuild_notes
declaration. Rebuild jump labels following local_alloc if necessary.
(rest_of_compilation): Remove rebuild_label_notes_after_reload
declaration. Don't pass rebuild_notes parameter to
rest_of_handle_new_regalloc and rest_of_handle_old_regalloc.
Don't rebuild jump labels.
From-SVN: r74113
Jeff Law [Mon, 1 Dec 2003 17:05:16 +0000 (10:05 -0700)]
flow.c (count_or_remove_death_notes_bb): New.
* flow.c (count_or_remove_death_notes_bb): New. Extracted from
count_or_remove_death_notes.
(count_or_remove_death_notes): Use EXECUTE_IF_SET_IN_SBITMAP.
From-SVN: r74111
Michael Koch [Mon, 1 Dec 2003 16:35:45 +0000 (16:35 +0000)]
2003-12-01 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java
(Connection): Merged class documentation.
(socket): Renamed from sock.
(Connection): Made protected, documentation added.
(connect): Give URL'S host instead of InetAddress to Socket
constructor.
(disconnect): Documentation added.
(getOutputStream): Rewrapped.
From-SVN: r74109
Andreas Krebbel [Mon, 1 Dec 2003 16:20:42 +0000 (16:20 +0000)]
builtins.c (expand_builtin_longjmp): Added two memory clobbers.
2003-12-01 Andreas Krebbel <krebbel1@de.ibm.com>
* builtins.c (expand_builtin_longjmp): Added two memory clobbers.
From-SVN: r74108
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