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
Zack Weinberg [Fri, 16 Jan 2004 01:27:38 +0000 (01:27 +0000)]
ia64.md (*movti_internal): C output template extracted to ia64.c.
* config/ia64/ia64.md (*movti_internal): C output template
extracted to ia64.c.
(*movti_internal_reg): Delete.
(reload_inti, reload_outti): Use the correct mode on operand 2
in the first place, don't fix it up in the output template.
(movtf, reload_ointf, reload_outtf): New expanders.
(*movtf_internal): New define_insn_and_split.
* config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
make static; do not hand TFmode CONST_DOUBLEs to split_double.
(ia64_split_tmode_move): New function, body mostly pulled
from ia64.md:*movti_internal.
(ia64_function_arg_words): New function, extracted common
logic from ia64_function_arg et seq.
(ia64_function_arg_offset): Likewise. Handle correctly the
case of a scalar quantity 16 bytes wide with only 8-byte alignment.
(ia64_function_arg, ia64_function_arg_partial_nregs)
(ia64_function_arg_advance): Use ia64_function_arg_words and
ia64_function_arg_offset.
(ia64_function_value): TCmode does not go in float regs.
(ia64_secondary_reload_class): Also handle TFmode.
* config/ia64/ia64-protos.h: Remove prototype for
ia64_split_timode; add prototype for ia64_split_tmode_move.
From-SVN: r75956
GCC Administrator [Fri, 16 Jan 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75953
Giovanni Bajo [Thu, 15 Jan 2004 23:49:13 +0000 (23:49 +0000)]
re PR c++/9259 (Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type")
PR c++/9259
* g++.dg/expr/sizeof2.C: New test.
From-SVN: r75951
Kelley Cook [Thu, 15 Jan 2004 23:49:11 +0000 (23:49 +0000)]
Makefile.in (MAINT): Make it an immediate assignment.
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (MAINT): Make it an immediate assignment.
From-SVN: r75950
R. Kelley Cook [Thu, 15 Jan 2004 23:44:16 +0000 (23:44 +0000)]
A missed hunk in cvs commit for this patch:
2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Rename configure.in to configure.ac
* doc/sourcebuild.texi: Likewise.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r75949
Giovanni Bajo [Thu, 15 Jan 2004 23:41:41 +0000 (23:41 +0000)]
re PR c++/9259 (Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type")
PR c++/9259
* typeck.c (build_class_member_access_expr): Allow to access members
of the currently open class.
(finish_class_member_access_expr): Likewise.
From-SVN: r75948
Daniel Jacobowitz [Thu, 15 Jan 2004 22:55:06 +0000 (22:55 +0000)]
* MAINTAINERS: Add myself to write-after-approval.
From-SVN: r75947
Kazu Hirata [Thu, 15 Jan 2004 22:00:51 +0000 (22:00 +0000)]
* config/m32r/m32r.md: Remove useless calls to gen_lowpart.
From-SVN: r75944
Olga Rodimina [Thu, 15 Jan 2004 22:00:01 +0000 (22:00 +0000)]
GdkGraphics2D.java: Implemented rendering hints related methods.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
Implemented rendering hints related methods.
(getDefaultHints): New helper method. Returns
default rendering hints.
(walkPath): changed to normalize path if
the KEY_STROKE_CONTROL key is in "normalize" mode.
(draw3DRect): changed coordinates of rectangle by +0.5
if in "normalize" mode.
From-SVN: r75943
Kazu Hirata [Thu, 15 Jan 2004 19:49:41 +0000 (19:49 +0000)]
coff.h: Replace Hitachi with Renesas.
* config/h8300/coff.h: Replace Hitachi with Renesas.
* config/h8300/elf.h: Likewise.
* config/h8300/h8300-protos.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
From-SVN: r75941
Andrew Pinski [Thu, 15 Jan 2004 19:37:24 +0000 (19:37 +0000)]
rs6000.c (uses_TOC): Wrap #if TARGET_ELF around it.
2004-01-15 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
around it.
From-SVN: r75940
Stefan Olsson [Thu, 15 Jan 2004 19:18:35 +0000 (19:18 +0000)]
mt_allocator.h: Reuse thread id's as soon as possible by changing the behaviour of...
2004-01-15 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Reuse thread id's as soon as
possible by changing the behaviour of thread_freelist to do
push_front when threads die instead of push_back.
From-SVN: r75939
Kazu Hirata [Thu, 15 Jan 2004 18:35:32 +0000 (18:35 +0000)]
* gcc.dg/sibcall-3.c: Replace mn10?00 with mn10300.
From-SVN: r75936
Tom Tromey [Thu, 15 Jan 2004 18:29:29 +0000 (18:29 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
(%.lo: %.java) Filter out StackTrace.lo.
From-SVN: r75934
Kazu Hirata [Thu, 15 Jan 2004 18:02:01 +0000 (18:02 +0000)]
h8300.c (h8300_return_in_memory): New.
* config/h8300/h8300.c (h8300_return_in_memory): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
* config/h8300/h8300.h (STRUCT_VALUE): Remove.
(RETURN_IN_MEMORY): Likewise.
From-SVN: r75933
Richard Earnshaw [Thu, 15 Jan 2004 17:29:10 +0000 (17:29 +0000)]
re PR rtl-optimization/13375 (ICE in gcse.c)
PR optimization/13375
* gcse.c (handle_avail_expr): Just return if the source is not a
single set.
From-SVN: r75932
Arnaud Charlet [Thu, 15 Jan 2004 17:24:17 +0000 (18:24 +0100)]
[multiple changes]
2004-01-15 Olivier Hainque <hainque@act-europe.fr>
* decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
also when not defining if a Size clause applies. That information is
not to be ignored.
2004-01-15 Arnaud Charlet <charlet@act-europe.fr>
* Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
symbolic links for the shared gnat run time when needed.
2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
* memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
for writing, and terminate with an error message if not.
2004-01-15 Ed Schonberg <schonberg@gnat.com>
* sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
warning on an access to subprogram in an instance, when the target
type is declared in the same generic unit.
(Eval_Attribute): If 'access is known to fail accessibility check,
rewrite as a raise statement.
2004-01-15 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
From-SVN: r75931
Richard Earnshaw [Thu, 15 Jan 2004 16:56:34 +0000 (16:56 +0000)]
Richard Earnshaw <rearnsha@arm.com>
Daniel Jacobowitz <drow@mvista.com>
* arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
(EQUIV): Define.
(ARM_FUNC_ALIAS): New macro.
* arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
* arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
Co-Authored-By: Daniel Jacobowitz <drow@mvista.com>
From-SVN: r75930
Kazu Hirata [Thu, 15 Jan 2004 16:28:04 +0000 (16:28 +0000)]
* strdup.c (strdup): Constify the argument.
From-SVN: r75929
Alexandre Oliva [Thu, 15 Jan 2004 15:00:34 +0000 (15:00 +0000)]
add copyright 2004
From-SVN: r75927
John David Anglin [Thu, 15 Jan 2004 14:58:06 +0000 (14:58 +0000)]
re PR rtl-optimization/12372 (miscompilation of execute/
20030307-1.c at -O2 and -Os)
PR optimization/12372
* calls.c (expand_call): Add call_fusage data for stack arguments in
constant calls.
From-SVN: r75926
Alexandre Oliva [Thu, 15 Jan 2004 14:49:56 +0000 (14:49 +0000)]
add copyright 2004
From-SVN: r75925
Alexandre Oliva [Thu, 15 Jan 2004 14:46:01 +0000 (14:46 +0000)]
re PR c++/13659 (error: no matching function for call to)
PR c++/13659
* g++.dg/lookup/strong-using-3.C: New.
* g++.dg/lookup/using-10.C: New.
From-SVN: r75924
Alexandre Oliva [Thu, 15 Jan 2004 14:45:15 +0000 (14:45 +0000)]
re PR c++/13659 (error: no matching function for call to)
PR c++/13659
* name-lookup.c (validate_nonmember_using_decl): Take scope and
name by value, instead of computing them.
(do_local_using_decl, do_toplevel_using_decl): Add scope and name
arguments. Pass them to validate_nonmember_using_decl.
* name-lookup.h (do_local_using_decl): Adjust.
(do_toplevel_using_decl): Likewise.
* parser.c (cp_parser_using_declaration): Likewise.
* pt.c (tsubst_expr): Likewise.
From-SVN: r75923
Alexandre Oliva [Thu, 15 Jan 2004 14:42:13 +0000 (14:42 +0000)]
re PR c++/13594 (namespace association vs. templates part two)
PR c++/13594
* g++.dg/lookup/strong-using-2.C: New.
From-SVN: r75922
Alexandre Oliva [Thu, 15 Jan 2004 14:41:48 +0000 (14:41 +0000)]
re PR c++/13594 (namespace association vs. templates part two)
PR c++/13594
PR c++/13658
* name-lookup.c (qualified_lookup_using_namespace): Search
strongly-associated namespaces first, and only then try other
namespaces.
From-SVN: r75921
Steven Bosscher [Thu, 15 Jan 2004 14:24:19 +0000 (14:24 +0000)]
* Update my email address.
From-SVN: r75919
Alan Modra [Thu, 15 Jan 2004 13:39:23 +0000 (13:39 +0000)]
rs6000.c (uses_TOC): Correct comment.
* config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
(rs6000_elf_declare_function_name): Formatting.
* config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
From-SVN: r75917
Marcus Comstedt [Thu, 15 Jan 2004 12:40:05 +0000 (13:40 +0100)]
re PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))
2004-01-15 Marcus Comstedt <marcus@mc.pp.se>
Dan Kegel <dank@kegel.com>
J"orn Rennecke <joern.rennecke@superh.com>
PR target/9365
* gcc.dg/pr9365-1.c: New test.
Co-Authored-By: Dan Kegel <dank@kegel.com>
Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>
From-SVN: r75916
Jan Hubicka [Thu, 15 Jan 2004 10:47:01 +0000 (11:47 +0100)]
re PR bootstrap/13692 (ICE in schedule_insns, at sched-rgn.c:2743 with stage1 compiler compiling crtstuff.c)
PR bootstrap/13692
* sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
previous patch.
From-SVN: r75915
Michael Chastain [Thu, 15 Jan 2004 10:24:25 +0000 (10:24 +0000)]
class.c (gen_indirect_dispatch_tables): Fix string length calculations.
2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
* class.c (gen_indirect_dispatch_tables): Fix string length
calculations.
From-SVN: r75913
Richard Henderson [Thu, 15 Jan 2004 09:51:19 +0000 (01:51 -0800)]
alpha.h (REG_ALLOC_ORDER): Reorder fp regs after integer regs of the same call-savedness.
* config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
integer regs of the same call-savedness.
From-SVN: r75911
Andreas Schwab [Thu, 15 Jan 2004 09:37:34 +0000 (09:37 +0000)]
re PR bootstrap/13562 (bootstrap failure on m68k-linux)
PR bootstrap/13562
* config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
status for NOTB/NOTW/NEGW methods.
From-SVN: r75909
Kazu Hirata [Thu, 15 Jan 2004 08:01:01 +0000 (08:01 +0000)]
* doc/invoke.texi: Update dump file names. Fix a typo.
From-SVN: r75908
Kazu Hirata [Thu, 15 Jan 2004 07:25:23 +0000 (07:25 +0000)]
builtins.c (expand_builtin_va_end): Don't use EXPAND_BUILTIN_VA_END.
* builtins.c (expand_builtin_va_end): Don't use
EXPAND_BUILTIN_VA_END.
* system.h (EXPAND_BUILTIN_VA_END): Poison.
* config/d30v/d30v.h: Remove a commented-out definition of
EXPAND_BUILTIN_VA_END.
* config/stormy16/stormy16.h: Likewise.
From-SVN: r75906
Kazu Hirata [Thu, 15 Jan 2004 07:21:03 +0000 (07:21 +0000)]
system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
* system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
* targhooks.c (default_struct_value_rtx): Don't use
STRUCT_VALUE_INCOMING_REGNUM.
From-SVN: r75905