Kazu Hirata [Thu, 15 Jan 2004 03:44:19 +0000 (03:44 +0000)]
* doc/tm.texi (FUNCTION_VALUE): Fix a typo.
From-SVN: r75902
Kelley Cook [Thu, 15 Jan 2004 03:41:49 +0000 (03:41 +0000)]
configure.in: Add in AC_PREREQ(2.13)
boehm-gc/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
libf2c/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* libF77/configure.in: Update to AC_PREREQ(2.13)
* libI77/configure.in: Update to AC_PREREQ(2.13)
* libU77/configure.in: Update to AC_PREREQ(2.13)
* libU77/configure: Regenerate.
libffi/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
libjava/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
libjava/libltdl
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Update to AC_PREREQ(2.57). Delete FIXME comment.
zlib/
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Add in AC_PREREQ(2.13)
From-SVN: r75901
Kazu Hirata [Thu, 15 Jan 2004 03:33:11 +0000 (03:33 +0000)]
tm.texi: Replace RETURN_IN_MEMORY with TARGET_RETURN_IN_MEMORY.
* doc/tm.texi: Replace RETURN_IN_MEMORY with
TARGET_RETURN_IN_MEMORY.
From-SVN: r75900
Adam Fedor [Thu, 15 Jan 2004 01:49:41 +0000 (01:49 +0000)]
re PR libobjc/12155 (Memory leak in libobjc(selector.c))
2004-01-14 Adam Fedor <fedor@gnu.org>
PR libobjc/12155
* selector.c (__objc_register_instance_methods_to_class): Free
new_list if not used.
From-SVN: r75899
Giovanni Bajo [Thu, 15 Jan 2004 01:46:11 +0000 (01:46 +0000)]
re PR c++/8856 (g++ accepts invalid conversion-function-id)
PR c++/8856
* g++.dg/parse/casting-operator2.C: New test.
* g++.old-deja/g++.pt/explicit83.C: Remove.
From-SVN: r75898
Giovanni Bajo [Thu, 15 Jan 2004 01:39:58 +0000 (01:39 +0000)]
re PR c++/8856 (g++ accepts invalid conversion-function-id)
PR c++/8856
* parser.c (cp_parser_template_name): Don't try to parse a
conversion-function-id, as it cannot be a template-name.
(cp_parser_simple_type_specifier): Check for invalid template-ids
even after a built-in type.
From-SVN: r75897
GCC Administrator [Thu, 15 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75894
Jan Hubicka [Wed, 14 Jan 2004 23:07:04 +0000 (00:07 +0100)]
builtins.c (std_expand_builtin_va_arg): Align operand when needed.
* builtins.c (std_expand_builtin_va_arg): Align operand when needed.
* i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
functions accepting SSE arguments
(function_arg): Warn only when asked to warn.
* i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
From-SVN: r75892
Joseph Myers [Wed, 14 Jan 2004 23:03:58 +0000 (23:03 +0000)]
c-parse.in (stmts_and_decls): Make label at end of compound statement a hard error.
* c-parse.in (stmts_and_decls): Make label at end of compound
statement a hard error.
testsuite:
* gcc.dg/label-compound-stmt-1.c: New test.
* gcc.c-torture/compile/950922-1.c,
gcc.c-torture/compile/
20000211-3.c,
gcc.c-torture/compile/
20000518-1.c,
gcc.c-torture/compile/
20021108-1.c: Avoid labels at and of
compound statements.
From-SVN: r75891
Jan Hubicka [Wed, 14 Jan 2004 22:54:50 +0000 (23:54 +0100)]
cgraph.c (create_edge): Use local.redefined_extern_inline.
* cgraph.c (create_edge): Use local.redefined_extern_inline.
* cgraph.h (cgraph_local_info): Sort fields by size; add
redefined_extern_inline
(cgraph_global_info): Sort fields by size.
(cgraph_node): Likewise.
* cgraphunit.c (cgraph_finalize_function): Se
local.redefined_extern_inline on redefinition.
(cgraph_analyze_function): Use it; fix formating.
From-SVN: r75890
Nathan Bryant [Wed, 14 Jan 2004 22:49:58 +0000 (22:49 +0000)]
re PR libgcj/12001 (_Jv_FindClass dumps core when Oracle's classes12.zip in $CLASSPATH)
PR libgcj/12001:
* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
array to superclass.
(init): Changed interface; add URLs here.
(initialize): New static method.
* prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
(_Jv_RunMain): ... not here.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r75889
Jan Hubicka [Wed, 14 Jan 2004 22:43:54 +0000 (23:43 +0100)]
sched-deps.c (trye_dependency_cache, [...]): Trun to vectors of bitmaps
* sched-deps.c (trye_dependency_cache, anti_dependency_cache,
outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
bitmaps
(cache_size): New variable
(add_dependence): Update use; canonize early memory locations
(sched_analyze_1): Likewise.
(sched_analyze_2): Likewise.
(init_dependency_caches): Initialize bitmaps.
(free_dependency_caches): Free bitmaps
From-SVN: r75888
Kazu Hirata [Wed, 14 Jan 2004 21:59:30 +0000 (21:59 +0000)]
calls.c: Replace STRICT_ARGUMENT_NAMING in comments with...
* calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
targetm.calls.strict_argument_naming().
* target.h: Likewise.
From-SVN: r75886
Loren J. Rittle [Wed, 14 Jan 2004 21:27:28 +0000 (21:27 +0000)]
* Makefile.in (distclean): Remove config.cache.
From-SVN: r75885
Richard Henderson [Wed, 14 Jan 2004 21:12:02 +0000 (13:12 -0800)]
re PR debug/13231 (Bad DWARF2 CFI when there is no frame pointer)
PR debug/13231
* dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
instructions.
From-SVN: r75884
Richard Henderson [Wed, 14 Jan 2004 21:01:18 +0000 (13:01 -0800)]
re PR c++/12491 (Destructor fails to compile when optimizations (inlining) are enabled)
PR c++/12491
* except.c (struct eh_region): Add u.fixup.resolved.
(resolve_one_fixup_region): Split out from ...
(resolve_fixup_regions): ... here.
* g++.dg/eh/cleanup2.C: New.
From-SVN: r75883
Kazu Hirata [Wed, 14 Jan 2004 20:34:25 +0000 (20:34 +0000)]
* config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
From-SVN: r75882
Kazu Hirata [Wed, 14 Jan 2004 20:16:57 +0000 (20:16 +0000)]
alpha.h (STRUCT_VALUE): Remove.
* config/alpha/alpha.h (STRUCT_VALUE): Remove.
* config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
(STRUCT_VALUE): Remove.
From-SVN: r75881
Loren J. Rittle [Wed, 14 Jan 2004 20:09:37 +0000 (20:09 +0000)]
Makefile.def (target_modules): Stage.
* Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage.
* Makefile.tpl (configure-target-[+module+]): Support stage.
* Makefile.in: Rebuilt.
From-SVN: r75880
Steven Bosscher [Wed, 14 Jan 2004 20:05:29 +0000 (20:05 +0000)]
system.h: Poison PROMOTED_MODE
* system.h: Poison PROMOTED_MODE
* integrate.c (expand_inline_function): Don't mention the
PROMOTED_MODE.
* loop.c (update_giv_derive): Same.
* tree.h (DECL_RTL): Same.
From-SVN: r75878
Michael Koch [Wed, 14 Jan 2004 19:45:11 +0000 (19:45 +0000)]
re PR libgcj/2429 (java.text.MessageFormat should usefully set text on exceptions)
2004-01-14 Michael Koch <konqueror@gmx.de>
* java/text/MessageFormat.java:
Added descriptions to exceptions.
This fixes PR libgcj/2429.
From-SVN: r75877
Paolo Carlini [Wed, 14 Jan 2004 19:14:39 +0000 (19:14 +0000)]
locale_facets.h (struct __numpunct_cache): Add member _M_grouping_size, caching the length of _M_grouping.
2004-01-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (struct __numpunct_cache):
Add member _M_grouping_size, caching the length of _M_grouping.
(__numpunct_cache<>::_M_cache): Assign the latter.
(__verify_grouping): Move declaration...
* include/bits/locale_facets.tcc (__verify_grouping):
... here, change signature to take a const char* and a size_t
for the grouping; not a template anymore.
(__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
Likewise change signature and tweak consistently.
(num_get::_M_extract_float, num_get::_M_extract_int,
num_put::_M_insert_int, num_put::_M_insert_float,
money_get::do_get(string_type&), money_get::do_put(string_type)):
Update callers.
* config/locale/generic/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Assign the new member.
* config/locale/gnu/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Likewise.
* src/locale-inst.cc (__add_grouping): Tweak signature.
(__verify_grouping): Don't instantiate, not a template anymore.
* include/bits/locale_facets.h: Rename _M_truename_len ->
_M_truename_size, _M_falsename_len -> _M_falsename_size.
* include/bits/locale_facets.tcc: Likewise.
* config/locale/generic/numeric_members.cc: Likewise.
* config/locale/gnu/numeric_members.cc: Likewise.
From-SVN: r75876
Stefan Olsson [Wed, 14 Jan 2004 18:54:18 +0000 (18:54 +0000)]
mt_allocator.h: Fixups.
2004-01-14 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Fixups.
* testsuite/performance/allocator.cc: Enable __mt_alloc tests.
* testsuite/performance/allocator_thread.cc: Same.
From-SVN: r75875
J"orn Rennecke [Wed, 14 Jan 2004 18:02:42 +0000 (18:02 +0000)]
re PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))
PR target/9365
* sh.c (gen_block_redirect): Add special handling of RETURN.
(gen_far_branch) Don't call gen_stuff_delay_slot if there is no
far branch target (i.e. it's a return).
From-SVN: r75872
Kazu Hirata [Wed, 14 Jan 2004 17:55:20 +0000 (17:55 +0000)]
* regrename.c (find_oldest_value_reg): Fix a warning.
From-SVN: r75871
Richard Earnshaw [Wed, 14 Jan 2004 17:51:31 +0000 (17:51 +0000)]
re PR bootstrap/12527 ([arm] bootstrap error on arm-linux, miscompiling genconstants)
PR bootstrap/12527
* config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
Move linux-gas.h and linux-elf.h before aout.h.
* arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
* arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
From-SVN: r75870
Kazu Hirata [Wed, 14 Jan 2004 16:35:13 +0000 (16:35 +0000)]
m32r.md: Use GEN_INT instead of gen_rtx (CONST_INT, VOIDmode, ...).
* config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
(CONST_INT, VOIDmode, ...).
From-SVN: r75868
Richard Earnshaw [Wed, 14 Jan 2004 16:25:09 +0000 (16:25 +0000)]
regrename.c (find_oldest_value_reg): If the replacement uses multiple hard registers...
* regrename.c (find_oldest_value_reg): If the replacement uses
multiple hard registers, check that all of them are in CLASS.
From-SVN: r75867
Jan Hubicka [Wed, 14 Jan 2004 12:00:22 +0000 (13:00 +0100)]
alias.c (get_alias_set): Initialize alias set to 0 when subset is impossible.
* alias.c (get_alias_set): Initialize alias set to 0 when subset is
impossible.
From-SVN: r75861
Kelley Cook [Wed, 14 Jan 2004 11:53:19 +0000 (11:53 +0000)]
Makefile.in: Define MAINT from --enable-maintainer-mode.
gcc/
2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Define MAINT from --enable-maintainer-mode.
gcc/ada/
2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.\
From-SVN: r75860
Jan Hubicka [Wed, 14 Jan 2004 11:34:37 +0000 (12:34 +0100)]
re PR c++/12850 (memory consumption for heavy template instantiations tripled since 3.3)
PR c++/12850
* pt.c (instantiate_decl): Do not increase function_depth.
From-SVN: r75859
Hartmut Penner [Wed, 14 Jan 2004 10:57:40 +0000 (10:57 +0000)]
* gcc/config/rs6000/rs6000.c (rs6000_stack_info)
Calculate always vrsave_mask if TARGET_ALTIVEC.
(rs6000_emit_prologue): Emit code for vrsave
only if TARGET_ALTIVEC_VRSAVE.
(rs6000_emit_epilogue): Likewise.
From-SVN: r75857
Eric Botcazou [Wed, 14 Jan 2004 09:49:31 +0000 (09:49 +0000)]
sparc.md (tie_add32): Fix pasto.
* config/sparc/sparc.md (tie_add32): Fix pasto.
(tie_add64): Likewise.
From-SVN: r75856
Eric Botcazou [Wed, 14 Jan 2004 09:48:30 +0000 (09:48 +0000)]
ChangeLog
From-SVN: r75855
Hartmut Penner [Wed, 14 Jan 2004 09:23:06 +0000 (09:23 +0000)]
* gcc.dg/ppc64-abi-1.c: New test.
From-SVN: r75852
Danny Smith [Wed, 14 Jan 2004 07:31:39 +0000 (07:31 +0000)]
* g++.dg/ext/attrib9.C: Add dg-warnings.
From-SVN: r75847
Danny Smith [Wed, 14 Jan 2004 07:27:07 +0000 (07:27 +0000)]
re PR c++/9021 ([win32] No exports possible when using a class pointer in an union)
PR c++/9021
PR c++/11005
* parser.c (cp_parser_elaborated_type_specifier): Warn about
attributes and discard.
* decl.c (xref_tag): Don't overwite existing attributes with
NULL_TREE.
From-SVN: r75846
Zdenek Dvorak [Wed, 14 Jan 2004 07:20:48 +0000 (08:20 +0100)]
* config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
From-SVN: r75845
Giovanni Bajo [Wed, 14 Jan 2004 04:54:24 +0000 (04:54 +0000)]
re PR c++/12335 (ICE when explicitly calling destructor)
PR c++/12335
* g++.dg/parse/dtor3.C: New test.
From-SVN: r75843
Giovanni Bajo [Wed, 14 Jan 2004 04:50:30 +0000 (04:50 +0000)]
re PR c++/12335 (ICE when explicitly calling destructor)
PR c++/12335
* parser.c (cp_parser_lookup_name): Return error_mark_node if there
is no destructor while looking up a BIT_NOT_EXPR.
From-SVN: r75842
Benjamin Kosnik [Wed, 14 Jan 2004 04:11:57 +0000 (04:11 +0000)]
ifstream_extract_float.cc: Add higher precision tests.
2
2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/performance/ifstream_extract_float.cc: Add higher
precision tests.
* testsuite/performance/ofstream_insert_float.cc: Same.
From-SVN: r75841
Kazu Hirata [Wed, 14 Jan 2004 03:10:51 +0000 (03:10 +0000)]
iq2000-protos.h: Fix comment formatting.
* config/iq2000/iq2000-protos.h: Fix comment formatting.
* config/iq2000/iq2000.c: Likewise.
* config/iq2000/iq2000.md: Likewise.
From-SVN: r75840
Ian Lance Taylor [Wed, 14 Jan 2004 03:02:35 +0000 (03:02 +0000)]
* cxxfilt.c: Remove unused file.
From-SVN: r75839
J. Brobecker [Wed, 14 Jan 2004 02:52:40 +0000 (02:52 +0000)]
dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
* dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
(subrange_type_die): Add handle for nameless subrange types.
From-SVN: r75838
Ian Lance Taylor [Wed, 14 Jan 2004 02:32:49 +0000 (02:32 +0000)]
re PR fortran/6491 ([g77] Logical operations error on logicals when using -fugly-logint)
PR fortran/6491
* expr.c (ffeexpr_reduce_): When handling AND, OR, and XOR, and
when using -fugly-logint, if both operands are logical, convert
the result back to logical.
(ffeexpr_reduced_ugly2log_): Add bothlogical parameter. Change
all callers. Convert logical operands to integer.
From-SVN: r75837
Kazu Hirata [Wed, 14 Jan 2004 02:01:05 +0000 (02:01 +0000)]
h8300-protos.h: Replace do_movsi with h8300_expand_movsi.
* config/h8300/h8300-protos.h: Replace do_movsi with
h8300_expand_movsi.
* config/h8300/h8300.c (do_movsi): Change to
h8300_expand_movsi.
* config/h8300/h8300.md (movsi): Replace do_movsi with
h8300_expand_movsi.
(movsf): Likewise.
From-SVN: r75836
Kazu Hirata [Wed, 14 Jan 2004 01:31:56 +0000 (01:31 +0000)]
h8300.c (dosize): Change to h8300_emit_stack_adjustment.
* config/h8300/h8300.c (dosize): Change to
h8300_emit_stack_adjustment. Update callers.
From-SVN: r75835
Kazu Hirata [Wed, 14 Jan 2004 00:52:26 +0000 (00:52 +0000)]
h8300.md (movstrictqi): Add an alternative with the source being post_inc.
* config/h8300/h8300.md (movstrictqi): Add an alternative with
the source being post_inc. Tighten the predicate for the
destination to register_operand.
(movstricthi): Likewise.
From-SVN: r75833
Kazu Hirata [Wed, 14 Jan 2004 00:49:05 +0000 (00:49 +0000)]
system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
* system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
* varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
* doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
From-SVN: r75832
GCC Administrator [Wed, 14 Jan 2004 00:23:09 +0000 (00:23 +0000)]
Daily bump.
From-SVN: r75829
Jan Hubicka [Tue, 13 Jan 2004 23:59:19 +0000 (00:59 +0100)]
Partial fix PR c++/12850
Partial fix PR c++/12850
* cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
at zero nest level.
* decl2.c (mark_used): Do not proactively instantiate templates
when compiling in unit-at-a-time or not optimizing.
* optimize.c (maybe_clone_body): Do not increase function depth.
From-SVN: r75823
Paolo Carlini [Tue, 13 Jan 2004 23:25:55 +0000 (23:25 +0000)]
locale-misc-inst.cc (__convert_from_v(long), [...]): Remove, unused.
2004-01-13 Paolo Carlini <pcarlini@suse.de>
* src/locale-misc-inst.cc (__convert_from_v(long),
__convert_from_v(unsigned long), __convert_from_v(long long),
__convert_from_v(unsigned long long)): Remove, unused.
From-SVN: r75822
Jan Hubicka [Tue, 13 Jan 2004 23:14:04 +0000 (00:14 +0100)]
lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost estimation.
* lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost
estimation.
* c-common.c (c_estimate_num_insns_1): Fix bug in MODIFY_EXPR
cost estimation.
* expr.c (MOVE_RATIO, CLEAR_RATIO): Move to ...
* expr.h (MOVE_RATIO, CLEAR_RATIO): ... here.
From-SVN: r75821
Fernando Nasser [Tue, 13 Jan 2004 22:51:26 +0000 (22:51 +0000)]
* java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. (push): Make sure push is performed at the top of the thread stack.
From-SVN: r75820
Daniel Jacobowitz [Tue, 13 Jan 2004 21:35:12 +0000 (21:35 +0000)]
cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE takes two parameters.
* cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
takes two parameters.
* cp-demint.c (cplus_demangle_fill_component): Likewise.
From-SVN: r75819
Bernardo Innocenti [Tue, 13 Jan 2004 21:23:36 +0000 (22:23 +0100)]
netbsd-elf.h (REGISTER_NAMES): Add missing "argptr" pseudo-register.
* config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
pseudo-register.
From-SVN: r75818
Thomas Fitzsimmons [Tue, 13 Jan 2004 20:58:33 +0000 (20:58 +0000)]
GtkTextAreaPeer.java, [...] (native create): Add width and height parameters.
2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(native create): Add width and height parameters. Set text
view's size request according to new parameters.
(create): Calculate text view size based on current font's
metrics and number of rows and columns. Set TextArea's font if
not already set. Call native create.
(getMinimumSize): Call minimumSize.
(getPreferredSize): Call preferredSize.
(getHScrollbarHeight): New method.
(getVScrollbarWidth): New method.
(minimumSize): Calculate minimum size based on scrollbar
visibility, scrollbar sizes, font metrics and number of rows and
columns.
(preferredSize): Likewise for preferred size.
(gtkTextGetSize): Remove method.
From-SVN: r75817
Thomas Fitzsimmons [Tue, 13 Jan 2004 20:54:46 +0000 (20:54 +0000)]
2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(initializeInsets): Remove method.
(GtkComponentPeer): Initialize insets field. Remove call to
initializeInsets.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
Remove method.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
Remove method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
(latestInsets): Remove field.
(native create): Add insets parameter. Call
window_get_frame_extents. Set the window's default size and
size request based on its frame extents.
(create): Initialize insets.
(postInsetsChangedEvent): New method.
(postConfigureEvent): Remove parameters top, left, bottom,
right. Remove insets-related logic.
(connectJObject): Handle property-notify-event.
(window_get_frame_extents, request_frame_extents,
property_notify_predicate, window_property_changed_cb): New
static functions.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Remove insets-related logic for configure
events.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
Update postConfigureEvent signature.
From-SVN: r75816
Devang Patel [Tue, 13 Jan 2004 20:12:35 +0000 (12:12 -0800)]
re PR debug/7078 (stabs are not generated correctly with c++ namespaces are used)
PR debug/7078
* dbxout.c (dbxout_symbol_name): Emit mangled names for
NAMESPACE_DECL memebers.
From-SVN: r75815
Andrew Pinski [Tue, 13 Jan 2004 20:10:07 +0000 (20:10 +0000)]
re PR c++/12709 (ICE with __FUNCTION__ and function-try-block)
2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/12709
* c-common.c (finish_fname_decls): Use the chain only if the
tree is an expr_stmt.
2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/12709
* g++.dg/parse/try-catch-1.C: New test.
From-SVN: r75814
Fernando Nasser [Tue, 13 Jan 2004 20:00:00 +0000 (20:00 +0000)]
TestAWT.java (DialogWindow): Add WindowAdapter to handle Window "Closing" events.
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
to handle Window "Closing" events.
From-SVN: r75813
Vladimir Makarov [Tue, 13 Jan 2004 19:52:24 +0000 (19:52 +0000)]
rtl.def: Add comment about new option in automata_option.
2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
* rtl.def: Add comment about new option in automata_option.
* genautomata.c (PROGRESS_OPTION): New macro.
(progress_flag): New global variable.
(gen_automata_option): Process `progress'.
(transform_insn_regexps, check_unit_distributions_to_automata,
make_automaton, NDFA_to_DFA, build_automaton, create_automata,
expand_automata, write_automata): Print about the progress only if
progress_flag. Remove fflush.
(initiate_automaton_gen): Process command line flag `-progress'.
* doc/md.texi: Describe the new option.
From-SVN: r75812
Benjamin Kosnik [Tue, 13 Jan 2004 18:57:45 +0000 (18:57 +0000)]
ifstream_extract_float.cc: New.
2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/performance/ifstream_extract_float.cc: New.
* testsuite/performance/ofstream_insert_float.cc: Float generation
matches above.
* 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
* 20_util/auto_ptr/1.cc: ...this.
* 20_util/auto_ptr/2.cc: Same.
* 20_util/auto_ptr/3.cc: Same.
* 20_util/auto_ptr/3946.cc: Same.
* 20_util/auto_ptr/4.cc: Same.
* 20_util/auto_ptr/5.cc: Same.
* 20_util/auto_ptr/6.cc: Same.
* 20_util/auto_ptr/7.cc: Same.
* 20_util/auto_ptr/assign_neg.cc
* 20_util/pairs.cc: Break into...
* 20_util/pair/1.cc: ...this.
* 20_util/pair/2.cc: Same.
* 20_util/pair/3.cc: Same.
* 20_util/pair/4.cc: Same.
From-SVN: r75811
Paolo Carlini [Tue, 13 Jan 2004 18:53:57 +0000 (18:53 +0000)]
locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the only group that matters.
2004-01-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get::do_get(void*&)):
Set correctly just basefield, the only group that matters.
From-SVN: r75810
David Jee [Tue, 13 Jan 2004 17:55:20 +0000 (17:55 +0000)]
2004-01-13�� David Jee�� <djee@redhat.com>
* gnu/java/awt/peer/gtk/GtkContainerPeer.java
(setBackground): New method. Children with no explicitly-set
background will be repainted with the parent container's new
background color.
From-SVN: r75809
David Jee [Tue, 13 Jan 2004 17:37:23 +0000 (17:37 +0000)]
2004-01-13�� David Jee�� <djee@redhat.com>
����������������* Makefile.am: Add BitwiseXORComposite.java.
����������������* Makefile.in: Regenerated.
����������������* gcj/Makefile.in: Regenerated.
����������������* include/Makefile.in: Regenerated.
����������������* testsuite/Makefile.in: Regenerated.
From-SVN: r75808
Zdenek Dvorak [Tue, 13 Jan 2004 16:48:19 +0000 (17:48 +0100)]
* cfg.c (dump_bb): Dump entry edges.
From-SVN: r75806
Richard Earnshaw [Tue, 13 Jan 2004 13:24:37 +0000 (13:24 +0000)]
arm.c (thumb_legitimate_address_p): Only allow constant pool references from SImode.
* arm.c (thumb_legitimate_address_p): Only allow constant pool
references from SImode.
* arm.md (thumb_movhi_insn): Don't allow minipool references.
From-SVN: r75804
Fernando Nasser [Tue, 13 Jan 2004 13:09:31 +0000 (13:09 +0000)]
TestAWT.java: Fix test program so that it does not show modal dialogs twice and so that it...
* gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
not show modal dialogs twice and so that it allows showing a modal
dialog from another modal dialog.
From-SVN: r75803
Arnaud Charlet [Tue, 13 Jan 2004 11:51:34 +0000 (12:51 +0100)]
[multiple changes]
2004-01-13 Ed Schonberg <schonberg@gnat.com>
* exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
components that are initialized with aggregates.
2004-01-13 Vincent Celier <celier@gnat.com>
* gnatlink.adb (Process_Binder_File): To find directory of shared
libgcc, if "gcc-lib" is not a subdirectory, look for the last
subdirectory "lib" in the path of the shared libgnat or libgnarl.
* make.adb (Gnatmake): If GCC version is at least 3, link with
-shared-libgcc, when there is at least one shared library project.
* opt.ads (GCC_Version): New integer constant.
* adaint.c (get_gcc_version): New function.
2004-01-13 Robert Dewar <dewar@gnat.com>
* sem_dist.adb, sem_res.adb, sem_util.adb,
sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
2004-01-13 Thomas Quinot <quinot@act-europe.fr>
* s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
declarations.
From-SVN: r75802
Arnaud Charlet [Tue, 13 Jan 2004 11:48:46 +0000 (12:48 +0100)]
Add extra checks.
From-SVN: r75801
Paolo Carlini [Tue, 13 Jan 2004 11:46:50 +0000 (11:46 +0000)]
rope (_Rope_rep_alloc_base): Eliminate.
2004-01-13 Paolo Carlini <pcarlini@suse.de>
* include/ext/rope (_Rope_rep_alloc_base): Eliminate.
(_Rope_rep_base): Inherit directly from the rope allocator;
use rebinding instead of _Alloc_traits; pick up data member
from _Rope_rep_alloc_base.
(_Rope_alloc_base): Eliminate.
(_Rope_base): Inherit directly from the rope allocator; use
rebinding instead of _Alloc_traits; pick up data member from
_Rope_alloc_base.
(rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
From-SVN: r75800
Paolo Carlini [Tue, 13 Jan 2004 11:12:38 +0000 (11:12 +0000)]
re PR libstdc++/13650 (string::compare should not (always) use traits_type::length())
2004-01-13 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13650
* include/bits/basic_string.tcc (compare(size_type, size_type,
const _CharT*, size_type)): Implement correctly the resolution
of DR 5: basically, s is a char array, -not- a C string.
* include/bits/basic_string.h: Tweak some comments.
* testsuite/21_strings/basic_string/compare/char/13650.cc: New.
* testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
From-SVN: r75798
Kazu Hirata [Tue, 13 Jan 2004 10:51:39 +0000 (10:51 +0000)]
system.h (TEXT_SECTION): Poison.
* system.h (TEXT_SECTION): Poison.
* varasm.c (text_section): Don't use TEXT_SECTION.
* config/sh/sh.c (sh_file_start): Fix a comment typo.
* doc/tm.texi (TEXT_SECTION): Remove.
From-SVN: r75797
Arnaud Charlet [Tue, 13 Jan 2004 10:28:02 +0000 (11:28 +0100)]
Complete previous check in.
From-SVN: r75796
Arnaud Charlet [Tue, 13 Jan 2004 10:24:59 +0000 (11:24 +0100)]
run_all.sh: Add more verbose output in acats.log when compiling tests.
* ada/acats/run_all.sh: Add more verbose output in acats.log
when compiling tests.
From-SVN: r75795
Ben Elliston [Tue, 13 Jan 2004 09:22:14 +0000 (09:22 +0000)]
* doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
From-SVN: r75793
Steven Bosscher [Tue, 13 Jan 2004 08:30:42 +0000 (08:30 +0000)]
Add missing PR number
From-SVN: r75791
James E Wilson [Tue, 13 Jan 2004 07:54:59 +0000 (07:54 +0000)]
Delete unused file.
* unwind-libunwind.c: Delete.
From-SVN: r75790
Ian Lance Taylor [Tue, 13 Jan 2004 03:06:13 +0000 (03:06 +0000)]
demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h".
2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
"libiberty.h".
From-SVN: r75789
Fernando Nasser [Tue, 13 Jan 2004 02:56:18 +0000 (02:56 +0000)]
Dialog.java (show): Enable blocking for all modal dialogs and run secondary dispatch thread to...
* java/awt/Dialog.java (show): Enable blocking for all modal dialogs
and run secondary dispatch thread to process event queue while this
thread is blocked.
From-SVN: r75788
Zack Weinberg [Tue, 13 Jan 2004 02:52:37 +0000 (02:52 +0000)]
re PR c/13656 (ICE after redeclaring size_t in the system headers)
PR 13656
* c-decl.c (diagnose_mismatched_decls): Whenever newtype or
oldtype is set, set *newtypep or *oldtypep too. Do not set
them at the very end.
(validate_proto_after_old_defn): Restructure for comprehensibility;
make error messages clearer.
testsuite:
* gcc.dg/typedef-redecl.c: New test case.
* gcc.dg/typedef-redecl.h: New support file.
From-SVN: r75787
Zack Weinberg [Tue, 13 Jan 2004 02:43:16 +0000 (02:43 +0000)]
varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
* varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
(VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
* varray.c: No need to prototype error.
(varray_check_failed): Wrap long string onto two lines.
(varray_underflow): New function.
From-SVN: r75786
Ian Lance Taylor [Tue, 13 Jan 2004 02:26:28 +0000 (02:26 +0000)]
* README: Remove.
From-SVN: r75785
Steven Bosscher [Tue, 13 Jan 2004 01:58:45 +0000 (01:58 +0000)]
re PR c++/13376 (Incorrect dumps of RTL for passes that use current_function_name)
PR c++/13376
* function.h (struct function): Kill `name' field.
(current_function_name): Make it an extern function.
* function.c (current_function_name): New function.
* graph.c: Update all uses of current_function_name.
* gcse.c: Likewise.
* config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
* config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
instead of a strcmp with "main".
From-SVN: r75784
Ian Lance Taylor [Tue, 13 Jan 2004 01:49:16 +0000 (01:49 +0000)]
* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
From-SVN: r75783
Jan Hubicka [Tue, 13 Jan 2004 01:37:15 +0000 (02:37 +0100)]
c-decl.c (diagnose_mismatched_decls): Fix warning calls.
* c-decl.c (diagnose_mismatched_decls): Fix warning calls.
* cgraphunit.c (cgraph_optimize_function): Always do
optimize_inline_calls when there is always_inline callee.
(cgraph_decide_inlining): Fix formating.
* tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
functions.
(expand_call_inline): Likewise.
* toplev.h (sorry): Fix prototype.
From-SVN: r75782
Jan Hubicka [Tue, 13 Jan 2004 01:35:27 +0000 (02:35 +0100)]
cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee.
* cgraphunit.c (cgraph_optimize_function): Always do
optimize_inline_calls when there is always_inline callee.
(cgraph_decide_inlining): Fix formating.
* tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
functions.
(expand_call_inline): Likewise.
* toplev.h (sorry): Fix prototype.
* gcc.dg/always_inline.c: New test.
* gcc.dg/debug/
20031231-1.c: Fix.
From-SVN: r75781
Roger Sayle [Tue, 13 Jan 2004 01:32:42 +0000 (01:32 +0000)]
builtins.c (expand_builtin_expect_jump): Simplify logic.
* builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
conditional jumps that drop through to unconditional jumps or the
end of the sequence.
From-SVN: r75780
Jan Hubicka [Tue, 13 Jan 2004 01:14:17 +0000 (02:14 +0100)]
alias.c (new_alias_set): Construct the alias_set varray.
* alias.c (new_alias_set): Construct the alias_set varray.
(init_alias_once): Don't do it here.
From-SVN: r75779
Giovanni Bajo [Tue, 13 Jan 2004 01:07:02 +0000 (01:07 +0000)]
re PR c++/13474 (fail to compile non type argument specialization of pointer to array of int)
PR c++/13474
* g++.dg/template/array3.C: New test.
From-SVN: r75778
Giovanni Bajo [Tue, 13 Jan 2004 01:02:27 +0000 (01:02 +0000)]
re PR c++/13474 (fail to compile non type argument specialization of pointer to array of int)
PR c++/13474
* pt.c (tsubst) <INTEGER_TYPE>: Remove obsolete array index tweaking.
From-SVN: r75777
Steven Bosscher [Tue, 13 Jan 2004 00:44:51 +0000 (00:44 +0000)]
re PR c++/13558 (ICE (illegal code) at cp/friend.c:200)
PR c++/13558
* parser.c (cp_parser_member_declaration): Any non-type is also
not a class or a function.
From-SVN: r75776
GCC Administrator [Tue, 13 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75772
Jason Merrill [Tue, 13 Jan 2004 00:01:46 +0000 (19:01 -0500)]
re PR c++/12815 (Code compiled with optimization behaves unexpectedly)
PR c++/12815
* class.c (build_base_path): Do not mark vtable references as
TREE_CONSTANT.
(build_vtbl_ref_1): Likewise.
From-SVN: r75770
Marc Espie [Mon, 12 Jan 2004 22:51:02 +0000 (22:51 +0000)]
system.h: handle YYBYACC like YYBISON.
2004-01-12 Marc Espie <espie@openbsd.org>
* system.h: handle YYBYACC like YYBISON.
From-SVN: r75764
Richard Henderson [Mon, 12 Jan 2004 21:38:04 +0000 (13:38 -0800)]
re PR rtl-optimization/10776 (Large aggregate initializers with a single relocated entry causes excessive compile time regression)
PR opt/10776
* typeck2.c (split_nonconstant_init_1, split_nonconstant_init): New.
(store_init_value): Use it.
* decl.c (check_initializer): Expect full initialization code
from store_init_value.
* init.c (expand_aggr_init_1): Likewise.
* decl2.c (maybe_emit_vtables): Abort if runtime init needed.
From-SVN: r75763
Andreas Tobler [Mon, 12 Jan 2004 21:19:26 +0000 (22:19 +0100)]
libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper path setting for Ssolaris 32/64-bit testing.
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
* lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper
path setting for Ssolaris 32/64-bit testing.
Reorganize LD_LIBRARY_PATH setting.
From-SVN: r75762
Zack Weinberg [Mon, 12 Jan 2004 21:09:29 +0000 (21:09 +0000)]
lvalue1.C: No longer expected to fail.
* g++.dg/ext/lvalue1.C: No longer expected to fail.
* g++.dg/warn/Wunused-2.C: Likewise.
From-SVN: r75761
Andreas Tobler [Mon, 12 Jan 2004 20:49:14 +0000 (21:49 +0100)]
libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris.
2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
Solaris.
From-SVN: r75760