]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
19 years agoCorrect my erronous ChangeLog entries.
R. Kelley Cook [Mon, 29 Nov 2004 23:51:45 +0000 (23:51 +0000)] 
Correct my erronous ChangeLog entries.

From-SVN: r91496

19 years agolibtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to...
Kelley Cook [Mon, 29 Nov 2004 23:45:23 +0000 (23:45 +0000)] 
libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all.

2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>

* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case
from CVS libtool to always pass_all.

* libjava/configure, libffi/configure, libjava/configure,
libobjc/configure, boehm-gc/configure: Regenerated.

From-SVN: r91495

19 years ago* Makefile.in (REGS_H): Depend on $(BASIC_BLOCK_H).
Ben Elliston [Mon, 29 Nov 2004 23:29:50 +0000 (23:29 +0000)] 
* Makefile.in (REGS_H): Depend on $(BASIC_BLOCK_H).

From-SVN: r91494

19 years ago* g++.old-deja/g++.other/decl5.C: Remove remaining XFAILs.
Ben Elliston [Mon, 29 Nov 2004 23:24:30 +0000 (23:24 +0000)] 
* g++.old-deja/g++.other/decl5.C: Remove remaining XFAILs.

From-SVN: r91493

19 years agore PR c/18479 (__attribute__ ((visibility("default"))) in C causes internal compiler...
Andrew Pinski [Mon, 29 Nov 2004 23:11:30 +0000 (23:11 +0000)] 
re PR c/18479 (__attribute__ ((visibility("default"))) in C causes internal compiler error)

2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18479
        * gcc.dg/pr18479.c: New test.

2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18479
        * c-common.c (handle_visibility_attribute): When the type decl
        is really a identifier node, warn about being ignored and return.

From-SVN: r91492

19 years agoMain.java (main): Mention gcj-dbtool.
Tom Tromey [Mon, 29 Nov 2004 22:26:00 +0000 (22:26 +0000)] 
Main.java (main): Mention gcj-dbtool.

* gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
Recognize --help and --version.
(usage): Mention gcj-dbtool.  Added "out" argument.
(insist): Updated.

From-SVN: r91491

19 years ago* tree-cfg.c (tree_node_can_be_shared): Fix typo'd error_mark_node.
Richard Henderson [Mon, 29 Nov 2004 21:06:11 +0000 (13:06 -0800)] 
* tree-cfg.c (tree_node_can_be_shared): Fix typo'd error_mark_node.

From-SVN: r91490

19 years agore PR target/18490 (mmix-knuth-mmixware testsuite failure: g++.old-deja/g++.law/bit...
Hans-Peter Nilsson [Mon, 29 Nov 2004 21:00:30 +0000 (21:00 +0000)] 
re PR target/18490 (mmix-knuth-mmixware testsuite failure: g++.old-deja/g++.law/bit-fields2.C)

PR target/18490
* g++.old-deja/g++.law/bit-fields2.C: Reinstate skip for
mmix-knuth-mmixware.

* g++.old-deja/g++.other/local-alloc1.C: Reinstate skip for
cris-*-elf* cris-*-aout* mmix-*-*

From-SVN: r91489

19 years agocfgcleanup.c (outgoing_edges_match, [...]): Remove CASE_DROPS_THROUGH checks, it...
Steven Bosscher [Mon, 29 Nov 2004 20:46:14 +0000 (20:46 +0000)] 
cfgcleanup.c (outgoing_edges_match, [...]): Remove CASE_DROPS_THROUGH checks, it is never defined.

* cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge):
Remove CASE_DROPS_THROUGH checks, it is never defined.
* cfglyout.c (fixup_reorder_chain): Likewise.
* cfgrtl.c (rtl_verify_flow_info): Likewise.
* stmt.c (expand_case): Likewise.
* cfgbuild.c (make_edges): Likewise.  Also remove force_fallthru,
it is now always 0.
* system.h (CASE_DROPS_THROUGH): Poison.
* doc/md.texi (casesi): Remove documentation of CASE_DROPS_THROUGH.
* doc/tm.texi (casesi): Remove documentation of CASE_DROPS_THROUGH.

* config/v850/v850.h: Remove commented out CASE_DROPS_THROUGH.

From-SVN: r91488

19 years agore PR middle-end/18725 (another ICE on trivial invalid asm)
Andrew Pinski [Mon, 29 Nov 2004 20:36:36 +0000 (20:36 +0000)] 
re PR middle-end/18725 (another ICE on trivial invalid asm)

2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/18725
        * gcc.dg/pr18725.c: New test.

2004-11-29  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/18725
        * tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be
        shared always.

From-SVN: r91487

19 years agore PR target/18488 (mmix-knuth-mmixware testsuite failure: g++.dg/opt/vt1.C)
Hans-Peter Nilsson [Mon, 29 Nov 2004 20:30:08 +0000 (20:30 +0000)] 
re PR target/18488 (mmix-knuth-mmixware testsuite failure: g++.dg/opt/vt1.C)

PR target/18488
* g++.dg/opt/vt1.C: Skip for mmix-*-*.

From-SVN: r91486

19 years agore PR target/18336 (mmix-knuth-mmixware testsuite failure: gcc.dg/20040813-1.c)
Hans-Peter Nilsson [Mon, 29 Nov 2004 20:14:19 +0000 (20:14 +0000)] 
re PR target/18336 (mmix-knuth-mmixware testsuite failure: gcc.dg/20040813-1.c)

PR target/18336
* gcc.dg/20040813-1.c: Skip for mmix-*-*.

From-SVN: r91485

19 years agoFix typo
Mark Mitchell [Mon, 29 Nov 2004 20:11:49 +0000 (20:11 +0000)] 
Fix typo

From-SVN: r91484

19 years agore PR c++/18368 (C++ error message regression)
Mark Mitchell [Mon, 29 Nov 2004 20:10:18 +0000 (20:10 +0000)] 
re PR c++/18368 (C++ error message regression)

PR c++/18368
* parser.c (cp_parser_check_for_definition_in_return_type): Take
the defined type as a parameter, and inform the user about the
possibility of a missing semicolon.
(cp_parser_explicit_instantiation): Adjust call to
cp_parser_check_for_definition_in_return_type.
(cp_parser_init_declarator): Likewise.
(cp_parser_member_declaration): Likewise.

PR c++/18674
* cp-tree.def (TYPENAME_TYPE): Remove discussion of implicit
typename from comments.
* cp-tree.h (TYPENAME_IS_ENUM_P): New macro.
(TYPENAME_IS_CLASS_P): Likewise.
(make_typename_type): Change prototype.
* decl.c (struct_typename_info): New type.
(typename_compare): Expect the second argument to be a
typename_info, not a tree.
(build_typename_type): Add tag_type parameter.  Do not create a
new type until necessary.
(make_typename_type): Add tag_type parameter.
* error.c (TYPENAME_TYPE): Print tags other than "typename" if
appropriate.
* friend.c (make_friend_class): Adjust call to make_typename_type.
* parser.c (cp_parser_make_typename_type): Likewise.
(cp_parser_primary_expression): Adjust call to
cp_parser_lookup_name.
(cp_parser_unqualified_id): Adjust calls to cp_parser_class_name.
(cp_parser_class_or_namespace_name): Likewise.
(cp_parser_postfix_expression): Adjust calls to
make_typename_type.
(cp_parser_mem_initializer_id): Adjust calls to
cp_parser_class_name.
(cp_parser_type_parameter): Adjust calls to cp_parser_lookup_name.
(cp_parser_template_name): Likewise.
(cp_parser_template_argument): Likewise.
(cp_parser_type_name): Adjust call to cp_parser_class_name.
(cp_parser_elaborated_type_specifier): Adjust calls to
make_typename_type and cp_parser_lookup_name.
(cp_parser_namespace_name): Likewise.
(cp_parser_class_name): Replace type_p parameter with tag_type.
Adjust calls to make_typename_type and cp_parser_lookup_name.
(cp_parser_class_head): Adjust calls to cp_parser_class_name.
(cp_parser_base_specifier): Likewise.
(cp_parser_lookup_name): Replace is_type parameter with tag_type.
Adjust calls to make_typename_type and lookup_qualified_name.
(cp_parser_lookup_name_simple): Adjust call to
cp_parser_lookup_name.
(cp_parser_constructor_declarator_p): Adjust call to
cp_parser_class_name.
* pt.c (convert_template_argument): Adjust all to
make_typename_type.
(tsubst_decl): Do not pre-substitute the type of the declaration.
(tsubst): Hand off declarations more quickly.  Adjust call to
make_typename_type.

PR c++/18512
* parser.c (cp_parser_postfix_dot_deref_expression): Robustify.

PR c++/18674
* g++.old-deja/g++.brendan/crash16.C: Adjust error messages.
* g++.old-deja/g++.law/ctors5.C: Likewise.
* g++.old-deja/g++.other/crash25.C: Likewise.

PR c++/18674
* g++.dg/template/error16.C: New test.

PR c++/18512
* g++.dg/template/crash29.C: New test.

From-SVN: r91483

19 years agoAdd missing PR identifier for PR18712 fix.
Diego Novillo [Mon, 29 Nov 2004 20:08:17 +0000 (15:08 -0500)] 
Add missing PR identifier for PR18712 fix.

From-SVN: r91482

19 years agotree-into-ssa.c (insert_phi_nodes_for): Pass argument WORK_STACK by reference.
Diego Novillo [Mon, 29 Nov 2004 20:02:09 +0000 (20:02 +0000)] 
tree-into-ssa.c (insert_phi_nodes_for): Pass argument WORK_STACK by reference.

* tree-into-ssa.c (insert_phi_nodes_for): Pass argument
WORK_STACK by reference.
Call VEC_safe_push instead of VEC_quick_push.
Update all users.

testsuite/ChangeLog

* gcc.c-torture/compile/pr18712.c: New test.

From-SVN: r91481

19 years ago[multiple changes]
Joseph Myers [Mon, 29 Nov 2004 18:54:06 +0000 (18:54 +0000)] 
[multiple changes]

2004-11-29  Daniel Jacobowitz  <dan@codesourcery.com>

PR c/7544
* Makefile.in (c-lang.o): Update dependencies.
* c-lang.c: Include "c-pragma.h".
(finish_file): Call maybe_apply_pending_pragma_weaks.
* c-pragma.c (maybe_apply_pending_pragma_weaks): New function.
* c-pragma.h (maybe_apply_pending_pragma_weaks): New prototype.

cp:
2004-11-29  Daniel Jacobowitz  <dan@codesourcery.com>

* Make-lang.in (cp/decl2.o): Update dependencies.
* decl2.c (finish_file): Call maybe_apply_pending_pragma_weaks.

objc:
2004-11-29  Joseph Myers  <joseph@codesourcery.com>

* Make-lang.in (objc/objc-act.o): Update dependencies.
* objc-act.c (objc_finish_file): Call
maybe_apply_pending_pragma_weaks if not OBJCPLUS.

testsuite:
2004-11-29  Joseph Myers  <joseph@codesourcery.com>

* g++.dg/ext/weak1.C, gcc.dg/weak/weak-10.c, objc.dg/weak-1.m: New
tests.

From-SVN: r91479

19 years agore PR target/17224 (relocation truncated to fit: GPREL22)
Richard Henderson [Mon, 29 Nov 2004 18:42:26 +0000 (10:42 -0800)] 
re PR target/17224 (relocation truncated to fit: GPREL22)

        PR target/17224
        * config/ia64/predicates.md (sdata_symbolic_operand): Deny offsets
        outside the referenced object.

From-SVN: r91478

19 years agocfg.c (flow_obstack): Remove.
Kazu Hirata [Mon, 29 Nov 2004 18:01:07 +0000 (18:01 +0000)] 
cfg.c (flow_obstack): Remove.

* cfg.c (flow_obstack): Remove.
(flow_firstobj): Likewise.
(init_flow): Remove all uses of flow_obstack.

From-SVN: r91477

19 years agotree-cfg.c (tree_redirect_edge_and_branch): Call find_edge only when needed.
Kazu Hirata [Mon, 29 Nov 2004 18:00:01 +0000 (18:00 +0000)] 
tree-cfg.c (tree_redirect_edge_and_branch): Call find_edge only when needed.

* tree-cfg.c (tree_redirect_edge_and_branch): Call find_edge
only when needed.

From-SVN: r91476

19 years agocfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using EDGE_COUNT.
Kazu Hirata [Mon, 29 Nov 2004 17:58:27 +0000 (17:58 +0000)] 
cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using EDGE_COUNT.

* cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using
EDGE_COUNT.

From-SVN: r91475

19 years agocfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by simplifying edge manipula...
Kazu Hirata [Mon, 29 Nov 2004 17:56:19 +0000 (17:56 +0000)] 
cfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by simplifying edge manipulation.

* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by
simplifying edge manipulation.

From-SVN: r91474

19 years agotree-if-conv.c (replace_phi_with_cond_modify_expr): Use EDGE_PRED instead of PHI_ARG_...
Kazu Hirata [Mon, 29 Nov 2004 17:53:48 +0000 (17:53 +0000)] 
tree-if-conv.c (replace_phi_with_cond_modify_expr): Use EDGE_PRED instead of PHI_ARG_EDGE.

* tree-if-conv.c (replace_phi_with_cond_modify_expr): Use
EDGE_PRED instead of PHI_ARG_EDGE.
* tree-ssa-live.c: Likewise.
* tree-ssa-loop-manip.c: Likewise.
* tree-ssa.c: Likewise.

From-SVN: r91473

19 years ago* link.cc (link_symbol_table): Do not use intptr_t.
Eric Botcazou [Mon, 29 Nov 2004 17:06:57 +0000 (18:06 +0100)] 
* link.cc (link_symbol_table): Do not use intptr_t.

From-SVN: r91472

19 years agore PR c++/18652 (ICE on invalid redeclaration)
Kriang Lerdsuwanakij [Mon, 29 Nov 2004 14:17:33 +0000 (14:17 +0000)] 
re PR c++/18652 (ICE on invalid redeclaration)

PR c++/18652
* name-lookup.c (pushtag): Change return type to tree.
* cp-tree.h (pushtag): Adjust declaration.
* decl.c (xref_tag, start_enum): Use return value of pushtag.
* pt.c (push_template_decl_real): Return immediately if
pushdecl_namespace_level returns error_mark_node.

* g++.dg/lookup/crash6.C: New test.

From-SVN: r91470

19 years ago18654.cc: Use better names.
Paolo Carlini [Mon, 29 Nov 2004 13:29:54 +0000 (13:29 +0000)] 
18654.cc: Use better names.

2004-11-29  Paolo Carlini  <pcarlini@suse.de>

        * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use
better names.
        * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same.

From-SVN: r91469

19 years agore PR middle-end/18164 (ICE on trivial invalid asm)
Hans-Peter Nilsson [Mon, 29 Nov 2004 13:27:10 +0000 (13:27 +0000)] 
re PR middle-end/18164 (ICE on trivial invalid asm)

PR middle-end/18164
* gcc.dg/pr18164.c: Add dg-options "".  Correct typo in dg-error.

From-SVN: r91468

19 years agore PR libstdc++/18654 (Shrink-to-fit std::string::reserve() calls can reallocate...
Paolo Carlini [Mon, 29 Nov 2004 12:59:53 +0000 (12:59 +0000)] 
re PR libstdc++/18654 (Shrink-to-fit std::string::reserve() calls can reallocate & copy string contents unnecessarily)

2004-11-29  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/18654
* include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
do not round to pagesize.
* testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.

From-SVN: r91466

19 years agoWnested-externs-1.c, [...]: New tests.
Joseph Myers [Mon, 29 Nov 2004 11:35:34 +0000 (11:35 +0000)] 
Wnested-externs-1.c, [...]: New tests.

* gcc.dg/Wnested-externs-1.c, gcc.dg/decl-7.c, gcc.dg/decl-8.c,
gcc.dg/if-empty-1.c, gcc.dg/init-bad-1.c, gcc.dg/init-bad-2.c,
gcc.dg/init-bad-3.c, gcc.dg/parm-mismatch-1.c: New tests.

From-SVN: r91465

19 years agovarasm.c (default_elf_select_section_1): Only pass DECL_P decl to named_section.
Alan Modra [Mon, 29 Nov 2004 11:29:09 +0000 (11:29 +0000)] 
varasm.c (default_elf_select_section_1): Only pass DECL_P decl to named_section.

* varasm.c (default_elf_select_section_1): Only pass DECL_P decl
to named_section.

From-SVN: r91464

19 years agoopts.c (decode_options): Do not set max-inline-insns-rtl.
Nathan Sidwell [Mon, 29 Nov 2004 09:33:10 +0000 (09:33 +0000)] 
opts.c (decode_options): Do not set max-inline-insns-rtl.

* opts.c (decode_options): Do not set max-inline-insns-rtl.
(common_handle_option): Likewise.
* params.def (PARAM_MAX_INLINE_INSNS_RTL): Remove.
* params.h (MAX_INLINE_INSNS_RTL): Remove.
* doc/invoke.texi (max-inline-insns-rtl): Remove.

From-SVN: r91463

19 years agore PR target/9571 ([PPC] problems with 'const', -msdata=eabi and sections.)
Alan Modra [Mon, 29 Nov 2004 06:24:30 +0000 (16:54 +1030)] 
re PR target/9571 ([PPC] problems with 'const', -msdata=eabi and sections.)

PR target/9571
* varasm.c (default_elf_select_section_1): Pass decl to named_section.

From-SVN: r91462

19 years ago[multiple changes]
Andrew Pinski [Mon, 29 Nov 2004 02:21:28 +0000 (02:21 +0000)] 
[multiple changes]

2004-11-18  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/18164
        * gimplify.c (gimplify_asm_expr): If the length of an output operand
        is zero, do not process it, just let it go through.

2004-11-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/pr18164.c: New test.

From-SVN: r91459

19 years agoPR/18662, also backported from tree-cleanup-branch.
Richard Kenner [Mon, 29 Nov 2004 01:15:39 +0000 (01:15 +0000)] 
PR/18662, also backported from tree-cleanup-branch.

* tree-ssa-ccp.c (substitute_and_fold): If replaced anything,
always call maybe_clean_eh_stmt and modify_stmt.

Co-Authored-By: Diego Novillo <dnovillo@redhat.com>
From-SVN: r91451

19 years agotree-ssa-operands.c (build_ssa_operands, [...]): Ignore a VIEW_CONVERT_EXPR on LHS...
Richard Kenner [Mon, 29 Nov 2004 01:08:41 +0000 (01:08 +0000)] 
tree-ssa-operands.c (build_ssa_operands, [...]): Ignore a VIEW_CONVERT_EXPR on LHS when deciding if must or may def.

PR/18664
* tree-ssa-operands.c (build_ssa_operands, case MODIFY_EXPR):
Ignore a VIEW_CONVERT_EXPR on LHS when deciding if must or may def.
* tree-ssa-ccp.c (visit_assignment): If LHS is a VIEW_CONVERT_EXPR,
add an inverse VIEW_CONVERT_EXPR to const_val.

From-SVN: r91450

19 years agotree-nested.c (check_for_nested_with_variably_modified): New.
Richard Kenner [Mon, 29 Nov 2004 01:03:15 +0000 (01:03 +0000)] 
tree-nested.c (check_for_nested_with_variably_modified): New.

* tree-nested.c (check_for_nested_with_variably_modified): New.
(create_nesting_tree): Call it.

From-SVN: r91449

19 years agotree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove special code for assign...
Richard Kenner [Mon, 29 Nov 2004 00:59:25 +0000 (00:59 +0000)] 
tree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove special code for assigning to non-pointer.

* tree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove
special code for assigning to non-pointer.
(is_escape_site): If RHS is a conversion between pointer and integer
types, this is an escape site.

From-SVN: r91448

19 years agogcse.c (insert_store): Error if try to insert store on abnormal edge.
Richard Kenner [Mon, 29 Nov 2004 00:56:58 +0000 (00:56 +0000)] 
gcse.c (insert_store): Error if try to insert store on abnormal edge.

* gcse.c (insert_store): Error if try to insert store on abnormal edge.
(store_motion): Don't move store if any edge we'd want to move it
to is abnormal.

From-SVN: r91447

19 years agoexpr.c (expand_expr_real_1, [...]): Properly fold with non-zero lower bound.
Richard Kenner [Mon, 29 Nov 2004 00:52:33 +0000 (00:52 +0000)] 
expr.c (expand_expr_real_1, [...]): Properly fold with non-zero lower bound.

* expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
non-zero lower bound.

From-SVN: r91446

19 years ago* expr.c (categorize_ctor_elements_1, case STRING_CST): New case.
Richard Kenner [Mon, 29 Nov 2004 00:49:14 +0000 (00:49 +0000)] 
* expr.c (categorize_ctor_elements_1, case STRING_CST): New case.

From-SVN: r91445

19 years agore PR other/17594 (GCC does not error about unknown options which starts with a valid...
Matt Kraai [Mon, 29 Nov 2004 00:37:54 +0000 (00:37 +0000)] 
re PR other/17594 (GCC does not error about unknown options which starts with a valid option)

(gcc)

PR diagnostic/17594
* opts.c (find_opt): Require that the input match a switch exactly
or that the switch take a joined option to be interpreted as a
match for another language.

(gcc/testsuite)

* gcc.dg/funroll-loops-all.c: New.

From-SVN: r91444

19 years agore PR target/18489 (mmix-knuth-mmixware testsuite failure: g++.dg/rtti/tinfo1.C)
Hans-Peter Nilsson [Mon, 29 Nov 2004 00:21:22 +0000 (00:21 +0000)] 
re PR target/18489 (mmix-knuth-mmixware testsuite failure: g++.dg/rtti/tinfo1.C)

PR target/18489
* g++.dg/rtti/tinfo1.C: In pattern for label definition ending
delimeter, match space and TAB as well as ":".

From-SVN: r91443

19 years agoDaily bump.
GCC Administrator [Mon, 29 Nov 2004 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r91441.2

19 years agoDaily bump.
GCC Administrator [Mon, 29 Nov 2004 00:17:06 +0000 (00:17 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r91440.2

19 years agotimevar.def (TV_TREE_REDPHI): New timevar.
Andrew Pinski [Mon, 29 Nov 2004 00:03:40 +0000 (00:03 +0000)] 
timevar.def (TV_TREE_REDPHI): New timevar.

2004-11-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * timevar.def (TV_TREE_REDPHI): New timevar.
        * tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.

From-SVN: r91438

19 years agolost ChangeLog entry
Nathanael Nerode [Sun, 28 Nov 2004 23:32:00 +0000 (23:32 +0000)] 
lost ChangeLog entry

From-SVN: r91437

19 years agore PR preprocessor/17651 (Erroneous preprocessor output with -g when generating depen...
Nathanael Nerode [Sun, 28 Nov 2004 23:29:41 +0000 (23:29 +0000)] 
re PR preprocessor/17651 (Erroneous preprocessor output with -g when generating dependencies)

2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>

PR preprocessor/17651
* c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
flag_no_line_commands.
* c-ppoutput.c (pp_file_change): Remove now-redundant check of
flag_no_output.

From-SVN: r91436

19 years agore PR target/18484 (mmix-knuth-mmixware testsuite failure: g++.dg/abi/empty6.C)
Hans-Peter Nilsson [Sun, 28 Nov 2004 23:28:05 +0000 (23:28 +0000)] 
re PR target/18484 (mmix-knuth-mmixware testsuite failure: g++.dg/abi/empty6.C)

PR target/18484
* g++.dg/abi/empty6.C: Xfail warning for mmix-*-*.

From-SVN: r91434

19 years agoavr.c (avr_handle_fndecl_attribute): Generate a warning if the function name does...
Theodore A. Roth [Sun, 28 Nov 2004 23:15:59 +0000 (23:15 +0000)] 
avr.c (avr_handle_fndecl_attribute): Generate a warning if the function name does not begin with "__vector" and the...

* config/avr/avr.c (avr_handle_fndecl_attribute): Generate a
warning if the function name does not begin with "__vector" and the
function has either the 'signal' or 'interrupt' attribute.

From-SVN: r91433

19 years agoavr.c (avr_mcu_types): Add entries for atmega48...
Theodore A. Roth [Sun, 28 Nov 2004 23:10:28 +0000 (23:10 +0000)] 
avr.c (avr_mcu_types): Add entries for atmega48...

* config/avr/avr.c (avr_mcu_types): Add entries for atmega48,
atmega88, atmega168, attiny13, attiny2313, at90can128, atmega165,
atmega325, atmega3250, atmega645 and atmega6450.
* config/avr/avr.h (LINK_SPEC): Ditto.
(LIB_SPEC): Ditto.
(LIBGCC_SPEC): Ditto.
(CRT_BINUTILS_SPECS): Ditto.
* config/avr/t-avr (MULTILIB_MATCHES): Ditto.

From-SVN: r91432

19 years agore PR target/18348 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-H.c)
Hans-Peter Nilsson [Sun, 28 Nov 2004 22:57:38 +0000 (22:57 +0000)] 
re PR target/18348 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-H.c)

PR target/18348
* gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0".

From-SVN: r91431

19 years agomauve-libgcj: Disable SpinnerListModel...
Mark Wielaard [Sun, 28 Nov 2004 22:41:53 +0000 (22:41 +0000)] 
mauve-libgcj: Disable SpinnerListModel...

       * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
       XMLDecoder tests which currently don't compile.

From-SVN: r91430

19 years agore PR target/18345 (mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c)
Hans-Peter Nilsson [Sun, 28 Nov 2004 22:39:05 +0000 (22:39 +0000)] 
re PR target/18345 (mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c)

PR target/18345
* gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error.

From-SVN: r91429

19 years agore PR preprocessor/17610 (Empty #include statement halts gcc)
Nathanael Nerode [Sun, 28 Nov 2004 22:28:13 +0000 (22:28 +0000)] 
re PR preprocessor/17610 (Empty #include statement halts gcc)

(libcpp)
PR preprocessor/17610
* directives.c (do_include_common): Error out if an empty filename
is given for #include (or #include_next or #import).

(gcc)
PR preprocessor/17610
* testsuite/gcc.dg/cpp/empty-include.c: New testcase.

From-SVN: r91428

19 years agore PR target/18337 (mmix-knuth-mmixware testsuite failure: gcc.dg/array-quals-1.c)
Hans-Peter Nilsson [Sun, 28 Nov 2004 22:14:34 +0000 (22:14 +0000)] 
re PR target/18337 (mmix-knuth-mmixware testsuite failure: gcc.dg/array-quals-1.c)

PR target/18337
* gcc.dg/array-quals-1.c: Xfail for mmix-*-*.

From-SVN: r91427

19 years agodirect_io_2.f90: New test.
Bud Davis [Sun, 28 Nov 2004 21:14:02 +0000 (21:14 +0000)] 
direct_io_2.f90: New test.

2004-11-28  Bud Davis  <bdavis9659@comcast.net>

        * gcc/gcc/gfortran.dg/direct_io_2.f90: New test.

        * gcc/libgfortran/io/unix.c (mmap_alloc_w_a): check for a write
to a location less than the mapped area.

From-SVN: r91426

19 years agotree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
Jeff Law [Sun, 28 Nov 2004 21:02:31 +0000 (14:02 -0700)] 
tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.

        * tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
        (pass_maybe_create_global_var): New.
        * tree-pass.h (pass_maybe_create_global_var): Declare.
        * tree-optimize.c (init_tree_optimization_passes): Link in
        pass_maybe_create_global_var.

From-SVN: r91425

19 years agore PR target/18334 (mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/assert4.c)
Hans-Peter Nilsson [Sun, 28 Nov 2004 20:52:19 +0000 (20:52 +0000)] 
re PR target/18334 (mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/assert4.c)

PR target/18334
* gcc.dg/cpp/assert4.c: Remove mmix assertion tests.

From-SVN: r91424

19 years ago* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
Richard Kenner [Sun, 28 Nov 2004 14:02:56 +0000 (14:02 +0000)] 
* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.

From-SVN: r91420

19 years agore PR rtl-optimization/18420 (ICE compiling mesa at -O2)
Ulrich Weigand [Sun, 28 Nov 2004 13:02:52 +0000 (13:02 +0000)] 
re PR rtl-optimization/18420 (ICE compiling mesa at -O2)

PR rtl-optimization/18420
* simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.

From-SVN: r91419

19 years agoForgot to add my own email address
Steven Bosscher [Sun, 28 Nov 2004 12:02:37 +0000 (12:02 +0000)] 
Forgot to add my own email address

From-SVN: r91418

19 years agovax.h (CASE_DROPS_THROUGH): Don't define.
Steven Bosscher [Sun, 28 Nov 2004 12:01:20 +0000 (12:01 +0000)] 
vax.h (CASE_DROPS_THROUGH): Don't define.

* config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
* config/vax/vax.md (casesi): Emit a test-and-branch to make sure
that the case is in range, to make sure the casesi insn is always
in range and never falls through.
(casesi1): Add comment to explain why casesi never falls through.
Remove the unnamed special case casesi pattern.

From-SVN: r91417

19 years agore PR target/18331 (mmix-knuth-mmixware testsuite failure: execute/ieee/fp-cmp-8...
Hans-Peter Nilsson [Sun, 28 Nov 2004 09:48:27 +0000 (09:48 +0000)] 
re PR target/18331 (mmix-knuth-mmixware testsuite failure: execute/ieee/fp-cmp-8.c gcc.dg/20040625-1.c)

PR target/18331
* config/mmix/mmix.md ("*movdicc_real_reversible"): Rename from
"*movdicc_real".  Only match reversible comparisons.
("*movdicc_real_nonreversible"): New pattern, split from
"*movdicc_real".  Match only nonreversible comparisons.  Exclude
reversed alternatives.
("*movdfcc_real_reversible", "*movdfcc_real_nonreversible"):
Similar.

From-SVN: r91416

19 years ago* gcc.c-torture/execute/20020227-1.x: Remove XFAIL.
Richard Henderson [Sun, 28 Nov 2004 09:41:33 +0000 (01:41 -0800)] 
* gcc.c-torture/execute/20020227-1.x: Remove XFAIL.

From-SVN: r91415

19 years agoia64.md: Move all define_predicate's ...
Richard Henderson [Sun, 28 Nov 2004 09:38:43 +0000 (01:38 -0800)] 
ia64.md: Move all define_predicate's ...

        * config/ia64/ia64.md: Move all define_predicate's ...
        * config/ia64/predicates.md: ... here.  New file.

From-SVN: r91414

19 years agojcf-parse.c (set_source_filename): Improvement to Andrew's fix...
Per Bothner [Sun, 28 Nov 2004 06:49:48 +0000 (22:49 -0800)] 
jcf-parse.c (set_source_filename): Improvement to Andrew's fix...

* jcf-parse.c (set_source_filename):  Improvement to Andrew's fix:
Fix fencepost error in 'i', which got executed one too many times.
Also, fold memcpy into explicit loop, as originally intended.
Also, free temporary 'buf' which otherwise leaks.

From-SVN: r91411

19 years agoexpr.c (build_expr_wfl): Only declare last_file and last_filenode local static variab...
Per Bothner [Sun, 28 Nov 2004 06:44:20 +0000 (22:44 -0800)] 
expr.c (build_expr_wfl): Only declare last_file and last_filenode local static variables if...

* expr.c (build_expr_wfl): Only declare last_file and last_filenode
local static variables if not USE_MAPPED_LOCATION.

From-SVN: r91408

19 years agore PR bootstrap/18142 ("Unknown pseudo-op: .machine" compiling darwin-crt2.c)
Per Bothner [Sun, 28 Nov 2004 06:06:26 +0000 (22:06 -0800)] 
re PR bootstrap/18142 ("Unknown pseudo-op: .machine" compiling darwin-crt2.c)

PR bootstrap/18142
Re-applied following, with two modifications: add a URL for the
fixed cctools; only exit if $build = $target.

2004-10-18  Kelley Cook  <kcook@gcc.gnu.org>
* configure.ac (powerpc-*-darwin*): Require assembler to support
.machine directive.
* configure: Regenerate.

From-SVN: r91406

19 years agobuiltin-choose-expr-2.c, [...]: New tests.
Joseph Myers [Sun, 28 Nov 2004 02:16:57 +0000 (02:16 +0000)] 
builtin-choose-expr-2.c, [...]: New tests.

* gcc.dg/builtin-choose-expr-2.c, gcc.dg/cast-1.c,
gcc.dg/cast-2.c, gcc.dg/cast-3.c, gcc.dg/format/opt-1.c,
gcc.dg/format/opt-2.c, gcc.dg/format/opt-3.c,
gcc.dg/format/opt-4.c, gcc.dg/format/opt-5.c,
gcc.dg/format/opt-6.c, gcc.dg/pointer-arith-5.c,
gcc.dg/pointer-arith-6.c, gcc.dg/pointer-arith-7.c,
gcc.dg/pointer-arith-8.c: New tests.

From-SVN: r91405

19 years agoDaily bump.
GCC Administrator [Sun, 28 Nov 2004 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r91403.2

19 years agoDaily bump.
GCC Administrator [Sun, 28 Nov 2004 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r91402.2

19 years agore PR libfortran/18364 (endfile does not truncate file)
Bud Davis [Sat, 27 Nov 2004 23:35:47 +0000 (23:35 +0000)] 
re PR libfortran/18364 (endfile does not truncate file)

2004-11-27  Bud Davis  <bdavis9659@comcast.net>

        PR fortran/18364
        * gfortran.dg/endfile.f90: New test.
        *  io/endfile.c (st_endfile): flush the stream before truncating.

From-SVN: r91400

19 years agore PR target/16800 (PowerPC - Unnecessary rldicl)
David Edelsohn [Sat, 27 Nov 2004 23:00:57 +0000 (23:00 +0000)] 
re PR target/16800 (PowerPC - Unnecessary rldicl)

        PR target/16800
        * config/rs6000/rs6000.c (rs6000_rtx_costs): Improve accuracy of
        EQ, GTU, and LTU costs.  Add costs for GT, LT, and UNORDERED.
        Distinguish between SImode and DImode CONST_INT.

From-SVN: r91399

19 years agore PR target/16343 (invalid code when using -meabi -msdata=eabi)
Andreas Fischer [Sat, 27 Nov 2004 22:51:43 +0000 (22:51 +0000)] 
re PR target/16343 (invalid code when using -meabi -msdata=eabi)

PR target/16343
* config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
functions, strings and thread-local vars.

Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
From-SVN: r91397

19 years agors6000.h (WORLD_SAVE_P): Define.
Alan Modra [Sat, 27 Nov 2004 22:45:24 +0000 (22:45 +0000)] 
rs6000.h (WORLD_SAVE_P): Define.

* config/rs6000/rs6000.h (WORLD_SAVE_P): Define.
* config/rs6000/darwin.h (WORLD_SAVE_P): Define.
* config/rs6000/rs6000.c (compute_save_world_info): Use WORLD_SAVE_P
to allow non-darwin ABIs to optimize away code.
(rs6000_emit_prologue, rs6000_emit_epilogue): Likewise.

From-SVN: r91396

19 years ago* fold-const.c: Fix a comment typo.
Kazu Hirata [Sat, 27 Nov 2004 22:29:34 +0000 (22:29 +0000)] 
* fold-const.c: Fix a comment typo.

From-SVN: r91395

19 years agointernal.h: Replace all uses of uchar with unsigned char.
Roger Sayle [Sat, 27 Nov 2004 21:59:38 +0000 (21:59 +0000)] 
internal.h: Replace all uses of uchar with unsigned char.

* internal.h: Replace all uses of uchar with unsigned char.
* include/cpp-id-data.h: Likewise.  Guard typedef of uchar
with !IN_GCC, so uchar is only defined whilst building libcpp.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r91394

19 years ago* fold-const.c: Fix a comment typo.
Kazu Hirata [Sat, 27 Nov 2004 20:54:33 +0000 (20:54 +0000)] 
* fold-const.c: Fix a comment typo.

From-SVN: r91393

19 years ago* class.c, decl.c, expr.c: Fix comment typos.
Kazu Hirata [Sat, 27 Nov 2004 20:48:17 +0000 (20:48 +0000)] 
* class.c, decl.c, expr.c: Fix comment typos.

From-SVN: r91392

19 years ago* pt.c: Fix a comment typo.
Kazu Hirata [Sat, 27 Nov 2004 20:44:30 +0000 (20:44 +0000)] 
* pt.c: Fix a comment typo.

From-SVN: r91391

19 years agore PR libstdc++/18690 (tr1/utility is broken on darwin)
Paolo Carlini [Sat, 27 Nov 2004 20:25:11 +0000 (20:25 +0000)] 
re PR libstdc++/18690 (tr1/utility is broken on darwin)

2004-11-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/18690
* include/tr1/utility (get(pair), get(const pair)): Change
occurrences of _I to _Int.

From-SVN: r91390

19 years ago* gcc.pot: Regenerate.
Joseph Myers [Sat, 27 Nov 2004 19:43:51 +0000 (19:43 +0000)] 
* gcc.pot: Regenerate.

From-SVN: r91389

19 years ago* cpplib.pot: Regenerate.
Joseph Myers [Sat, 27 Nov 2004 19:39:31 +0000 (19:39 +0000)] 
* cpplib.pot: Regenerate.

From-SVN: r91388

19 years agogc_config.h.in: Add comment.
Bryce McKinlay [Sat, 27 Nov 2004 17:44:31 +0000 (17:44 +0000)] 
gc_config.h.in: Add comment.

2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>

        * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.

From-SVN: r91387

19 years agobb-reorder.c (find_traces_1_round): Speed up by using EDGE_COUNT instead of FOR_EACH_...
Kazu Hirata [Sat, 27 Nov 2004 17:33:11 +0000 (17:33 +0000)] 
bb-reorder.c (find_traces_1_round): Speed up by using EDGE_COUNT instead of FOR_EACH_EDGE.

* bb-reorder.c (find_traces_1_round): Speed up by using
EDGE_COUNT instead of FOR_EACH_EDGE.

From-SVN: r91386

19 years agotree.c (operand_equal_for_phi_arg_p): New.
Kazu Hirata [Sat, 27 Nov 2004 17:26:17 +0000 (17:26 +0000)] 
tree.c (operand_equal_for_phi_arg_p): New.

* tree.c (operand_equal_for_phi_arg_p): New.
* tree.h: Add a prototype for operand_equal_for_phi_arg_p.
* tree-cfg.c, tree-ssa-dom.c, tree-ssa-phiopt.c, tree-ssa.c:
Replace operand_equal_p with operand_for_phi_arg_p
appropriately.

From-SVN: r91385

19 years agore PR pch/14940 (PCH largefile test fails on various platforms)
John David Anglin [Sat, 27 Nov 2004 16:57:06 +0000 (16:57 +0000)] 
re PR pch/14940 (PCH largefile test fails on various platforms)

PR pch/14940
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.

From-SVN: r91381

19 years ago* gcc.dg/loop-6.c: New test.
Falk Hueffner [Sat, 27 Nov 2004 16:49:53 +0000 (17:49 +0100)] 
* gcc.dg/loop-6.c: New test.

From-SVN: r91378

19 years agolinux.h: Fix a comment typo.
Kazu Hirata [Sat, 27 Nov 2004 16:45:15 +0000 (16:45 +0000)] 
linux.h: Fix a comment typo.

* config/i386/linux.h: Fix a comment typo.
* doc/extend.texi: Fix a typo.

From-SVN: r91377

19 years agotree-cfg.c (cleanup_tree_cfg): Also return true if blocks are merged.
Jeff Law [Sat, 27 Nov 2004 16:36:30 +0000 (09:36 -0700)] 
tree-cfg.c (cleanup_tree_cfg): Also return true if blocks are merged.

        * tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
        are merged.

From-SVN: r91376

19 years agolink.cc (ensure_class_linked): Conditionally compile _Jv_IsInterpretedClass on INTERP...
Andrew Haley [Sat, 27 Nov 2004 12:37:32 +0000 (12:37 +0000)] 
link.cc (ensure_class_linked): Conditionally compile _Jv_IsInterpretedClass on INTERPRETER.

2004-11-27  Andrew Haley  <aph@redhat.com>

* link.cc (ensure_class_linked): Conditionally compile
_Jv_IsInterpretedClass on INTERPRETER.
(print_class_loaded): Likewise.
(wait_for_state): Likewise.

* include/jvm.h (ROUND): Move to here from include/java-interp.h.
* include/java-interp.h (ROUND): Remove.

From-SVN: r91375

19 years ago* config/i386/linux64.h (REG_NAME): Define.
Jakub Jelinek [Sat, 27 Nov 2004 11:21:31 +0000 (12:21 +0100)] 
* config/i386/linux64.h (REG_NAME): Define.

From-SVN: r91374

19 years agofold-const.c (extract_muldiv_1): If ctype is unsigned and type signed...
Jakub Jelinek [Sat, 27 Nov 2004 10:13:56 +0000 (11:13 +0100)] 
fold-const.c (extract_muldiv_1): If ctype is unsigned and type signed...

* fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
unsigned and type signed, build ABS_EXPR with signed_type (ctype)
and only afterwards convert to ctype.

* gcc.c-torture/execute/20041126-1.c: New test.

From-SVN: r91373

19 years agomips-args-1.c: Don't expect _R3000 or _R4000 to be defined on IRIX.
Richard Sandiford [Sat, 27 Nov 2004 09:55:16 +0000 (09:55 +0000)] 
mips-args-1.c: Don't expect _R3000 or _R4000 to be defined on IRIX.

* gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined
on IRIX.

From-SVN: r91372

19 years agomips-movcc-[123].c: Pass the ?: expressions to other functions.
Richard Sandiford [Sat, 27 Nov 2004 09:54:10 +0000 (09:54 +0000)] 
mips-movcc-[123].c: Pass the ?: expressions to other functions.

* gcc.dg/mips-movcc-[123].c: Pass the ?: expressions to other
functions.

From-SVN: r91371

19 years agomips-protos.h (function_arg_boundary): Declare.
Richard Sandiford [Sat, 27 Nov 2004 09:46:43 +0000 (09:46 +0000)] 
mips-protos.h (function_arg_boundary): Declare.

* config/mips/mips-protos.h (function_arg_boundary): Declare.
* config/mips/mips.h (PARM_BOUNDARY): Simplify definition.
(STACK_BOUNDARY, MIPS_STACK_ALIGN): Likewise.
(FUNCTION_ARG_BOUNDARY): Use new function_arg_boundary function.
* config/mips/mips.c (function_arg_boundary): New function.
Impose a maximum alignment of STACK_BOUNDARY.

From-SVN: r91370

19 years agore PR rtl-optimization/17825 (ICE in reg_bitfield_target_p)
Jakub Jelinek [Sat, 27 Nov 2004 09:39:00 +0000 (10:39 +0100)] 
re PR rtl-optimization/17825 (ICE in reg_bitfield_target_p)

PR rtl-optimization/17825
* combine.c (subst): Ignore STRICT_LOW_PART no matter if REG_P (new)
or not.

* gcc.c-torture/compile/20041119-1.c: New test.

From-SVN: r91369

19 years ago2.cc: Fix typo.
Paolo Carlini [Sat, 27 Nov 2004 09:34:06 +0000 (09:34 +0000)] 
2.cc: Fix typo.

2004-11-27  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.

* testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY.
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
* testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise.

From-SVN: r91368

19 years agotarget-libpath.exp (restore_ld_library_path_env_vars): Check existence of ld library...
John David Anglin [Sat, 27 Nov 2004 05:19:33 +0000 (05:19 +0000)] 
target-libpath.exp (restore_ld_library_path_env_vars): Check existence of ld library path variables before unsetting.

* lib/target-libpath.exp (restore_ld_library_path_env_vars):
Check existence of ld library path variables before unsetting.

From-SVN: r91367

19 years ago* Make-lang.in (ada/trans.o): Depend on $(EXPR_H).
Andreas Schwab [Sat, 27 Nov 2004 01:53:46 +0000 (01:53 +0000)] 
* Make-lang.in (ada/trans.o): Depend on $(EXPR_H).

From-SVN: r91365