Eric Botcazou [Mon, 19 Jan 2004 16:57:05 +0000 (17:57 +0100)]
sol2.h (ASM_DECLARE_OBJECT_NAME): New.
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
"tls_object" for thread-local objects.
* config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
"#tls" for thread-local sections.
* configure.ac (thread-local checks): Specify --fatal-warnings in
every binutils-specific checks. For sparc*-*-*, test whether the
OS is Solaris and the tools are native and act accordingly.
* configure: Rebuild.
From-SVN: r76156
Jeff Law [Mon, 19 Jan 2004 16:30:05 +0000 (09:30 -0700)]
contrib.texi: Update Paolo Carlini's entry.
* contrib.texi: Update Paolo Carlini's entry. New entries for
Jerry Quinn and Petur Runolfsson.
From-SVN: r76155
Roger Sayle [Mon, 19 Jan 2004 15:15:56 +0000 (15:15 +0000)]
i386.md (*movhi_1, *movqi_1): When optimizing for size, don't use the larger zero-extending loads.
* config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
size, don't use the larger zero-extending loads.
From-SVN: r76152
Paolo Carlini [Mon, 19 Jan 2004 15:10:17 +0000 (15:10 +0000)]
MAINTAINERS: Update my email address.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* MAINTAINERS: Update my email address.
From-SVN: r76151
Fernando Nasser [Mon, 19 Jan 2004 14:51:54 +0000 (14:51 +0000)]
EventQueue.java (getCurrentEvent): Consider that system events may be handled by any queue in the stack.
* java/awt/EventQueue.java (getCurrentEvent): Consider that system
events may be handled by any queue in the stack.
From-SVN: r76150
Kim Ho [Mon, 19 Jan 2004 14:27:45 +0000 (14:27 +0000)]
GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter.
2004-01-19 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
MenuBarPeer parameter.
(removeMenuBarPeer): New native method.
(setMenuBar): Call remove if menu bar is null. Adjust insets
appropriately.
(postSizeAllocateEvent): New method. Called when menu bar size is
allocated. Adjust insets and redo layout.
(GtkFramePeer): Set menu bar during frame creation.
(postConfigureEvent): Adjust position and size to accomodate
menu bar.
* java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
* java/awt/Menu.java (addSeparator): Use peer's addSeparator.
(addNotify): Create the peer if it doesn't exist and call addNotify
for the menu's items.
* java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
* java/awt/MenuItem.java (addNotify): Create the peer if it
doesn't exist.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(removeMenuBarPeer): New method. Remove menu bar on the current
frame.
(setMenuBarPeer): Add the menu bar to the current frame and the
callback for size-allocate events on the menu bar.
(getMenuBarHeight): Add menu bar parameter.
(menubar_resize_cb): New callback method for postSizeAllocate events.
Also: Fix indentation on last ChangeLog entry.
From-SVN: r76149
Kim Ho [Mon, 19 Jan 2004 14:08:19 +0000 (14:08 +0000)]
2004-01-16 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(gtkWidgetGetDimensions): Remove.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWidgetGetDimensions): Remove.
From-SVN: r76148
Paolo Carlini [Mon, 19 Jan 2004 12:11:50 +0000 (12:11 +0000)]
debug.cc: Trivial formatting change.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* src/debug.cc: Trivial formatting change.
From-SVN: r76147
Arnaud Charlet [Mon, 19 Jan 2004 10:37:59 +0000 (11:37 +0100)]
[multiple changes]
2004-01-19 Arnaud Charlet <charlet@act-europe.fr>
* utils.c: Update copyright notice, missed in previous change.
2004-01-19 Vincent Celier <celier@gnat.com>
* mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
args if Bind is True. Set First_ALI, if not already done.
(Build_Library): For Stand Alone Libraries, extract from one ALI file
an eventual --RTS switch, for gnatbind, and all backend switches +
--RTS, for linking.
2004-01-19 Robert Dewar <dewar@gnat.com>
* sem_attr.adb, memtrack.adb: Minor reformatting
2004-01-19 Ed Schonberg <schonberg@gnat.com>
* exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
that rename enumeration literals. This is properly done in sem_eval.
* sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
to functions that rename enumeration literals.
* sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
functions that rename enumeration literals.
From-SVN: r76146
Richard Henderson [Mon, 19 Jan 2004 09:55:42 +0000 (01:55 -0800)]
alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
* alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
* alpha.md (UNSPEC_NT_LDA): Remove.
(UNSPEC_CVTLQ, cvtlq): New.
(extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
(extendsidi2_fix): Remove.
(extendsidi2 splitter): Use cvtlq.
(extendsidi2 fp peepholes): Remove.
(cvtql): Use SFmode instead of SImode.
(fix_trunc?fsi): Update to match.
(floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
(movsi): Rename from movsi_nofix, remove f alternatives.
(movsi_nt_vms): Similarly.
(movsi_fix, movsi_nt_vms_fix): Remove.
(nt_lda): Remove.
* alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
From-SVN: r76145
Jan Hubicka [Mon, 19 Jan 2004 09:43:53 +0000 (10:43 +0100)]
cgraph.c (cgraph_remove_node): Fix removal from linked list.
* cgraph.c (cgraph_remove_node): Fix removal from linked list.
* cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
list.
(cgraph_remove_unreachable_nodes): New function
(cgraph_decide_inlining_of_small_function): Fix pasto.
(cgraph_decide_inlining_incrementally): Fix pasto.
(cgrpah_decide_inlining): Likewise; remove unreachable nodes.
From-SVN: r76142
Paolo Carlini [Mon, 19 Jan 2004 08:53:32 +0000 (08:53 +0000)]
basic_string.tcc (_S_construct(size_type, _CharT, const _Alloc&)): Remove redundant try/catch.
2004-01-19 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_S_construct(size_type,
_CharT, const _Alloc&)): Remove redundant try/catch.
(_M_mutate(size_type, size_type, size_type)): Ditto.
(_M_clone(const _Alloc&, size_type)): Ditto.
From-SVN: r76141
Steven Bosscher [Mon, 19 Jan 2004 08:38:38 +0000 (08:38 +0000)]
gengtype.c (header_file): Make it static.
* gengtype.c (header_file): Make it static.
(write_types_process_field, write_enum_defn): Minor whitespace fixes.
* gengtype.h (header_file): No longer extern.
From-SVN: r76140
Kazu Hirata [Mon, 19 Jan 2004 03:08:14 +0000 (03:08 +0000)]
defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
* defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
* expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
* stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
From-SVN: r76138
Mark Mitchell [Mon, 19 Jan 2004 00:51:56 +0000 (00:51 +0000)]
Fix incorrect PR number.
From-SVN: r76135
Mark Mitchell [Mon, 19 Jan 2004 00:47:59 +0000 (00:47 +0000)]
re PR c++/13635 (ICE in register_specialization for specific order of template specialization)
PR c++/13635
* pt.c (tsubst): Use finish_typeof.
PR c++/13635
* g++.dg/ext/typeof7.C: New test.
From-SVN: r76131
GCC Administrator [Mon, 19 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76128
Kazu Hirata [Sun, 18 Jan 2004 22:49:23 +0000 (22:49 +0000)]
stmt.c (HAVE_casesi): Define it not already defined.
* stmt.c (HAVE_casesi): Define it not already defined.
(HAVE_tablejump): Likewise.
(expand_end_case_type): Resort to the binary tree method if
neither casesi or tablejump is available.
From-SVN: r76120
Daniel Jacobowitz [Sun, 18 Jan 2004 22:37:29 +0000 (22:37 +0000)]
final.c (final_scan_insn): Make non-static again.
* final.c (final_scan_insn): Make non-static again.
* output.h (final_scan_insn): Re-add prototype.
* config/arc/arc.c (arc_output_function_epilogue): Add NULL
to final_scan_insn call.
* config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
* config/mips/mips.c (mips_output_conditional_branch): Likewise.
* config/pa/pa.c (output_lbranch, output_call): Likewise.
* config/sh/sh.c (print_slot): Likewise.
* config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
(output_sibcall, sparc_flat_function_epilogue): Likewise.
From-SVN: r76117
Jan Hubicka [Sun, 18 Jan 2004 21:51:30 +0000 (22:51 +0100)]
basic-block.h (try_redirect_by_replacing_jump): Declare.
* basic-block.h (try_redirect_by_replacing_jump): Declare.
* cfgcleanup.c (try_optimize_cfg): Use it.
* cfgrtl.c (try_redirect_by_replacing_jump): Export.
(rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
Kill hack.
(cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
Revert:
2004-01-16 Geoffrey Keating <geoffk@apple.com>
* cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
even after reload, just don't remove the actual jump tables.
From-SVN: r76115
Kazu Hirata [Sun, 18 Jan 2004 21:36:34 +0000 (21:36 +0000)]
* config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
From-SVN: r76113
Kazu Hirata [Sun, 18 Jan 2004 21:25:06 +0000 (21:25 +0000)]
defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of the size of a pointer in bytes.
* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
the size of a pointer in bytes.
From-SVN: r76112
Roger Sayle [Sun, 18 Jan 2004 20:04:59 +0000 (20:04 +0000)]
builtins.c (expand_builtin_expect_jump): Fix thinko of reusing live "next" variable, which can lead to an infinite loop.
* builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
live "next" variable, which can lead to an infinite loop.
From-SVN: r76111
Andrew Pinski [Sun, 18 Jan 2004 19:50:18 +0000 (19:50 +0000)]
altivec.h: Wrap C++ functions in extern "C++" block.
2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
block.
From-SVN: r76109
James A. Morrison [Sun, 18 Jan 2004 19:49:34 +0000 (19:49 +0000)]
MAINTAINERS: Add myself to write-after-approval.
2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
* MAINTAINERS: Add myself to write-after-approval.
From-SVN: r76108
Andrew Pinski [Sun, 18 Jan 2004 15:45:51 +0000 (15:45 +0000)]
rs6000.c (rs6000_special_round_type_align): Check for NULL in the chain and remove repeated code.
2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/rs6000.c (rs6000_special_round_type_align):
Check for NULL in the chain and remove repeated code.
From-SVN: r76105
Jason Merrill [Sun, 18 Jan 2004 15:38:08 +0000 (10:38 -0500)]
re PR c++/11725 (Wrong return statement warning with -Wreturn-type in template class method)
PR c++/11725
* except.c (build_throw): In a template, set
current_function_returns_abnormally.
From-SVN: r76104
Jan Hubicka [Sun, 18 Jan 2004 15:10:23 +0000 (16:10 +0100)]
coverage.c (checksum_string): Rename to ...
* coverage.c (checksum_string): Rename to ...
(coverage_checksum_string): ... this one, Use crc32_string; recognize
names containing random number and zero the number out in order to get
match.
From-SVN: r76102
Richard Sandiford [Sun, 18 Jan 2004 14:01:52 +0000 (14:01 +0000)]
* config/mips/mips.c (mips_got_alias_set): Mark for PCH.
From-SVN: r76100
Joseph Myers [Sun, 18 Jan 2004 11:57:17 +0000 (11:57 +0000)]
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
Paolo Carlini [Sun, 18 Jan 2004 11:18:29 +0000 (11:18 +0000)]
2004-01-18 Paolo Carlini <pcarlini@suse.de>
* ChangeLog rotation.
From-SVN: r76093
Paolo Carlini [Sun, 18 Jan 2004 10:51:13 +0000 (10:51 +0000)]
basic_string.h (c_str()): Simplify, due to 21.3.4 the internal representation is always kept null-terminated.
2004-01-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (c_str()): Simplify, due to
21.3.4 the internal representation is always kept null-terminated.
* include/bits/basic_string.tcc (_M_clone): Null-terminate.
* testsuite/21_strings/basic_string/element_access/char/4.cc: New.
* testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: Ditto.
From-SVN: r76092
Paolo Carlini [Sun, 18 Jan 2004 09:54:46 +0000 (09:54 +0000)]
basic_string.h (append(size_type, _CharT)): Moved inline...
2004-01-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (append(size_type, _CharT)):
Moved inline, just call _M_replace_aux, no source iterators at
risk of being clobbered.
(assign(size_type, _CharT)): Call directly _M_replace_aux.
(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
input_iterator_tag)): Remove fifth unused argument.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Update call.
* include/bits/basic_string.tcc (replace(size_type, size_type,
const _CharT*, size_type)): Update call.
(_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
throw string literal.
(_M_replace_safe(iterator, iterator, _ForwardIterator,
_ForwardIterator)): Likewise.
(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
input_iterator_tag)): Remove fifth unused argument.
(append(size_type __n, _CharT __c)): Move inline.
* src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
const C*, const C*, input_iterator_tag)): Remove fifth unused
argument.
From-SVN: r76091
Richard Sandiford [Sun, 18 Jan 2004 09:45:32 +0000 (09:45 +0000)]
Add PR number to last commit.
From-SVN: r76090
Richard Sandiford [Sun, 18 Jan 2004 09:42:11 +0000 (09:42 +0000)]
mips.c: Include cfglayout.h.
* config/mips/mips.c: Include cfglayout.h.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
(mips_unspec_offset_high): Add temporary register argument.
(mips_load_call_address): New function, split out from...
(mips_expand_call): ...here.
(mips_output_cplocal): New function.
(mips_output_function_prologue, mips_output_function_epilogue): Use it.
(mips_emit_loadgp): New function, split out from...
(mips_expand_prologue): ...here.
(mips_output_mi_thunk): New function.
From-SVN: r76088
Bernardo Innocenti [Sun, 18 Jan 2004 05:07:35 +0000 (06:07 +0100)]
longlong.h (mc68020, [...]): Remove redundant checks for implied target predefines.
* longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
mcpu32): Remove redundant checks for implied target predefines.
From-SVN: r76084
David Edelsohn [Sun, 18 Jan 2004 04:39:34 +0000 (04:39 +0000)]
array-quals-1.c: xfail on powerpc*-*-aix*.
* gcc.dg/array-quals-1.c: xfail on powerpc*-*-aix*.
* gcc.dg/const-elim-1.c: Same.
From-SVN: r76083
Andrew Pinski [Sun, 18 Jan 2004 03:46:56 +0000 (19:46 -0800)]
2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/rs6000.c (rs6000_special_round_type_align):
Return type is unsigned int not int.
* config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
Likewise.
From-SVN: r76081
Joseph Myers [Sun, 18 Jan 2004 02:10:34 +0000 (02:10 +0000)]
contrib.texi, [...]: Consistently use "GNU/Linux" and "Microsoft Windows" terminology.
* doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
"GNU/Linux" and "Microsoft Windows" terminology.
From-SVN: r76078
Joseph Myers [Sun, 18 Jan 2004 01:20:48 +0000 (01:20 +0000)]
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
Ziemowit Laski [Sun, 18 Jan 2004 01:15:30 +0000 (01:15 +0000)]
objc-act.c (build_objc_method_call): Use target hooks instead of macros to determine if...
[gcc/ChangeLog]
2004-01-17 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (build_objc_method_call): Use target
hooks instead of macros to determine if ..._stret
dispatchers should be used (NeXT runtime only).
[gcc/testsuite/ChangeLog]
2004-01-17 Ziemowit Laski <zlaski@apple.com>
* objc.dg/stret-1.m: New.
* objc.dg/stret-2.m: New.
From-SVN: r76072
GCC Administrator [Sun, 18 Jan 2004 00:16:43 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76068
Roger Sayle [Sat, 17 Jan 2004 23:49:44 +0000 (23:49 +0000)]
builtins.c (expand_builtin_expect_jump): Fix mistake in my last patch.
* builtins.c (expand_builtin_expect_jump): Fix mistake in my
last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
From-SVN: r76064
Daniel Jacobowitz [Sat, 17 Jan 2004 22:14:17 +0000 (22:14 +0000)]
* rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
(emit_call_insn_before_sameloc, emit_insn_after_sameloc)
(emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
macros.
* reload1.c (emit_reload_insns): Use them.
* emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
(emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
for NULL PATTERN.
From-SVN: r76062
Daniel Jacobowitz [Sat, 17 Jan 2004 22:11:58 +0000 (22:11 +0000)]
final.c (SEEN_BB, [...]): Define.
* final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
(final_scan_insn): Update to take an additional SEEN argument. Emit
a line note after the prologue. Make static.
(line_note_exists): Remove.
(final): Don't initialize line_note_exists. Update call to
final_scan_insn.
* output.h (final_scan_insn): Remove prologue.
* function.c (set_insn_locators): Update comment.
(thread_prologue_and_epilogue_insns): Add a comment.
From-SVN: r76060
Steven Bosscher [Sat, 17 Jan 2004 21:03:57 +0000 (21:03 +0000)]
Makefile.in: Remove rule for ggc-simple.o.
* Makefile.in: Remove rule for ggc-simple.o.
* configure.ac: Don't allow ggc-simple to be selected.
* configure: Regenerate.
* ggc-simple.c: Remove.
From-SVN: r76058
Andrew Pinski [Sat, 17 Jan 2004 19:48:50 +0000 (19:48 +0000)]
re PR target/10781 (wrong class size and alignment with static class member)
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
PR target/10781
* config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
Prototype.
* config/rs6000/rs6000.c (rs6000_special_round_type_align):
New function.
* config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
* config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
* config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
PR target/10781
* encoding.c (rs6000_special_round_type_align): Define.
From-SVN: r76043
Andrew Pinski [Sat, 17 Jan 2004 19:04:05 +0000 (11:04 -0800)]
fix dates on the Changelog.
From-SVN: r76041
Andrew Pinski [Sat, 17 Jan 2004 18:59:46 +0000 (10:59 -0800)]
[multiple changes]
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/11895
* g++.dg/ext/vector1.C: New test.
2003-08-26 Fred Fish <fnf@intrinsity.com>
PR c++/11895
* decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
except don't call array_type_nelts() with a VECTOR_TYPE.
From-SVN: r76038
Gerald Pfeifer [Sat, 17 Jan 2004 17:41:36 +0000 (17:41 +0000)]
snapshot-README: Mention how the snapshot was generated.
* snapshot-README: Mention how the snapshot was generated.
* snapshot-index.html: Ditto. Further sync with snapshot-README.
From-SVN: r76037
Jan Hubicka [Sat, 17 Jan 2004 12:28:57 +0000 (13:28 +0100)]
toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous commit.
* toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
commit.
From-SVN: r76035
Jan Hubicka [Sat, 17 Jan 2004 11:41:43 +0000 (12:41 +0100)]
toplev.c (HAVE_conditional_execution): Provide default.
* toplev.c (HAVE_conditional_execution): Provide default.
(rest_of_handle_reorder_blocks): For conditional_execution target
update liveness once after all transformations
(rest_of_compilation): Do crossjumping before ce3.
From-SVN: r76032
Geoffrey Keating [Sat, 17 Jan 2004 09:31:30 +0000 (09:31 +0000)]
re PR pch/13689 (GGC PCH breaks aliasing)
PR pch/13689
* alias.c (new_alias_set): Mark last_alias_set for PCH.
(get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
for PCH.
(get_frame_alias_set): Likewise, except rename it to 'frame_set'.
* config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
(get_TOC_alias_set): Mark 'set' for PCH.
From-SVN: r76031
Tom Tromey [Sat, 17 Jan 2004 08:40:41 +0000 (08:40 +0000)]
ChangeLog rotation
From-SVN: r76030
Geoffrey Keating [Sat, 17 Jan 2004 07:46:49 +0000 (07:46 +0000)]
cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps even after reload, just don't remove the actual jump tables.
* cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
even after reload, just don't remove the actual jump tables.
From-SVN: r76028
Joel Brobecker [Sat, 17 Jan 2004 06:20:03 +0000 (06:20 +0000)]
Fix my email address in the previous checkin.
From-SVN: r76026
J. Brobecker [Sat, 17 Jan 2004 05:30:48 +0000 (05:30 +0000)]
dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
* dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
Remove checks for is_ada() and TREE_UNSIGNED.
(subrange_type_die): Emit a byte_size attribute if the subrange
type size is different from the base type size.
(modified_type_die): Replace call to is_ada_subrange_type() by
call to is_subrange_type().
From-SVN: r76025
Andrew Pinski [Sat, 17 Jan 2004 01:57:09 +0000 (01:57 +0000)]
typeck.c (find_method_in_interfaces): Move variable definition up.
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
* typeck.c (find_method_in_interfaces): Move variable
definition up.
From-SVN: r76021
Andrew Pinski [Sat, 17 Jan 2004 01:19:20 +0000 (01:19 +0000)]
sh.c: Include ggc.h.
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
* config/sh/sh.c: Include ggc.h.
From-SVN: r76018
Benjamin Kosnik [Sat, 17 Jan 2004 00:51:35 +0000 (00:51 +0000)]
13189.cc: Fix guards.
2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
From-SVN: r76017
Geoffrey Keating [Sat, 17 Jan 2004 00:37:47 +0000 (00:37 +0000)]
[multiple changes]
2004-01-15 Geoffrey Keating <geoffk@apple.com>
* Makefile.in (MD5_H): New.
(fold-const.o): Depend on md5.h.
(dwarf2out.o): Likewise.
(cppfiles.o): Likewise.
* cppfiles.c: Include md5.h.
(should_stack_file): Check against list read from PCH file.
(struct pchf_data): New.
(pchf): New variable.
(struct pchf_adder_info): New.
(pchf_adder): New.
(pchf_save_compare): New.
(_cpp_save_file_entries): New.
(_cpp_read_file_entries): New.
(struct pchf_compare_data): New.
(pchf_compare): New.
(check_file_against_entries): New.
* cpphash.h (_cpp_save_file_entries): Prototype.
(_cpp_read_file_entries): Prototype.
* cpppch.c (cpp_write_pch_state): Write the list of headers.
(cpp_read_state): Read the list of headers.
Index: testsuite/ChangeLog
2004-01-16 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/import-1.c: New.
* gcc.dg/pch/import-1.hs: New.
* gcc.dg/pch/import-1a.h: New.
* gcc.dg/pch/import-1b.h: New.
* gcc.dg/pch/import-1c.h: New.
From-SVN: r76016
GCC Administrator [Sat, 17 Jan 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76013
Joseph Myers [Sat, 17 Jan 2004 00:04:13 +0000 (00:04 +0000)]
* de.po: Update.
From-SVN: r76008
Jan Hubicka [Sat, 17 Jan 2004 00:03:14 +0000 (01:03 +0100)]
c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and builtin_expect specially.
* c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
builtin_expect specially.
* params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
(PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
* invoke.texi (max-inline-insns-single): Set to 100.
(large-function-insns): Set to 3000.
From-SVN: r76007
Tom Tromey [Sat, 17 Jan 2004 00:01:59 +0000 (00:01 +0000)]
* java/awt/Container.java: Typo and indentation fixes.
From-SVN: r76004
Tom Tromey [Fri, 16 Jan 2004 23:54:22 +0000 (23:54 +0000)]
natClassLoader.cc: Moved VMClassLoader methods...
* java/lang/natClassLoader.cc: Moved VMClassLoader methods...
* java/lang/natVMClassLoader.cc: ...here. New file.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
From-SVN: r76003
Volker Reichelt [Fri, 16 Jan 2004 23:27:12 +0000 (23:27 +0000)]
* MAINTAINERS: Remove entries without email address.
From-SVN: r76001
Eric Christopher [Fri, 16 Jan 2004 22:37:49 +0000 (22:37 +0000)]
cppcharset.c (one_iso88591_to_utf8): New function.
2004-01-16 Eric Christopher <echristo@redhat.com>
Chandrakala Chavva <cchavva@redhat.com>
* cppcharset.c (one_iso88591_to_utf8): New function.
(convert_iso88591_utf8): Ditto. Use.
(conversion_tab): Use.
(_cpp_input_to_utf8): New function.
(_cpp_init_iconv_buffer): Ditto.
(_cpp_close_iconv_buffer): Ditto.
* cpphash.h: Prototype new functions.
(cpp_buffer): Add input_cset_desc.
* cppinit.c: Add input_charset default.
* cpplib.c (cpp_push_buffer): Support init and
close of iconv.
* cpplib.h (cpp_options): Add input_charset.
From-SVN: r76000
Fernando Nasser [Fri, 16 Jan 2004 22:30:11 +0000 (22:30 +0000)]
gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Discard GDK_ENTER_NOTIFY related to ungrabs.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
Discard GDK_ENTER_NOTIFY related to ungrabs.
From-SVN: r75999
Fernando Nasser [Fri, 16 Jan 2004 22:26:49 +0000 (22:26 +0000)]
EventQueue.java (pop): Prevent breaking the chain if pop is called for an intermediate queue.
* java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
is called for an intermediate queue.
From-SVN: r75998
Thomas Fitzsimmons [Fri, 16 Jan 2004 21:55:21 +0000 (21:55 +0000)]
2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_property_changed_cb): Set id_set.
Also: re-indent kho's latest ChangeLog entry.
From-SVN: r75997
Kazu Hirata [Fri, 16 Jan 2004 21:19:07 +0000 (21:19 +0000)]
system.h (ASM_OUTPUT_SECTION_NAME): Poison.
gcc/
* system.h (ASM_OUTPUT_SECTION_NAME): Poison.
* config/alpha/unicosmk.h: Remove a commented-out definition
of ASM_OUTPUT_SECTION_NAME.
* config/stormy16/stormy16.h: Likewise.
gcc/ada/
* Make-lang.in (utils.o): Depend on target.h.
* utils.c: Include target.h.
(process_attributes): Use targetm.have_named_sections instead
of ASM_OUTPUT_SECTION_NAME.
From-SVN: r75995
Rainer Orth [Fri, 16 Jan 2004 20:58:27 +0000 (20:58 +0000)]
inclhack.def (alpha___extern_prefix): Renamed to ...
* fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
(alpha___extern_prefix_sys_stat): ... this.
Apply to <sys/mount.h>, too.
Tweak to match more variations.
* fixinc/tests/base/sys/stat.h: Adapt for new hackname.
* fixinc/inclhack.def (alpha___extern_prefix,
alpha___extern_prefix_standards): New hacks to obey
__PRAGMA_EXTERN_PREFIX.
* fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
test.
* fixinc/tests/base/standards.h: Likewise.
* fixincl/inclhack.def (alpha_pthread): Tweak to match more
variations.
New testcase.
* fixinc/tests/base/pthread.h: Handle it.
* fixincl/inclhack.def (bad_lval): Sort file list.
Add many missing files up to Tru64 UNIX V5.1B.
* gcc/fixinc/tests/base/libgen.h: Renamed to ...
* gcc/fixinc/tests/base/dirent.h: ... this to match new file list
order.
* fixinc/fixincl.x: Regenerate.
From-SVN: r75994
Kim Ho [Fri, 16 Jan 2004 20:05:41 +0000 (20:05 +0000)]
GtkComponentPeer.java (GtkComponentPeer): If it is a FileDialog and has dimensions of 0 by 0...
2004-01-16 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
it is a FileDialog and has dimensions of 0 by 0, then the initial
size is set to size request plus insets.
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(gtkWidgetGetDimensions): Override method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWidgetGetDimensions): Override method. Returns size request plus
insets.
From-SVN: r75993
Mark Mitchell [Fri, 16 Jan 2004 19:41:35 +0000 (19:41 +0000)]
version.c (version_string): Change to 3.5.0.
* version.c (version_string): Change to 3.5.0.
* doc/include/gcc-common.texi (version-GCC): Likewise.
From-SVN: r75992
Mark Mitchell [Fri, 16 Jan 2004 19:28:11 +0000 (19:28 +0000)]
re PR c++/13574 (array default initializer in class lets gcc consume all memory and die)
PR c++/13574
* decl.c (compute_array_index_type): Fix grammar in comment.
* init.c (build_zero_init): Handle zero-sized arrays correctly.
PR c++/13574
* g++.dg/ext/array1.C: New test.
From-SVN: r75991
Jan Hubicka [Fri, 16 Jan 2004 18:53:51 +0000 (19:53 +0100)]
re PR target/13608 (Incorrect code with -O3 -ffast-math)
* i386.md (load_tp_di): Fix pasto.
PR opt/13608
* i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
* c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
pp_c_character_constant, pp_c_floating_constant,
pp_c_additive_expression, pp_c_shift_expression,
pp_c_equality_expression, pp_c_and_expression,
pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
pp_c_logical_and_expression): Remove inline modifier.
* dwarf2out.c (get_AT): Likewise.
* et-forest.c (et_splay): Likewise.
* ra.h (ra_alloc, ra_calloc): Likewise
* mangle.c (write_mangled_name): Remove inline modifier.
From-SVN: r75988
J"orn Rennecke [Fri, 16 Jan 2004 18:43:04 +0000 (18:43 +0000)]
re PR rtl-optimization/11864 (miscompiles zero extention and test)
PR 11864
From Kazumoto Kojima / Dan Kegel:
* gcc.dg/pr11864-1.c: New test.
From-SVN: r75987
Mark Mitchell [Fri, 16 Jan 2004 18:39:58 +0000 (18:39 +0000)]
re PR c++/13178 (Bogus C++ error message referring to operator 1)
PR c++/13178
* call.c (name_as_c_string): Print conversion operator names
correctly.
PR c++/13178
* g++.dg/conversion/op1.C: New test.
From-SVN: r75986
J"orn Rennecke [Fri, 16 Jan 2004 18:24:09 +0000 (18:24 +0000)]
re PR rtl-optimization/10392 ([SH] optimizer generates faulty array indexing)
PR 10392
From Marcus Comstedt / Dan Kegel:
* gcc.dg/pr10392-1.c: New test.
From-SVN: r75985
Kazu Hirata [Fri, 16 Jan 2004 18:04:22 +0000 (18:04 +0000)]
frv-protos.h: Fix comment formatting.
* config/frv/frv-protos.h: Fix comment formatting.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/frv/frv.md: Likewise.
* config/frv/frvbegin.c: Likewise.
* config/frv/frvend.c: Likewise.
From-SVN: r75984
Mark Mitchell [Fri, 16 Jan 2004 17:54:25 +0000 (17:54 +0000)]
re PR c++/13478 (gcc uses wrong constructor to initialize a const reference)
PR c++/13478
* call.c (initialize_reference): Pass -1 for inner parameter to
convert_like_real.
PR c++/13478
* g++.dg/init/ref10.C: New test.
From-SVN: r75983
Andrew Haley [Fri, 16 Jan 2004 17:25:26 +0000 (17:25 +0000)]
locks.h: Don't use in/out memory constraints.
2004-01-16 Andrew Haley <aph@redhat.com>
* sysdep/x86-64/locks.h: Don't use in/out memory constraints.
* sysdep/i386/locks.h: Likewise.
From-SVN: r75982
Andrew Haley [Fri, 16 Jan 2004 17:16:29 +0000 (17:16 +0000)]
configure.in (NO_EXECUTE_PERMISSION): Remove global declaration; add for ia64; remove for MIPS.
2004-01-16 Andrew Haley <aph@redhat.com>
* configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
add for ia64; remove for MIPS.
* configure: Regnerated.
From-SVN: r75981
Andrew Haley [Fri, 16 Jan 2004 17:11:08 +0000 (17:11 +0000)]
re PR java/13273 (gcj generates call to abstract method)
2004-01-16 Andrew Haley <aph@redhat.com>
PR java/13273:
* typeck.c (shallow_find_method): New.
(find_method_in_superclasses): New.
(find_method_in_interfaces): New.
(lookup_do): Rewrite.
* java-tree.h (SEARCH_ONLY_INTERFACE): Delete.
* jcf-parse.c (read_class): Save and restore output_class.
* decl.c (java_expand_body): Set output_class from fndecl.
From-SVN: r75980
Mark Mitchell [Fri, 16 Jan 2004 16:59:30 +0000 (16:59 +0000)]
re PR c++/13478 (gcc uses wrong constructor to initialize a const reference)
PR c++/13478
* call.c (convert_like_real): Do not perform an additional
direct-initialization when binding to a reference.
PR c++/13478
* g++.dg/init/ref10.C: New test.
From-SVN: r75979
Kazu Hirata [Fri, 16 Jan 2004 16:59:17 +0000 (16:59 +0000)]
system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
* system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
* doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
LINKER_DOES_NOT_WORK_WITH_DWARF2.
(LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
From-SVN: r75978
Fernando Nasser [Fri, 16 Jan 2004 16:15:49 +0000 (16:15 +0000)]
EventDispatchThread.java (run): Stop running when interrupted.
* java/awt/EventDispatchThread.java (run): Stop running when
interrupted.
* java/awt/EventQueue.java (pop): Stop dispatch thread when done.
Reset the queue after transferring its contents.
(push): Start a new dispatch thread if none is running.
From-SVN: r75977
Joern Rennecke [Fri, 16 Jan 2004 16:13:52 +0000 (16:13 +0000)]
Add bugzilla reference:
PR 11864
* postreload.c (reload_cse_simplify_operands): Don't remove
implicit extension from LOAD_EXTEND_OP.
From-SVN: r75976
J"orn Rennecke [Fri, 16 Jan 2004 16:11:56 +0000 (16:11 +0000)]
postreload.c (reload_cse_simplify_operands): Don't remove implicit extension from LOAD_EXTEND_OP.
* postreload.c (reload_cse_simplify_operands): Don't remove
implicit extension from LOAD_EXTEND_OP.
From-SVN: r75975
Olga Rodimina [Fri, 16 Jan 2004 14:22:23 +0000 (14:22 +0000)]
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
(doPolygon): set fill rule of polygon to
WIND_EVEN_ODD by default
From-SVN: r75971
Giovanni Bajo [Fri, 16 Jan 2004 12:33:28 +0000 (12:33 +0000)]
re PR c++/13407 (Confusing error message from extraneous typename)
PR c++/13407
* g++.dg/parse/typename6.C: New test.
From-SVN: r75970
Giovanni Bajo [Fri, 16 Jan 2004 12:29:40 +0000 (12:29 +0000)]
re PR c++/13407 (Confusing error message from extraneous typename)
PR c++/13407
* parser.c (cp_parser_base_specifier): Check for an invalid
keyword 'typename' and emit an user-friendly error message.
From-SVN: r75969
Jan Hubicka [Fri, 16 Jan 2004 11:30:48 +0000 (12:30 +0100)]
re PR rtl-optimization/11350 (undefined labels with -Os -fPIC)
PR opt/11350
* cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
after reload.
* cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
rtl_try_redirect_by_replacing_branch): Likewise.
From-SVN: r75968
Andreas Jaeger [Fri, 16 Jan 2004 08:51:38 +0000 (09:51 +0100)]
* Makefile.in: Add $(DESTDIR).
From-SVN: r75964
Danny Smith [Fri, 16 Jan 2004 08:43:45 +0000 (08:43 +0000)]
testsuite_hooks.cc (try_mkfifo): Avoid calling mkfifo for mingw32.
2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
* testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
mkfifo for mingw32.
From-SVN: r75963
Geoffrey Keating [Fri, 16 Jan 2004 07:28:11 +0000 (07:28 +0000)]
re PR pch/13689 (GGC PCH breaks aliasing)
PR pch/13689
* alias.c (struct alias_set_entry): Mark for GC.
(alias_sets): Make static, mark for GC.
(record_alias_subset): Use GC to allocate alias structures.
* varray.c (element): Make generic varrays GCed.
From-SVN: r75962
Geoffrey Keating [Fri, 16 Jan 2004 07:20:38 +0000 (07:20 +0000)]
Index: ChangeLog
2004-01-15 Geoffrey Keating <geoffk@apple.com>
PR pch/13361
* c-typeck.c (constructor_asmspec): Delete.
(struct initializer_stack): Delete field 'asmspec'.
(start_init): Delete saving of asmspec.
(finish_init): Don't update constructor_asmspec.
* dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
* stmt.c (expand_asm): Duplicate strings from tree.
(expand_asm_operands): Likewise.
* tree.c (tree_size): Update computation of size of STRING_CST.
(make_node): Don't make STRING_CST nodes.
(build_string): Allocate string with tree node.
* tree.def (STRING_CST): Update comment.
* tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
(tree_string): Place contents of string in tree node.
* config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
from tree.
Index: cp/ChangeLog
2004-01-15 Geoffrey Keating <geoffk@apple.com>
PR pch/13361
* cp/lex.c (handle_pragma_interface): Duplicate string from tree.
(handle_pragma_implementation): Likewise.
Index: testsuite/ChangeLog
2004-01-15 Geoffrey Keating <geoffk@apple.com>
PR pch/13361
* testsuite/g++.dg/pch/wchar-1.C: New.
* testsuite/g++.dg/pch/wchar-1.Hs: New.
From-SVN: r75961
Geoffrey Keating [Fri, 16 Jan 2004 07:07:27 +0000 (07:07 +0000)]
rs6000.c (rs6000_va_arg): No need to special-case altivec operands.
* config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
altivec operands.
From-SVN: r75960
Kazu Hirata [Fri, 16 Jan 2004 01:44:06 +0000 (01:44 +0000)]
c-common.h: Fix comment formatting.
* c-common.h: Fix comment formatting.
* c-cppbuiltin.c: Likewise.
* c-pragma.c: Likewise.
* calls.c: Likewise.
* collect2.c: Likewise.
* cppcharset.c: Likewise.
* cpptrad.c: Likewise.
* dbxout.c: Likewise.
* defaults.h: Likewise.
* dwarf2out.c: Likewise.
* fold-const.c: Likewise.
* genautomata.c: Likewise.
* genconditions.c: Likewise.
* genflags.c: Likewise.
* gengtype.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* predict.c: Likewise.
* sdbout.c: Likewise.
From-SVN: r75957