OSDN Git Service
tromey [Mon, 29 Nov 2004 22:26:00 +0000 (22:26 +0000)]
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
Recognize --help and --version.
(usage): Mention gcj-dbtool. Added "out" argument.
(insist): Updated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91491
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 29 Nov 2004 21:06:11 +0000 (21:06 +0000)]
* tree-cfg.c (tree_node_can_be_shared): Fix typo'd error_mark_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91490
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 21:00:30 +0000 (21:00 +0000)]
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-*-*
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91489
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 29 Nov 2004 20:46:14 +0000 (20:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91488
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 29 Nov 2004 20:36:36 +0000 (20:36 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91487
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 20:30:08 +0000 (20:30 +0000)]
PR target/18488
* g++.dg/opt/vt1.C: Skip for mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91486
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 20:14:19 +0000 (20:14 +0000)]
PR target/18336
* gcc.dg/
20040813-1.c: Skip for mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91485
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 29 Nov 2004 20:11:49 +0000 (20:11 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91484
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 29 Nov 2004 20:10:18 +0000 (20:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91483
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Mon, 29 Nov 2004 20:08:17 +0000 (20:08 +0000)]
Add missing PR identifier for PR18712 fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91482
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [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.
Call VEC_safe_push instead of VEC_quick_push.
Update all users.
testsuite/ChangeLog
* gcc.c-torture/compile/pr18712.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91481
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 29 Nov 2004 18:54:06 +0000 (18:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91479
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 29 Nov 2004 18:42:26 +0000 (18:42 +0000)]
PR target/17224
* config/ia64/predicates.md (sdata_symbolic_operand): Deny offsets
outside the referenced object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91478
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 29 Nov 2004 18:01:07 +0000 (18:01 +0000)]
* cfg.c (flow_obstack): Remove.
(flow_firstobj): Likewise.
(init_flow): Remove all uses of flow_obstack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91477
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91476
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 29 Nov 2004 17:58:27 +0000 (17:58 +0000)]
* cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using
EDGE_COUNT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91475
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91474
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [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-ssa-live.c: Likewise.
* tree-ssa-loop-manip.c: Likewise.
* tree-ssa.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91473
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 29 Nov 2004 17:06:57 +0000 (17:06 +0000)]
* link.cc (link_symbol_table): Do not use intptr_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91472
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Mon, 29 Nov 2004 14:17:33 +0000 (14:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91470
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Nov 2004 13:29:54 +0000 (13:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91469
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 13:27:10 +0000 (13:27 +0000)]
PR middle-end/18164
* gcc.dg/pr18164.c: Add dg-options "". Correct typo in dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91468
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Nov 2004 12:59:53 +0000 (12:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91466
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 29 Nov 2004 11:35:34 +0000 (11:35 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91465
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91464
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 29 Nov 2004 09:33:10 +0000 (09:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91463
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 29 Nov 2004 06:24:30 +0000 (06:24 +0000)]
PR target/9571
* varasm.c (default_elf_select_section_1): Pass decl to named_section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91462
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 29 Nov 2004 02:21:28 +0000 (02:21 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91459
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91451
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 01:08:41 +0000 (01:08 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91450
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 01:03:15 +0000 (01:03 +0000)]
* tree-nested.c (check_for_nested_with_variably_modified): New.
(create_nesting_tree): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91449
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(is_escape_site): If RHS is a conversion between pointer and integer
types, this is an escape site.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91448
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(store_motion): Don't move store if any edge we'd want to move it
to is abnormal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91447
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 00:52:33 +0000 (00:52 +0000)]
* expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
non-zero lower bound.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91446
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 00:49:14 +0000 (00:49 +0000)]
* expr.c (categorize_ctor_elements_1, case STRING_CST): New case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91445
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Mon, 29 Nov 2004 00:37:54 +0000 (00:37 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91444
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 00:21:22 +0000 (00:21 +0000)]
PR target/18489
* g++.dg/rtti/tinfo1.C: In pattern for label definition ending
delimeter, match space and TAB as well as ":".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91443
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 29 Nov 2004 00:17:14 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91441
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 29 Nov 2004 00:17:06 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91440
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 29 Nov 2004 00:03:40 +0000 (00:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91438
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 28 Nov 2004 23:32:00 +0000 (23:32 +0000)]
lost ChangeLog entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91437
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 28 Nov 2004 23:29:41 +0000 (23:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91436
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 23:28:05 +0000 (23:28 +0000)]
PR target/18484
* g++.dg/abi/empty6.C: Xfail warning for mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91434
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sun, 28 Nov 2004 23:15:59 +0000 (23:15 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91433
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sun, 28 Nov 2004 23:10:28 +0000 (23:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91432
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 22:57:38 +0000 (22:57 +0000)]
PR target/18348
* gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91431
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 28 Nov 2004 22:41:53 +0000 (22:41 +0000)]
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
XMLDecoder tests which currently don't compile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91430
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 22:39:05 +0000 (22:39 +0000)]
PR target/18345
* gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91429
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 28 Nov 2004 22:28:13 +0000 (22:28 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91428
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 22:14:34 +0000 (22:14 +0000)]
PR target/18337
* gcc.dg/array-quals-1.c: Xfail for mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91427
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Sun, 28 Nov 2004 21:14:02 +0000 (21:14 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91426
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 2004 21:02:31 +0000 (21:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91425
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 20:52:19 +0000 (20:52 +0000)]
PR target/18334
* gcc.dg/cpp/assert4.c: Remove mmix assertion tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91424
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 28 Nov 2004 14:02:56 +0000 (14:02 +0000)]
* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91420
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sun, 28 Nov 2004 13:02:52 +0000 (13:02 +0000)]
PR rtl-optimization/18420
* simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91419
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 28 Nov 2004 12:02:37 +0000 (12:02 +0000)]
Forgot to add my own email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91418
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 28 Nov 2004 12:01:20 +0000 (12:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91417
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 09:48:27 +0000 (09:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91416
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Nov 2004 09:41:33 +0000 (09:41 +0000)]
* gcc.c-torture/execute/
20020227-1.x: Remove XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91415
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Nov 2004 09:38:43 +0000 (09:38 +0000)]
* config/ia64/ia64.md: Move all define_predicate's ...
* config/ia64/predicates.md: ... here. New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91414
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 28 Nov 2004 06:49:48 +0000 (06:49 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91411
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 28 Nov 2004 06:44:20 +0000 (06:44 +0000)]
* expr.c (build_expr_wfl): Only declare last_file and last_filenode
local static variables if not USE_MAPPED_LOCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91408
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 28 Nov 2004 06:06:26 +0000 (06:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91406
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 28 Nov 2004 02:16:57 +0000 (02:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91405
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 28 Nov 2004 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91403
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 28 Nov 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91402
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Sat, 27 Nov 2004 23:35:47 +0000 (23:35 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91400
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 27 Nov 2004 23:00:57 +0000 (23:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91399
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 27 Nov 2004 22:51:43 +0000 (22:51 +0000)]
PR target/16343
* config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
functions, strings and thread-local vars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91397
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 27 Nov 2004 22:45:24 +0000 (22:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91396
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 22:29:34 +0000 (22:29 +0000)]
* fold-const.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91395
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 27 Nov 2004 21:59:38 +0000 (21:59 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91394
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 20:54:33 +0000 (20:54 +0000)]
* fold-const.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91393
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 20:48:17 +0000 (20:48 +0000)]
* class.c, decl.c, expr.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91392
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 20:44:30 +0000 (20:44 +0000)]
* pt.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91391
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 27 Nov 2004 20:25:11 +0000 (20:25 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91390
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 27 Nov 2004 19:43:51 +0000 (19:43 +0000)]
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91389
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 27 Nov 2004 19:39:31 +0000 (19:39 +0000)]
* cpplib.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91388
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 27 Nov 2004 17:44:31 +0000 (17:44 +0000)]
2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
* include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91387
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91386
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 17:26:17 +0000 (17:26 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91385
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 27 Nov 2004 16:57:06 +0000 (16:57 +0000)]
PR pch/14940
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91381
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 27 Nov 2004 16:49:53 +0000 (16:49 +0000)]
* gcc.dg/loop-6.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91378
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 16:45:15 +0000 (16:45 +0000)]
* config/i386/linux.h: Fix a comment typo.
* doc/extend.texi: Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91377
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 27 Nov 2004 16:36:30 +0000 (16:36 +0000)]
* tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
are merged.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91376
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Sat, 27 Nov 2004 12:37:32 +0000 (12:37 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91375
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Nov 2004 11:21:31 +0000 (11:21 +0000)]
* config/i386/linux64.h (REG_NAME): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91374
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Nov 2004 10:13:56 +0000 (10:13 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91373
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 27 Nov 2004 09:55:16 +0000 (09:55 +0000)]
* gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined
on IRIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91372
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 27 Nov 2004 09:54:10 +0000 (09:54 +0000)]
* gcc.dg/mips-movcc-[123].c: Pass the ?: expressions to other
functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91371
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 27 Nov 2004 09:46:43 +0000 (09:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91370
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Nov 2004 09:39:00 +0000 (09:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91369
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 27 Nov 2004 09:34:06 +0000 (09:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91368
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 27 Nov 2004 05:19:33 +0000 (05:19 +0000)]
* lib/target-libpath.exp (restore_ld_library_path_env_vars):
Check existence of ld library path variables before unsetting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91367
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sat, 27 Nov 2004 01:53:46 +0000 (01:53 +0000)]
* Make-lang.in (ada/trans.o): Depend on $(EXPR_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91365
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 27 Nov 2004 01:06:55 +0000 (01:06 +0000)]
PR target/12769
* config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie
from rs6000_default_long_calls for libcalls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91362
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 27 Nov 2004 01:01:12 +0000 (01:01 +0000)]
* expmed.c (extract_bit_field): When extracting from non-integer mode,
force a SUBREG into a register because we may be taking a further
SUBREG of it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91361
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 27 Nov 2004 00:16:36 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91358
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 27 Nov 2004 00:16:29 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91357
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 26 Nov 2004 23:40:50 +0000 (23:40 +0000)]
* doc/contrib.texi (Tim Josling): Remove nesting quotation marks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91355
138bc75d-0d04-0410-961f-
82ee72b054a4