[Bug tree-optimization/60849] [4.7/4.8 Regression] bogus comparison result type
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 6 09:02:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60849
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue May 6 09:02:08 2014
New Revision: 210099
URL: http://gcc.gnu.org/viewcvs?rev=210099&root=gcc&view=rev
Log:
2014-05-06 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-04-17 Richard Biener <rguenther@suse.de>
PR middle-end/60849
* tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
boolean results for comparisons.
* g++.dg/opt/pr60849.C: New testcase.
2014-04-07 Richard Biener <rguenther@suse.de>
PR tree-optimization/60766
* tree-ssa-loop-ivopts.c (cand_value_at): Compute in an
unsigned type.
(may_eliminate_iv): Convert cand_value_at result to desired
type.
* gcc.dg/torture/pr60766.c: New testcase.
2014-04-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/60903
* tree-ssa-loop-im.c (execute_sm_if_changed): Properly apply
IRREDUCIBLE_LOOP loop flags to newly created BBs and edges.
* gcc.dg/torture/pr60903.c: New testcase.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/opt/pr60849.C
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr60766.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr60903.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-ssa-loop-im.c
branches/gcc-4_8-branch/gcc/tree-ssa-loop-ivopts.c
branches/gcc-4_8-branch/gcc/tree-ssa-propagate.c
More information about the Gcc-bugs
mailing list