diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-14 10:51:34 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-14 10:51:34 +0000 |
commit | a6476f88a046784b087cee7ea22806cf181d073d (patch) | |
tree | 66df900ef28ae410bf4318c9859d7595727e851a /config | |
parent | 6281b3df10b5122d3520683874bd53b73c69975d (diff) | |
download | gcc-a6476f88a046784b087cee7ea22806cf181d073d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185378 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions