aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-04-12 11:38:47 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-04-12 11:38:47 +0000
commit5f1fab5819256a0a30779d8d0c2fffc3ed2ee9c2 (patch)
tree309556804f1e89c251beb3a6c838fd3141487079 /gcc/cgraph.c
parente5b332cdb894baa96b7dc83b69140b3106fd5153 (diff)
downloadgcc-5f1fab5819256a0a30779d8d0c2fffc3ed2ee9c2.zip
gcc-5f1fab5819256a0a30779d8d0c2fffc3ed2ee9c2.tar.gz
gcc-5f1fab5819256a0a30779d8d0c2fffc3ed2ee9c2.tar.bz2
re PR tree-optimization/52943 (likely wrong code bug caused by predictive commoning)
2012-04-12 Richard Guenther <rguenther@suse.de> PR tree-optimization/52943 * tree-chrec.h (chrec_is_positive): Remove. * tree-scalar-evolution.c (chrec_is_positive): Move ... * tree-data-ref.c (chrec_is_positive): ... here. Make static. Return false for a constant zero instead of negative. (analyze_siv_subscript_cst_affine): Handle zero difference in the initial condition explicitely. * gcc.dg/torture/pr52943.c: New testcase. From-SVN: r186374
Diffstat (limited to 'gcc/cgraph.c')
0 files changed, 0 insertions, 0 deletions