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
Paolo Carlini [Wed, 14 Jan 2004 19:14:39 +0000 (19:14 +0000)]
locale_facets.h (struct __numpunct_cache): Add member _M_grouping_size, caching the length of _M_grouping.
2004-01-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (struct __numpunct_cache):
Add member _M_grouping_size, caching the length of _M_grouping.
(__numpunct_cache<>::_M_cache): Assign the latter.
(__verify_grouping): Move declaration...
* include/bits/locale_facets.tcc (__verify_grouping):
... here, change signature to take a const char* and a size_t
for the grouping; not a template anymore.
(__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
Likewise change signature and tweak consistently.
(num_get::_M_extract_float, num_get::_M_extract_int,
num_put::_M_insert_int, num_put::_M_insert_float,
money_get::do_get(string_type&), money_get::do_put(string_type)):
Update callers.
* config/locale/generic/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Assign the new member.
* config/locale/gnu/numeric_members.cc
(numpunct<>::_M_initialize_numpunct): Likewise.
* src/locale-inst.cc (__add_grouping): Tweak signature.
(__verify_grouping): Don't instantiate, not a template anymore.
* include/bits/locale_facets.h: Rename _M_truename_len ->
_M_truename_size, _M_falsename_len -> _M_falsename_size.
* include/bits/locale_facets.tcc: Likewise.
* config/locale/generic/numeric_members.cc: Likewise.
* config/locale/gnu/numeric_members.cc: Likewise.
From-SVN: r75876
Stefan Olsson [Wed, 14 Jan 2004 18:54:18 +0000 (18:54 +0000)]
mt_allocator.h: Fixups.
2004-01-14 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Fixups.
* testsuite/performance/allocator.cc: Enable __mt_alloc tests.
* testsuite/performance/allocator_thread.cc: Same.
From-SVN: r75875
J"orn Rennecke [Wed, 14 Jan 2004 18:02:42 +0000 (18:02 +0000)]
re PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))
PR target/9365
* sh.c (gen_block_redirect): Add special handling of RETURN.
(gen_far_branch) Don't call gen_stuff_delay_slot if there is no
far branch target (i.e. it's a return).
From-SVN: r75872
Kazu Hirata [Wed, 14 Jan 2004 17:55:20 +0000 (17:55 +0000)]
* regrename.c (find_oldest_value_reg): Fix a warning.
From-SVN: r75871
Richard Earnshaw [Wed, 14 Jan 2004 17:51:31 +0000 (17:51 +0000)]
re PR bootstrap/12527 ([arm] bootstrap error on arm-linux, miscompiling genconstants)
PR bootstrap/12527
* config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
Move linux-gas.h and linux-elf.h before aout.h.
* arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
* arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
From-SVN: r75870
Kazu Hirata [Wed, 14 Jan 2004 16:35:13 +0000 (16:35 +0000)]
m32r.md: Use GEN_INT instead of gen_rtx (CONST_INT, VOIDmode, ...).
* config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
(CONST_INT, VOIDmode, ...).
From-SVN: r75868
Richard Earnshaw [Wed, 14 Jan 2004 16:25:09 +0000 (16:25 +0000)]
regrename.c (find_oldest_value_reg): If the replacement uses multiple hard registers...
* regrename.c (find_oldest_value_reg): If the replacement uses
multiple hard registers, check that all of them are in CLASS.
From-SVN: r75867
Jan Hubicka [Wed, 14 Jan 2004 12:00:22 +0000 (13:00 +0100)]
alias.c (get_alias_set): Initialize alias set to 0 when subset is impossible.
* alias.c (get_alias_set): Initialize alias set to 0 when subset is
impossible.
From-SVN: r75861
Kelley Cook [Wed, 14 Jan 2004 11:53:19 +0000 (11:53 +0000)]
Makefile.in: Define MAINT from --enable-maintainer-mode.
gcc/
2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Define MAINT from --enable-maintainer-mode.
gcc/ada/
2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.\
From-SVN: r75860
Jan Hubicka [Wed, 14 Jan 2004 11:34:37 +0000 (12:34 +0100)]
re PR c++/12850 (memory consumption for heavy template instantiations tripled since 3.3)
PR c++/12850
* pt.c (instantiate_decl): Do not increase function_depth.
From-SVN: r75859
Hartmut Penner [Wed, 14 Jan 2004 10:57:40 +0000 (10:57 +0000)]
* gcc/config/rs6000/rs6000.c (rs6000_stack_info)
Calculate always vrsave_mask if TARGET_ALTIVEC.
(rs6000_emit_prologue): Emit code for vrsave
only if TARGET_ALTIVEC_VRSAVE.
(rs6000_emit_epilogue): Likewise.
From-SVN: r75857
Eric Botcazou [Wed, 14 Jan 2004 09:49:31 +0000 (09:49 +0000)]
sparc.md (tie_add32): Fix pasto.
* config/sparc/sparc.md (tie_add32): Fix pasto.
(tie_add64): Likewise.
From-SVN: r75856
Eric Botcazou [Wed, 14 Jan 2004 09:48:30 +0000 (09:48 +0000)]
ChangeLog
From-SVN: r75855
Hartmut Penner [Wed, 14 Jan 2004 09:23:06 +0000 (09:23 +0000)]
* gcc.dg/ppc64-abi-1.c: New test.
From-SVN: r75852
Danny Smith [Wed, 14 Jan 2004 07:31:39 +0000 (07:31 +0000)]
* g++.dg/ext/attrib9.C: Add dg-warnings.
From-SVN: r75847
Danny Smith [Wed, 14 Jan 2004 07:27:07 +0000 (07:27 +0000)]
re PR c++/9021 ([win32] No exports possible when using a class pointer in an union)
PR c++/9021
PR c++/11005
* parser.c (cp_parser_elaborated_type_specifier): Warn about
attributes and discard.
* decl.c (xref_tag): Don't overwite existing attributes with
NULL_TREE.
From-SVN: r75846
Zdenek Dvorak [Wed, 14 Jan 2004 07:20:48 +0000 (08:20 +0100)]
* config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
From-SVN: r75845
Giovanni Bajo [Wed, 14 Jan 2004 04:54:24 +0000 (04:54 +0000)]
re PR c++/12335 (ICE when explicitly calling destructor)
PR c++/12335
* g++.dg/parse/dtor3.C: New test.
From-SVN: r75843
Giovanni Bajo [Wed, 14 Jan 2004 04:50:30 +0000 (04:50 +0000)]
re PR c++/12335 (ICE when explicitly calling destructor)
PR c++/12335
* parser.c (cp_parser_lookup_name): Return error_mark_node if there
is no destructor while looking up a BIT_NOT_EXPR.
From-SVN: r75842
Benjamin Kosnik [Wed, 14 Jan 2004 04:11:57 +0000 (04:11 +0000)]
ifstream_extract_float.cc: Add higher precision tests.
2
2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/performance/ifstream_extract_float.cc: Add higher
precision tests.
* testsuite/performance/ofstream_insert_float.cc: Same.
From-SVN: r75841
Kazu Hirata [Wed, 14 Jan 2004 03:10:51 +0000 (03:10 +0000)]
iq2000-protos.h: Fix comment formatting.
* config/iq2000/iq2000-protos.h: Fix comment formatting.
* config/iq2000/iq2000.c: Likewise.
* config/iq2000/iq2000.md: Likewise.
From-SVN: r75840
Ian Lance Taylor [Wed, 14 Jan 2004 03:02:35 +0000 (03:02 +0000)]
* cxxfilt.c: Remove unused file.
From-SVN: r75839
J. Brobecker [Wed, 14 Jan 2004 02:52:40 +0000 (02:52 +0000)]
dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
* dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
(subrange_type_die): Add handle for nameless subrange types.
From-SVN: r75838
Ian Lance Taylor [Wed, 14 Jan 2004 02:32:49 +0000 (02:32 +0000)]
re PR fortran/6491 ([g77] Logical operations error on logicals when using -fugly-logint)
PR fortran/6491
* expr.c (ffeexpr_reduce_): When handling AND, OR, and XOR, and
when using -fugly-logint, if both operands are logical, convert
the result back to logical.
(ffeexpr_reduced_ugly2log_): Add bothlogical parameter. Change
all callers. Convert logical operands to integer.
From-SVN: r75837
Kazu Hirata [Wed, 14 Jan 2004 02:01:05 +0000 (02:01 +0000)]
h8300-protos.h: Replace do_movsi with h8300_expand_movsi.
* config/h8300/h8300-protos.h: Replace do_movsi with
h8300_expand_movsi.
* config/h8300/h8300.c (do_movsi): Change to
h8300_expand_movsi.
* config/h8300/h8300.md (movsi): Replace do_movsi with
h8300_expand_movsi.
(movsf): Likewise.
From-SVN: r75836
Kazu Hirata [Wed, 14 Jan 2004 01:31:56 +0000 (01:31 +0000)]
h8300.c (dosize): Change to h8300_emit_stack_adjustment.
* config/h8300/h8300.c (dosize): Change to
h8300_emit_stack_adjustment. Update callers.
From-SVN: r75835
Kazu Hirata [Wed, 14 Jan 2004 00:52:26 +0000 (00:52 +0000)]
h8300.md (movstrictqi): Add an alternative with the source being post_inc.
* config/h8300/h8300.md (movstrictqi): Add an alternative with
the source being post_inc. Tighten the predicate for the
destination to register_operand.
(movstricthi): Likewise.
From-SVN: r75833
Kazu Hirata [Wed, 14 Jan 2004 00:49:05 +0000 (00:49 +0000)]
system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
* system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
* varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
* doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
From-SVN: r75832
GCC Administrator [Wed, 14 Jan 2004 00:23:09 +0000 (00:23 +0000)]
Daily bump.
From-SVN: r75829
Jan Hubicka [Tue, 13 Jan 2004 23:59:19 +0000 (00:59 +0100)]
Partial fix PR c++/12850
Partial fix PR c++/12850
* cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
at zero nest level.
* decl2.c (mark_used): Do not proactively instantiate templates
when compiling in unit-at-a-time or not optimizing.
* optimize.c (maybe_clone_body): Do not increase function depth.
From-SVN: r75823
Paolo Carlini [Tue, 13 Jan 2004 23:25:55 +0000 (23:25 +0000)]
locale-misc-inst.cc (__convert_from_v(long), [...]): Remove, unused.
2004-01-13 Paolo Carlini <pcarlini@suse.de>
* src/locale-misc-inst.cc (__convert_from_v(long),
__convert_from_v(unsigned long), __convert_from_v(long long),
__convert_from_v(unsigned long long)): Remove, unused.
From-SVN: r75822
Jan Hubicka [Tue, 13 Jan 2004 23:14:04 +0000 (00:14 +0100)]
lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost estimation.
* lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost
estimation.
* c-common.c (c_estimate_num_insns_1): Fix bug in MODIFY_EXPR
cost estimation.
* expr.c (MOVE_RATIO, CLEAR_RATIO): Move to ...
* expr.h (MOVE_RATIO, CLEAR_RATIO): ... here.
From-SVN: r75821
Fernando Nasser [Tue, 13 Jan 2004 22:51:26 +0000 (22:51 +0000)]
* java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. (push): Make sure push is performed at the top of the thread stack.
From-SVN: r75820
Daniel Jacobowitz [Tue, 13 Jan 2004 21:35:12 +0000 (21:35 +0000)]
cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE takes two parameters.
* cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
takes two parameters.
* cp-demint.c (cplus_demangle_fill_component): Likewise.
From-SVN: r75819
Bernardo Innocenti [Tue, 13 Jan 2004 21:23:36 +0000 (22:23 +0100)]
netbsd-elf.h (REGISTER_NAMES): Add missing "argptr" pseudo-register.
* config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
pseudo-register.
From-SVN: r75818
Thomas Fitzsimmons [Tue, 13 Jan 2004 20:58:33 +0000 (20:58 +0000)]
GtkTextAreaPeer.java, [...] (native create): Add width and height parameters.
2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(native create): Add width and height parameters. Set text
view's size request according to new parameters.
(create): Calculate text view size based on current font's
metrics and number of rows and columns. Set TextArea's font if
not already set. Call native create.
(getMinimumSize): Call minimumSize.
(getPreferredSize): Call preferredSize.
(getHScrollbarHeight): New method.
(getVScrollbarWidth): New method.
(minimumSize): Calculate minimum size based on scrollbar
visibility, scrollbar sizes, font metrics and number of rows and
columns.
(preferredSize): Likewise for preferred size.
(gtkTextGetSize): Remove method.
From-SVN: r75817
Thomas Fitzsimmons [Tue, 13 Jan 2004 20:54:46 +0000 (20:54 +0000)]
2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(initializeInsets): Remove method.
(GtkComponentPeer): Initialize insets field. Remove call to
initializeInsets.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
Remove method.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
Remove method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
(latestInsets): Remove field.
(native create): Add insets parameter. Call
window_get_frame_extents. Set the window's default size and
size request based on its frame extents.
(create): Initialize insets.
(postInsetsChangedEvent): New method.
(postConfigureEvent): Remove parameters top, left, bottom,
right. Remove insets-related logic.
(connectJObject): Handle property-notify-event.
(window_get_frame_extents, request_frame_extents,
property_notify_predicate, window_property_changed_cb): New
static functions.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Remove insets-related logic for configure
events.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
Update postConfigureEvent signature.
From-SVN: r75816
Devang Patel [Tue, 13 Jan 2004 20:12:35 +0000 (12:12 -0800)]
re PR debug/7078 (stabs are not generated correctly with c++ namespaces are used)
PR debug/7078
* dbxout.c (dbxout_symbol_name): Emit mangled names for
NAMESPACE_DECL memebers.
From-SVN: r75815
Andrew Pinski [Tue, 13 Jan 2004 20:10:07 +0000 (20:10 +0000)]
re PR c++/12709 (ICE with __FUNCTION__ and function-try-block)
2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/12709
* c-common.c (finish_fname_decls): Use the chain only if the
tree is an expr_stmt.
2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/12709
* g++.dg/parse/try-catch-1.C: New test.
From-SVN: r75814