Andrew Pinski
95727fb877
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
2004-01-17 11:48:50 -08:00
Andrew Pinski
4bfaff4d24
fix dates on the Changelog.
...
From-SVN: r76041
2004-01-17 11:04:05 -08:00
Andrew Pinski
6f27961ac0
[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
2004-01-17 10:59:46 -08:00
Gerald Pfeifer
aeeb0e1b8c
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
2004-01-17 17:41:36 +00:00
Jan Hubicka
26c0473bc9
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
2004-01-17 12:28:57 +00:00
Jan Hubicka
f2e16e973b
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
2004-01-17 11:41:43 +00:00
Geoffrey Keating
f103e34d1d
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
2004-01-17 09:31:30 +00:00
Tom Tromey
19833df131
ChangeLog rotation
...
From-SVN: r76030
2004-01-17 08:40:41 +00:00
Geoffrey Keating
ab530ea8b8
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
2004-01-17 07:46:49 +00:00
Joel Brobecker
53dd3be37f
Fix my email address in the previous checkin.
...
From-SVN: r76026
2004-01-17 06:20:03 +00:00
J. Brobecker
e7d23ce3b5
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
2004-01-17 05:30:48 +00:00
Andrew Pinski
cf5da2b9d8
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
2004-01-16 17:57:09 -08:00
Andrew Pinski
8582b18a5f
sh.c: Include ggc.h.
...
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
* config/sh/sh.c: Include ggc.h.
From-SVN: r76018
2004-01-16 17:19:20 -08:00
Benjamin Kosnik
d517f626e1
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
2004-01-17 00:51:35 +00:00
Geoffrey Keating
73e61092e1
[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
2004-01-17 00:37:47 +00:00
GCC Administrator
790b6144d1
Daily bump.
...
From-SVN: r76013
2004-01-17 00:16:11 +00:00
Joseph Myers
f3b786f999
* de.po: Update.
...
From-SVN: r76008
2004-01-17 00:04:13 +00:00
Jan Hubicka
3b75d796ac
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
2004-01-17 00:03:14 +00:00
Tom Tromey
d440f6424f
* java/awt/Container.java: Typo and indentation fixes.
...
From-SVN: r76004
2004-01-17 00:01:59 +00:00
Tom Tromey
b54a271561
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
2004-01-16 23:54:22 +00:00
Volker Reichelt
280835807d
* MAINTAINERS: Remove entries without email address.
...
From-SVN: r76001
2004-01-16 23:27:12 +00:00
Eric Christopher
cf551fbaca
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
2004-01-16 22:37:49 +00:00
Fernando Nasser
2f9c39f8fc
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
2004-01-16 22:30:11 +00:00
Fernando Nasser
da1c22e144
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
2004-01-16 22:26:49 +00:00
Thomas Fitzsimmons
eae433e995
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
2004-01-16 21:55:21 +00:00
Kazu Hirata
510d1e8047
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
2004-01-16 21:19:07 +00:00
Rainer Orth
fb2c26082d
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
2004-01-16 20:58:27 +00:00
Kim Ho
2b8deefadd
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
2004-01-16 20:05:41 +00:00
Mark Mitchell
79a76d653a
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
2004-01-16 19:41:35 +00:00
Mark Mitchell
a8e6c82ab0
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
2004-01-16 19:28:11 +00:00
Jan Hubicka
965514bd92
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
2004-01-16 18:53:51 +00:00
J"orn Rennecke
71bbcf4d56
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
2004-01-16 18:43:04 +00:00
Mark Mitchell
144e414d26
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
2004-01-16 18:39:58 +00:00
J"orn Rennecke
9e0baa6041
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
2004-01-16 18:24:09 +00:00
Kazu Hirata
87b483a1c4
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
2004-01-16 18:04:22 +00:00
Mark Mitchell
1b6bfcd2ce
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
2004-01-16 17:54:25 +00:00
Andrew Haley
a3fe7b56f3
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
2004-01-16 17:25:26 +00:00
Andrew Haley
b27317b552
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
2004-01-16 17:16:29 +00:00
Andrew Haley
e081a9c4c7
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
2004-01-16 17:11:08 +00:00
Mark Mitchell
ab8ffc795c
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
2004-01-16 16:59:30 +00:00
Kazu Hirata
1620182354
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
2004-01-16 16:59:17 +00:00
Fernando Nasser
101900aa28
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
2004-01-16 16:15:49 +00:00
Joern Rennecke
5ed5fd905c
Add bugzilla reference:
...
PR 11864
* postreload.c (reload_cse_simplify_operands): Don't remove
implicit extension from LOAD_EXTEND_OP.
From-SVN: r75976
2004-01-16 16:13:52 +00:00
J"orn Rennecke
115df136c4
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
2004-01-16 16:11:56 +00:00
Olga Rodimina
f30dbd2039
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
...
(doPolygon): set fill rule of polygon to
WIND_EVEN_ODD by default
From-SVN: r75971
2004-01-16 14:22:23 +00:00
Giovanni Bajo
1303d0344b
re PR c++/13407 (Confusing error message from extraneous typename)
...
PR c++/13407
* g++.dg/parse/typename6.C: New test.
From-SVN: r75970
2004-01-16 12:33:28 +00:00
Giovanni Bajo
1ed53ef30c
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
2004-01-16 12:29:40 +00:00
Jan Hubicka
e24e721187
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
2004-01-16 03:30:48 -08:00
Andreas Jaeger
fbf3e0dd2d
* Makefile.in: Add $(DESTDIR).
...
From-SVN: r75964
2004-01-16 09:51:38 +01:00
Danny Smith
701b701b54
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
2004-01-16 08:43:45 +00:00