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
Kelley Cook [Thu, 15 Jan 2004 04:02:24 +0000 (04:02 +0000)]
re PR bootstrap/12744 (A GCC release tarball can no longer be built without bison/flex)
gcc/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12744
* configure.in: Revamp enable-generated-files-in-srcdir rule to define
GENINSRC and not parsedir. Define srcextra as a langhook.
* configure: Regenerate.
* Makefile.in: Suppress default .l.c rule. Don't substitute
parsedir and delete all references throughout. Conditionally define
rule for srcextra dependent on GENINSRC.
(stmp-docobjdir): Delete.
(c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
(srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h back to source directory.
(maintainer-clean): Delete all parse files in source directory.
(distclean): Delete generated files.
* objc/Make-lang.in (objc-parse.o): Use implicit build rule.
(objc-parse.c, objc-parse.y): Don't use parsedir.
(objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
directory if requested.
(po-generated): Don't use parsedir.
(objc.maintainer-clean): Delete above files from source directory.
gcc/ada/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (ada.srcextra): Dummy entry.
gcc/cp/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (c++.srcextra): Dummy entry.
gcc/f/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (f77.srcextra): Dummy entry.
gcc/java/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
(java.srcextra): Copy above back to source directory if requested.
(po-generated): Delete reference to $(parsedir).
(java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
Use implicit rule.
gcc/treelang/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
(treelang/parse.o, treelang/lex.o): Look for sources in build
directory. Use implicit rule.
(treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
doc directory.
(treelang.srcextra): Copy above back to source directory if requested.
From-SVN: r75903
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