diff options
author | Richard Guenther <rguenther@suse.de> | 2012-03-14 10:51:34 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-03-14 10:51:34 +0000 |
commit | 1caf8dd66c44ca5e25574be4cde0fd1ed7581584 (patch) | |
tree | 66df900ef28ae410bf4318c9859d7595727e851a /gcc/tree-loop-distribution.c | |
parent | a1d3d84bdf44215b8445af6693501747917519bd (diff) | |
download | gcc-1caf8dd66c44ca5e25574be4cde0fd1ed7581584.zip gcc-1caf8dd66c44ca5e25574be4cde0fd1ed7581584.tar.gz gcc-1caf8dd66c44ca5e25574be4cde0fd1ed7581584.tar.bz2 |
re PR middle-end/52578 (Fails to fold another size difference)
2012-03-14 Richard Guenther <rguenther@suse.de>
PR middle-end/52578
* fold-const.c (fold_unary_loc): Fold (T1)(T2)x to (T1)x if
the outermost conversion is a sign-change only.
(fold_binary_loc): Disregard widening and sign-changing
conversions when we determine if two variables are equal
for reassociation.
* tree-ssa-forwprop.c (combine_conversions): Fold (T1)(T2)x to
(T1)x if the outermost conversion is a sign-change only.
* gcc.dg/pr52578.c: New testcase.
From-SVN: r185378
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions