- 29 Nov, 2004 40 commits
-
-
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
Andrew Pinski committed -
* 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
Tom Tromey committed -
From-SVN: r91490
Richard Henderson committed -
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
Hans-Peter Nilsson committed -
* 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
Steven Bosscher committed -
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
Andrew Pinski committed -
PR target/18488 * g++.dg/opt/vt1.C: Skip for mmix-*-*. From-SVN: r91486
Hans-Peter Nilsson committed -
PR target/18336 * gcc.dg/20040813-1.c: Skip for mmix-*-*. From-SVN: r91485
Hans-Peter Nilsson committed -
From-SVN: r91484
Mark Mitchell committed -
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
Mark Mitchell committed -
From-SVN: r91482
Diego Novillo committed -
* 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
Diego Novillo committed -
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
Joseph Myers committed -
PR target/17224 * config/ia64/predicates.md (sdata_symbolic_operand): Deny offsets outside the referenced object. From-SVN: r91478
Richard Henderson committed -
* cfg.c (flow_obstack): Remove. (flow_firstobj): Likewise. (init_flow): Remove all uses of flow_obstack. From-SVN: r91477
Kazu Hirata committed -
* tree-cfg.c (tree_redirect_edge_and_branch): Call find_edge only when needed. From-SVN: r91476
Kazu Hirata committed -
* cfgrtl.c (rtl_tidy_fallthru_edge): Speed up by using EDGE_COUNT. From-SVN: r91475
Kazu Hirata committed -
* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Speed up by simplifying edge manipulation. From-SVN: r91474
Kazu Hirata committed -
* 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
Kazu Hirata committed -
From-SVN: r91472
Eric Botcazou committed -
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
Kriang Lerdsuwanakij committed -
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
Paolo Carlini committed -
PR middle-end/18164 * gcc.dg/pr18164.c: Add dg-options "". Correct typo in dg-error. From-SVN: r91468
Hans-Peter Nilsson committed -
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
Paolo Carlini committed -
* 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
Joseph Myers committed -
* varasm.c (default_elf_select_section_1): Only pass DECL_P decl to named_section. From-SVN: r91464
Alan Modra committed -
* 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
Nathan Sidwell committed -
PR target/9571 * varasm.c (default_elf_select_section_1): Pass decl to named_section. From-SVN: r91462
Alan Modra committed -
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
Andrew Pinski committed -
* 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
Richard Kenner committed -
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
Richard Kenner committed -
* tree-nested.c (check_for_nested_with_variably_modified): New. (create_nesting_tree): Call it. From-SVN: r91449
Richard Kenner committed -
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
Richard Kenner committed -
* 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
Richard Kenner committed -
* expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with non-zero lower bound. From-SVN: r91446
Richard Kenner committed -
From-SVN: r91445
Richard Kenner committed -
(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
Matt Kraai committed -
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
Hans-Peter Nilsson committed -
[[Split portion of a mixed commit.]] From-SVN: r91441.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r91440.2
GCC Administrator committed
-