summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture
Commit message (Collapse)AuthorAgeFilesLines
* * g++.dg/torture/20121105-1.C: Adjust for LLP64 targets.ktietz2013-03-251-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197034 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56635jakub2013-03-181-0/+17
| | | | | | | | | | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, require types_compatible_p types. * g++.dg/torture/pr56635.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196781 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/56403jakub2013-02-251-0/+12
| | | | | | | | | | * init.c (build_zero_init_1): Use RECORD_OR_UNION_CODE_P instead of CLASS_TYPE_P. * g++.dg/torture/pr56403.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196260 138bc75d-0d04-0410-961f-82ee72b054a4
* New test for PR56398.mpolacek2013-02-211-0/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196199 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/56302jakub2013-02-131-0/+41
| | | | | | | | | | | | | * semantics.c (finish_asm_stmt): If input constraints allow neither register nor memory, try maybe_constant_value to get a constant if possible. * g++.dg/torture/pr56302.C: New test. * g++.dg/cpp0x/constexpr-56302.C: New test. * c-c++-common/pr56302.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196018 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/r55789hubicka2013-02-051-0/+30
| | | | | | | | | | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove the dead call anyway. * g++.dg/torture/pr55789.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195750 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56029jakub2013-01-181-0/+126
| | | | | | | | | | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. * g++.dg/torture/pr56029.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195304 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in gcc/rsandifo2013-01-101-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195098 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimiation/55875hubicka2013-01-091-0/+55
| | | | | | | | | | | | | | | | | | | | | * gcc.c-torture/execute/pr55875.c: New testcase. * g++.dg/torture/pr55875.C: New testcase. * tree-ssa-loop-niter.c (number_of_iterations_cond): Add EVERY_ITERATION parameter. (number_of_iterations_exit): Check if exit is executed every iteration. (idx_infer_loop_bounds): Similarly here. (n_of_executions_at_most): Simplify to only test for cases where statement is dominated by the particular bound; handle correctly the "postdominance" test. (scev_probably_wraps_p): Use max loop iterations info as a global bound first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195054 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-12-21 Martin Jambor <mjambor@suse.cz>jamborm2012-12-211-0/+23
| | | | | | | | | | | | PR tree-optimization/55355 * tree-sra.c (type_internals_preclude_sra_p): Also check that bit_position is small enough to fit a single HOST_WIDE_INT. * testsuite/g++.dg/torture/pr55355.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194682 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-12-20 Richard Biener <rguenther@suse.de>rguenth2012-12-201-0/+19
| | | | | | | | | | | PR middle-end/55740 * cfghooks.c (merge_blocks): Properly handle merging of two loop headers. * g++.dg/torture/pr55740.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194633 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-12-18 Richard Biener <rguenther@suse.de>rguenth2012-12-181-0/+102
| | | | | | | | | | | | | | PR middle-end/54838 * cfgloopmanip.c (fix_loop_structure): Re-discover latch edges first and mark loops for removal if no latch edges remain. Properly re-create LOOPS_HAVE_FALLTHRU_PREHEADERS. * loop-init.c (loop_optimizer_finalize): Set LOOPS_MAY_HAVE_MULTIPLE_LATCHES. * g++.dg/torture/pr54838.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-12-03 Richard Biener <rguenther@suse.de>rguenth2012-12-031-1/+1
| | | | | | | | * gcc.dg/torture/pr35634.c: Use signed char. * g++.dg/torture/pr35634.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194078 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-28 Richard Biener <rguenther@suse.de>rguenth2012-11-281-0/+19
| | | | | | | | | | | | | | | | | | | | | | PR c/35634 * gimple.h (gimplify_self_mod_expr): Declare. * gimplify.c (gimplify_self_mod_expr): Export. Take a different type for performing the arithmetic in. (gimplify_expr): Adjust. * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Strip sign conversions we can re-apply after adjusting the IV. c-family/ * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions here and use a type with proper overflow behavior for types that would need to be promoted for the arithmetic. * gcc.dg/torture/pr35634.c: New testcase. * g++.dg/torture/pr35634.C: Likewise. * gcc.dg/vect/pr18536.c: Mark worker function noinline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193882 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-21 Martin Jambor <mjambor@suse.cz>jamborm2012-11-211-0/+16
| | | | | | | | | | | | | | | PR tree-optimization/55260 * ipa-cp.c (intersect_aggregates_with_edge): New function. (find_aggregate_values_for_callers_subset): Part moved to the function above. Call it. (cgraph_edge_brings_all_agg_vals_for_node): Reimplemented using intersect_aggregates_with_edge. * testsuite/g++.dg/torture/pr55260-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193700 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-20 Martin Jambor <mjambor@suse.cz>jamborm2012-11-201-0/+24
| | | | | | | | | | | | | PR tree-optimization/55260 * ipa-cp.c (find_aggregate_values_for_callers_subset): Rename info to dest_info, use caller_info instead of info when determining whether callee is a clone. * testsuite/g++.dg/torture/pr55260-1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193657 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/54986ebotcazou2012-11-051-0/+42
| | | | | | | | * gimple-fold.c (canonicalize_constructor_val): Strip again all no-op conversions on entry but add them back on exit if needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193188 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-25 Richard Biener <rguenther@suse.de>rguenth2012-10-251-0/+131
| | | | | | | | | | | | | | PR tree-optimization/54902 * tree-ssa-pre.c (fini_eliminate): Return TODO. (do_pre): Adjust. (execute_fre): Likewise. * tree-ssa-tailmerge.c (tail_merge_optimize): Delete unreachable blocks before computing dominators. * g++.dg/torture/pr54902.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192804 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/doko2012-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-10-15 Matthias Klose <doko@ubuntu.com> * config.gcc: Match arm*-*-linux-* for ARM Linux/GNU. * doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi. gcc/testsuite/ 2012-10-15 Matthias Klose <doko@ubuntu.com> * lib/target-supports.exp (check_profiling_available): Match arm*-*-linux-* for ARM Linux/GNU. * g++.dg/torture/predcom-1.C: Match arm*-*-linux-* for ARM Linux/GNU. * gfortran.dg/enum_10.f90: Likewise. * gfortran.dg/enum_9.f90: Likewise. * gcc.target/arm/synchronize.c: Likewise. * g++.old-deja/g++.jason/enum6.C: Likewise. * g++.old-deja/g++.other/enum4.C: Likewise. * g++.old-deja/g++.law/enum9.C: Likewise. gcc/ada/ 2012-10-15 Matthias Klose <doko@ubuntu.com> * gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for ARM Linux/GNU. libgcc/ 2012-10-15 Matthias Klose <doko@ubuntu.com> * config.host: Match arm*-*-linux-* for ARM Linux/GNU. libstdc++-v3/ 2012-10-15 Matthias Klose <doko@ubuntu.com> * configure.host: Match arm*-*-linux-* for ARM Linux/GNU. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise. libjava/ 2012-10-15 Matthias Klose <doko@ubuntu.com> * configure.ac: Match arm*-*-linux-* for ARM Linux/GNU. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192475 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/54381jakub2012-10-122-100/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.h (sizeof_pointer_memaccess_warning): Adjust prototype. * c-common.c (sizeof_pointer_memaccess_warning): Take array of 3 locs and array of 3 trees instead of just single loc and single sizeof_arg tree. Handle __builtin___*_chk builtins too, and also stpncpy, bcopy, bcmp, bzero, snprintf and vsnprintf builtins. For *cmp* builtins that take two sources strings report warnings about first and second source, not about destination and source. * c-parser.c (struct c_tree_loc_pair): Removed. (c_parser_expr_list): Remove struct c_tree_loc_pair * argument, add location_t * and tree * arguments, fill in array of 3 sizeof_arg trees and corresponding locs. (c_parser_attributes, c_parser_objc_keywordexpr): Adjust c_parser_expr_list callers. (c_parser_postfix_expression_after_primary): Likewise. Pass array of 3 sizeof_arg trees and locs (corresponding to first 3 arguments) to sizeof_pointer_memaccess_warning. * semantics.c (finish_call_expr): Pass array of 3 sizeof_arg trees and locs (corresponding to first 3 arguments) to sizeof_pointer_memaccess_warning. * c-c++-common/Wsizeof-pointer-memaccess1.c: New test. * c-c++-common/Wsizeof-pointer-memaccess2.c: New test. * gcc.dg/Wsizeof-pointer-memaccess1.c: New test. * gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Test also stpncpy. Adjust expected wording of warnings for *cmp* builtins. * g++.dg/torture/Wsizeof-pointer-memaccess1.C: Likewise. * g++.dg/torture/Wsizeof-pointer-memaccess2.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192406 138bc75d-0d04-0410-961f-82ee72b054a4
* cp/jakub2012-10-052-0/+1418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cp-tree.h (SIZEOF_EXPR_TYPE_P): Define. * tree.c (cp_tree_equal): Handle SIZEOF_EXPR with SIZEOF_EXPR_TYPE_P. * mangle.c (write_expression): Likewise. * cxx-pretty-print.c (pp_cxx_unary_expression): Likewise. * error.c (dump_expr): Likewise. * parser.c (cp_parser_unary_expression): For sizeof call cxx_sizeof_or_alignof_{type,expr} just for diagnostics and return SIZEOF_EXPR with the operand. * pt.c (tsubst_copy, tsubst_copy_and_build): For SIZEOF_EXPR, call cxx_sizeof_or_alignof_{type,expr} for diagnostics, but return SIZEOF_EXPR with tsubsted operand. (value_dependent_expression_p): Handle SIZEOF_EXPR with SIZEOF_EXPR_TYPE_P. (instantiation_dependent_r): Likewise. * call.c (null_ptr_cst_p): Call maybe_constant_value for C++98. * semantics.c (finish_call_expr): Call sizeof_pointer_memaccess_warning if needed. (cxx_eval_constant_expression): Handle SIZEOF_EXPR. (potential_constant_expression_1): Remove early exit for C++98. Handle PROPERTY_REF. * decl.c (duplicate_decls): When redeclaring a builtin function, keep the merged decl builtin also if newdecl is a gnu_inline inline definition. (fold_sizeof_expr_r): New function. (compute_array_index_type): Fold SIZEOF_EXPRs in itype. * cp-gimplify.c (cp_genericize_r): Fold SIZEOF_EXPR. * typeck.c (cp_build_binary_op): For warn_for_sign_compare try harder using maybe_constant_value to get INTEGER_CSTs. * decl.c (stabilize_vla_size): Call pointer_set_destroy at the end. testsuite/ * g++.dg/torture/Wsizeof-pointer-memaccess1.C: New test. * g++.dg/torture/Wsizeof-pointer-memaccess2.C: New test. * g++.dg/warn/Wsign-compare-5.C: New test. * g++.dg/warn/Wsizeof-pointer-memaccess-1.C: New test. * g++.dg/warn/Wnull-conversion-1.C: For c++11 add dg-error. * g++.dg/ext/builtin30.C: New test. * g++.dg/ext/vla12.C: New test. * gcc.dg/builtins-85.c: New test. libstdc++-v3/ * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192141 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-04 Richard Guenther <rguenther@suse.de>rguenth2012-10-041-0/+179
| | | | | | | | | | | PR middle-end/54735 * tree-ssa-pre.c (do_pre): Make sure to update virtual SSA form before cleaning up the CFG. * g++.dg/torture/pr54735.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192078 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-24 Richard Guenther <rguenther@suse.de>rguenth2012-09-241-0/+62
| | | | | | | | | | PR tree-optimization/54684 * tree-ssa-ccp.c (optimize_unreachable): Properly update stmts. * g++.dg/torture/pr54684.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191667 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-21 Richard Guenther <rguenther@suse.de>rguenth2012-09-211-0/+25
| | | | | | | | | | | PR tree-optimization/54647 * tree-ssa-pre.c (compute_avail): Do not put COND_EXPR or VEC_COND_EXPR into EXP_GEN again. * g++.dg/torture/pr54647.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191613 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/54563jakub2012-09-171-0/+14
| | | | | | | | | | * tree-ssa-math-opts.c (execute_cse_sincos): Call gimple_purge_dead_eh_edges if last call has been changed. * g++.dg/torture/pr54563.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191378 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-14 Richard Guenther <rguenther@suse.de>rguenth2012-09-141-0/+31
| | | | | | | | | | | | | | * builtin-types.def (BT_FN_CONST_STRING): Add. * builtins.def (BUILT_IN_FILE, BUILT_IN_FUNCTION, BUILT_IN_LINE): New builtins. * gimplify.c (gimplify_call_expr): Expand them. * doc/extend.texi (__builtin_LINE, __builtin_FUNCTION, __builtin_FILE): Document. * g++.dg/torture/builtin-location.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191290 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-02 Richard Guenther <rguenther@suse.de>rguenth2012-08-021-0/+22
| | | | | | | | | | | | | | PR tree-optimization/50672 Revert 2012-08-01 Richard Guenther <rguenther@suse.de> * tree-ssa-tail-merge.c (release_last_vdef): Remove. (replace_block_by): Adjust. * g++.dg/torture/pr50672.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190070 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-18 Richard Guenther <rguenther@suse.de>rguenth2012-07-181-0/+17
| | | | | | | | | | | | | | PR tree-optimization/53970 * tree.h (contains_packed_reference): Remove. * expr.c (contains_packed_reference): Likewise. * tree-vect-data-refs.c (not_size_aligned): New function. (vector_alignment_reachable_p): Use it. (vect_supportable_dr_alignment): Likewise. * g++.dg/torture/pr53970.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189609 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/53321uros2012-07-041-0/+36
| | | | | | | | | | | | | | * ipa.c (symtab_remove_unreachable_nodes): Partially revert r187375 to not call cgraph_propagate_frequency if something was changed. testsuite/ChangLog: PR middle-end/53321 * g++.dg/torture/pr53321.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189261 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-27 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>ramana2012-06-2718-0/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR C++/51033 * semantics.c (constexpr_call): Fix typo in comment. (cxx_eval_vec_perm_expr): New. (cxx_eval_constant_expression): Fold VEC_PERM_EXPRs. 2012-06-27 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> PR c++/51033. * g++.dg/torture/vshuf-16.inc: New test. * g++.dg/torture/vshuf-2.inc: New test. * g++.dg/torture/vshuf-4.inc: New test. * g++.dg/torture/vshuf-8.inc: New test. * g++.dg/torture/vshuf-main.inc: New test. * g++.dg/torture/vshuf-v16hi.C: New test. * g++.dg/torture/vshuf-v16qi.C: New test. * g++.dg/torture/vshuf-v2df.C: New test. * g++.dg/torture/vshuf-v2di.C: New test. * g++.dg/torture/vshuf-v2sf.C: New test. * g++.dg/torture/vshuf-v2si.C: New test. * g++.dg/torture/vshuf-v4df.C: New test. * g++.dg/torture/vshuf-v4di.C: New test. * g++.dg/torture/vshuf-v4sf.C: New test. * g++.dg/torture/vshuf-v4si.C: New test. * g++.dg/torture/vshuf-v8hi.C: New test. * g++.dg/torture/vshuf-v8qi.C: New test. * g++.dg/torture/vshuf-v8si.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189017 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-26 Richard Guenther <rguenther@suse.de>rguenth2012-06-261-0/+156
| | | | | | | | | | | PR c++/53752 * mangle.c (write_array_type): Truncate the number-of-elements result. * g++.dg/torture/pr53752.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188986 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-18 Richard Guenther <rguenther@suse.de>rguenth2012-06-181-0/+21
| | | | | | | | | | | PR tree-optimization/53693 * tree-vect-patterns.c (vect_operation_fits_smaller_type): Reject operands with more than one use. * g++.dg/torture/pr53693.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188733 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/torture/stackalign/stackalign.exp: Combine stackjanis2012-06-151-7/+30
| | | | | | | alignment torture options with usual torture options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188678 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/53602rth2012-06-091-0/+365
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188358 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/53161hubicka2012-05-231-0/+22
| | | | | | | * symtab.c (symtab_register_node): Fix ordering issue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187798 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:bonzini2012-05-221-0/+45
| | | | | | | | | | | | | | | | | | 2012-05-16 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/53336 * tree-cfg.c (verify_gimple_assign_unary): Allow conversion from non-integer integral types to offset type and vice versa. gcc/testsuite: 2012-05-16 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/53336 * g++.dg/torture/pr53336.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187759 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-05-16 Richard Guenther <rguenther@suse.de>rguenth2012-05-161-0/+37
| | | | | | | | | | | PR tree-optimization/53364 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly detect a view-conversion of the decl. * g++.dg/torture/pr53364.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187590 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-24 Richard Guenther <rguenther@suse.de>rguenth2012-04-241-0/+17
| | | | | | | | | | | PR tree-optimization/53085 * tree-ssa-pre.c (eliminate): Do not eliminate volatile redundant stores. * g++.dg/torture/pr53085.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186764 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-20 Richard Guenther <rguenther@suse.de>rguenth2012-04-201-0/+29
| | | | | | | | | | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Use update_call_from_tree when propagating into a call. * g++.dg/torture/20120420-1.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186622 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-17 Richard Guenther <rguenther@suse.de>rguenth2012-04-171-0/+66
| | | | | | | | | | | PR middle-end/53011 * tree-eh.c (cleanup_empty_eh_merge_phis): Properly discard loops when redirecting an entry or latch edge. * g++.dg/torture/pr53011.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186529 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-11 Richard Guenther <rguenther@suse.de>rguenth2012-04-112-0/+79
| | | | | | | | | | | | PR middle-end/52918 * except.c (sjlj_emit_dispatch_table): Properly update loop structure. * g++.dg/torture/pr52918-1.C: New testcase. * g++.dg/torture/pr52918-2.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186320 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-03-30 Richard Guenther <rguenther@suse.de>rguenth2012-03-301-0/+85
| | | | | | | | | | | | PR middle-end/52772 * except.c (emit_to_new_bb_before): Move loop updating ... (dw2_build_landing_pads): ... here. Use a proper block for querying the loop father. * g++.dg/torture/pr52772.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186011 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/51737hubicka2012-03-251-0/+30
| | | | | | | * g++.dg/torture/pr51737.C: New testcase git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-03-23 Richard Guenther <rguenther@suse.de>rguenth2012-03-231-0/+15
| | | | | | | | PR tree-optimization/52638 * g++.dg/torture/pr52638.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185727 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/52582jason2012-03-151-0/+23
| | | | | | * method.c (implicitly_declare_fn): Set DECL_EXTERNAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185443 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/opt/devirt2.C: Add rule for *-*-mingw* target.ktietz2012-02-221-1/+3
| | | | | | | | | * g++.dg/opt/pr48549.C (long): Replace by long by __PTRDIFF_TYPE__ derived pdiff_t type. * g++.dg/torture/pr49720.C: Likewise git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184490 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/48600hubicka2012-02-101-0/+16
| | | | | | | | | * predict.c (predict_paths_for_bb): Prevent looping. (predict_paths_leading_to_edge, predict_paths_leading_to): Update. * g++.dg/torture/pr48600.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184089 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-27 Richard Guenther <rguenther@suse.de>rguenth2012-01-271-0/+80
| | | | | | | | | | | PR middle-end/51959 * expr.c (store_field): Use the alias-set of the scratch memory for storing to it. * g++.dg/torture/pr51959.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183616 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/51934jason2012-01-231-2/+2
| | | | | | * g++.dg/torture/pr51344.C: Limit to x86. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183436 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/51934jason2012-01-231-1/+1
| | | | | | * g++.dg/torture/pr51344.C: Use noreturn instead of cdecl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183434 138bc75d-0d04-0410-961f-82ee72b054a4