- 21 Oct, 2010 3 commits
-
-
paolo authored
2010-10-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/46117 * call.c (add_function_candidate): Don't use TREE_VALUE on null parmnode. /testsuite 2010-10-21 Paolo Carlini <paolo.carlini@oracle.com> PR c++/46117 * g++.dg/parse/crash57.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165794 138bc75d-0d04-0410-961f-82ee72b054a4
-
jamborm authored
PR tree-optimization/45875 * tree.c (get_binfo_at_offset): Remove initial zero offset test. * testsuite/g++.dg/ipa/pr45875.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165780 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/46111 * tree-parloops.c (take_address_of): Re-organize for MEM_REF. * g++.dg/torture/pr46111.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165765 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 20 Oct, 2010 3 commits
-
-
ro authored
PR c++/46024 * inclhack.def (solaris_sys_va_list): New fix. * fixincl.x: Regenerate. * tests/base/sys/va_list.h: New test. gcc/testsuite: PR c++/46024 * g++.dg/warn/miss-format-1.C: Enclose dg-error target list in braces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165731 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* parser.c (cp_convert_range_for): Call cp_finish_decl instead of finish_expr_stmt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165726 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR lto/45667 * lto-streamer-out.c (output_gimple_stmt): Fix typo. * tree-cfg.c (verify_gimple_call): Properly get the call fndecl. (verify_gimple_assign_single): Disable ADDR_EXPR type check when in LTO. * g++.dg/lto/20101020-1_0.h: New testcase. * g++.dg/lto/20101020-1_0.C: Likewise. * g++.dg/lto/20101020-1_1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165725 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 19 Oct, 2010 1 commit
-
-
paolo authored
2010-10-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/46046 * pt.c (add_to_template_args): Check extra_args for error_mark_node. (coerce_template_parms): Likewise for args. /testsuite 2010-10-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/46046 * g++.dg/template/crash104.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165708 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 18 Oct, 2010 1 commit
-
-
rguenth authored
PR lto/44950 * tree.c (free_lang_data_in_decl): As we clear TYPE_METHODS also clear references to entries of it. * g++.dg/lto/20101015-2_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165629 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 16 Oct, 2010 1 commit
-
-
hubicka authored
* g++.dg/torture/pr44206.C: New. * ipa.c (cgraph_remove_unreachable_nodes): Cleanup; check existence of refrences before removing the function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165569 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 Oct, 2010 6 commits
-
-
davidxl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165530 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* tree.c (cp_build_qualified_type_real): Don't reuse a variant with a different typedef variant of the element type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165521 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* tree.c (free_lang_data_in_decl): Clear DECL_INITIAL for automatic variables again. * g++.dg/lto/20101015-1_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165511 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR lto/45957 * tree.c (free_lang_data_in_decl): Do not clear DECL_INITIAL of vars. * g++.dg/lto/20101014-1_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165502 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
* g++.dg/torture/stackalign/eh-vararg-2.C: Fix dg-options for arm-eabi targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165498 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
PR middle-end/45621 * g++.dg/lto/pr45621.h : New. * g++.dg/lto/pr45621_0.C: New. * g++.dg/lto/pr45621_1.C: New. * cgraph.c (cgraph_update_edges_for_call_stmt_node): When new call is redirected to clone, be happy. * cgraph.h (cgraph node): Enable former_clone_of unconditinally. * cgraphunit.c (verify_cgraph_node, cgraph_materialize_clone): Handle former_clone_of unconditinally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165492 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 14 Oct, 2010 3 commits
-
-
rguenth authored
PR lto/45382 * g++.dg/lto/20101014-2_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165471 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR lto/44561 * tree.def (NULLPTR_TYPE): New tree code. * dbxout.c (dbxout_type): Handle NULLPTR_TYPE. * dwarf2out.c (is_base_type): Likewise. (gen_type_die_with_usage): Likewise. * sdbout.c (plain_type_1): Likewise. * tree.c (build_int_cst_wide): Likewise. * gimple.c (gimple_types_compatible_p_1): NULLPTR_TYPE types are equal. cp/ * cp-tree.h (NULLPTR_TYPE_P): Adjust. * decl.c (cxx_init_decl_processing): Build a NULLPTR_TYPE node, use build_int_cst. * error.c (dump_type): Handle NULLPTR_TYPE. (dump_type_prefix): Likewise. (dump_type_suffix): Likewise. * mangle.c (write_type): Likewise. * name-lookup.c (arg_assoc_type): Likewise. * rtti.c (typeinfo_in_lib_p): Likewise. * pt.c (tsubst): Likewise. * g++.dg/lto/20101010-3_0.C: New testcase. * g++.dg/lto/20101010-4_0.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165462 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* class.c (fixup_attribute_variants): New fn. * cp-tree.h: Declare it. * pt.c (instantiate_class_template): Call it. * semantics.c (begin_class_definition): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165443 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Oct, 2010 2 commits
-
-
rguenth authored
PR tree-optimization/45788 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Delay EH update until fixup-cfg. * g++.dg/pr45788.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165425 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR middle-end/45874 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Fixup the CFG when EH was fixed up. * g++.dg/torture/pr45874.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165416 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 12 Oct, 2010 1 commit
-
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165393 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 11 Oct, 2010 2 commits
-
-
jamborm authored
PR middle-end/45699 * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Choose among thunks. * testsuite/g++.dg/torture/pr45699.C: New test. * testsuite/g++.dg/otr-fold-1.C: Adjusted. * testsuite/g++.dg/otr-fold-1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165327 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
PR lto/45960 * pt.c (tsubst_copy) [INTEGER_CST]: Instantiate the type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165306 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 10 Oct, 2010 2 commits
-
-
ktietz authored
* g++.dg/ext/dllexport-MI1.C: Enable for x86_64 mingw and adjust -export symbol scanning. * g++.dg/ext/dllexport1.C: Likewise. * g++.dg/ext/dllexport3.C: Likewise. * gcc.dg/dll-3.c: Likewise. * gcc.dg/dll-4.c: Likewise. * gcc.dg/dll-5.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165261 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
instead of tree_profile dump file. * g++.dg/tree-prof/inline_mismatch_args.C: Cleanup einline dump file. * gfortran.dg/derived_array_intrinisics_1.f90: Cleanup original dump file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165259 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 09 Oct, 2010 1 commit
-
-
rguenth authored
PR lto/45947 * tree.c (free_lang_data_in_cgraph): Properly walk the varpool. * g++.dg/lto/20101009-1_0.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165234 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 06 Oct, 2010 1 commit
-
-
ebotcazou authored
* typeck.c (cp_build_addr_expr_1): Add check for incomplete types in code folding offsetof-like computations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165031 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 05 Oct, 2010 2 commits
-
-
rguenth authored
* value-prof.c (gimple_divmod_fixed_value): Work on SSA form. (gimple_mod_pow2): Likewise. (gimple_mod_subtract): Likewise. (gimple_ic): Likewise. (gimple_stringop_fixed_value): Likewise. * tree-profile.c (tree_init_edge_profiler): Mark profile functions nothrow and leaf. (add_abnormal_goto_call_edges): Remove. (tree_gen_edge_profiler): Work on SSA form. (tree_gen_ic_profiler): Likewise. Simplify. (do_tree_profiling): Update SSA form. (pass_tree_profile): Remove. (do_tree_profiling): Likewise. (gate_tree_profile_ipa): New function. (pass_ipa_tree_profile): New. (tree_profiling): Re-write as IPA pass. Properly drop const/pure state of instrumented functions. * passes.c (init_optimization_passes): Remove early non-SSA inlining. Move profiling after early optimizations. * ipa-inline.c (cgraph_gate_ipa_early_inlining): Remove. (pass_ipa_early_inline): Likewise. * tree-pass.h (pass_ipa_early_inline): Remove. (pass_tree_profile): Likewise. (pass_ipa_tree_profile): Declare. * gcc.dg/tree-prof/val-prof-1.c: Adjust. * gcc.dg/tree-prof/val-prof-2.c: Likewise. * gcc.dg/tree-prof/val-prof-3.c: Likewise. * gcc.dg/tree-prof/val-prof-4.c: Likewise. * gcc.dg/tree-prof/val-prof-5.c: Likewise. * gcc.dg/tree-prof/val-prof-7.c: Likewise. * gcc.dg/tree-prof/stringop-1.c: Likewise. * gcc.dg/tree-prof/stringop-2.c: Likewise. * gcc.dg/tree-prof/ic-misattribution-1.c: Likewise. * gcc.dg/tree-prof/indir-call-prof.c: Likewise. * gcc.dg/tree-prof/update-loopch.c: Likewise. * g++.dg/tree-prof/indir-call-prof.C: Likewise. * g++.dg/tree-prof/inline_mismatch_args.C: Likewise. * gcc.dg/tree-prof/tracer-1.c: Likewise. * gcc.dg/tree-ssa/inline-4.c: Likewise. * gcc.dg/tree-ssa/inline-3.c: Likewise. * gcc.dg/tree-ssa/20080530.c: Likewise. * g++.dg/tree-ssa/inline-3.C: Likewise. * g++.dg/tree-ssa/inline-1.C: Likewise. * g++.dg/tree-ssa/inline-2.C: Likewise. * gcc.dg/profile-dir-1.c: Likewise. * gcc.dg/profile-dir-2.c: Likewise. * gcc.dg/profile-dir-3.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164986 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR middle-end/45877 * gimple-fold.c (gimplify_and_update_call_from_tree): Handle case where gimplification optimizes away the stmt. * g++.dg/torture/pr45877.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164984 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 04 Oct, 2010 1 commit
-
-
jamborm authored
PR tree-optimization/45572 * ipa-prop.c (ipa_make_edge_direct_to_target): Call ipa_check_create_node_params. * ipa-inline.c (add_new_edges_to_heap): Do not insert inlined edges. * testsuite/g++.dg/ipa/pr45572-1.C: New test. * testsuite/g++.dg/ipa/pr45572-2.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164930 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 03 Oct, 2010 3 commits
-
-
hjl authored
gcc/ 2010-10-03 H.J. Lu <hongjiu.lu@intel.com> * tree-vect-data-refs.c (vect_analyze_data_ref_access): Revert revision 164914. (vect_create_data_ref_ptr): Likewise. * tree-vect-stmts.c (vectorizable_store): Likewise. (perm_mask_for_reverse): Likewise. (reverse_vec_elements): Likewise. (vectorizable_load): Likewise. gcc/testsuite/ 2010-10-03 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/torture/pr45764.C: Revert revision 164914. * gcc.dg/vect/pr43432.c: Likewise. * gcc.dg/vect/vect-114.c: Likewise. * gcc.dg/vect/vect-15.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164919 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
(require_complete_type): ...this function. (cp_build_array_ref, convert_arguments): Use it. (convert_for_initialization, cp_build_modify_expr): Likewise. * cp-tree.h: Declare it. * call.c (build_over_call): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164918 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
gcc/ 2010-10-02 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/45720 PR tree-optimization/45764 * tree-vect-data-refs.c (vect_analyze_data_ref_access): Don't accept backwards consecutive accesses. (vect_create_data_ref_ptr): Disallow negative steps. * tree-vect-stmts.c (vectorizable_store): Allow negative steps. (perm_mask_for_reverse): Removed. (reverse_vec_elements): Likewise. (vectorizable_load): Don't hanle negative steps. gcc/testsuite/ 2010-10-02 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/45720 PR tree-optimization/45764 * g++.dg/torture/pr45764.C: New. * gcc.dg/vect/pr43432.c: Xfail. * gcc.dg/vect/vect-114.c: Likewise. * gcc.dg/vect/vect-15.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164914 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 01 Oct, 2010 1 commit
-
-
rguenth authored
PR tree-optimization/45854 * tree-eh.c (cleanup_empty_eh): Avoid degenerate case. * g++.dg/torture/pr45854.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164881 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 30 Sep, 2010 1 commit
-
-
jakub authored
* config/i386/i386.c (ix86_gimplify_va_arg): Use INTVAL (XEXP (slot, 1)) as prev_size. * g++.dg/torture/pr45843.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164766 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 28 Sep, 2010 1 commit
-
-
jason authored
(real_lvalue_p): Take const_tree. * cp-tree.h: Adjust. * typeck.c (lvalue_or_else): Make temporary arg a permerror. (cp_build_addr_expr_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164704 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 27 Sep, 2010 1 commit
-
-
jason authored
* typeck.c (lvalue_or_else): Use real_lvalue_p. (cp_build_addr_expr_1): Split out of cp_build_unary_op. (cp_build_addr_expr, cp_build_addr_expr_strict): Interfaces. (decay_conversion, get_member_function_from_ptrfunc): Adjust. (build_x_unary_op, build_reinterpret_cast_1): Adjust. (build_const_cast_1): Adjust. * cp-tree.h: Declare new fns. * call.c (build_this, convert_like_real, build_over_call): Adjust. (initialize_reference): Adjust. * class.c (build_base_path, convert_to_base_statically): Adjust. (build_vfn_ref, resolve_address_of_overloaded_function): Adjust. * cvt.c (build_up_reference, convert_to_reference): Adjust. * decl.c (register_dtor_fn): Adjust. * decl2.c (build_offset_ref_call_from_tree): Adjust. * except.c (initialize_handler_parm): Adjust. * init.c (build_offset_ref, build_delete, build_vec_delete): Adjust. * rtti.c (build_dynamic_cast_1, tinfo_base_init): Adjust. * tree.c (stabilize_expr): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164666 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 24 Sep, 2010 2 commits
-
-
jason authored
reference and pointer to the same type as "*" or "&". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164597 138bc75d-0d04-0410-961f-82ee72b054a4
-
mshawcroft authored
* g++.dg/debug/dwarf2/nested-2.C: Permit the ARM @ character as a comment leader in regexp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164588 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 23 Sep, 2010 1 commit
-
-
rguenth authored
PR tree-optimization/45565 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Make sure to adjust the fndecl before replacing the stmt. * g++.dg/ipa/pr45565.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164561 138bc75d-0d04-0410-961f-82ee72b054a4
-