diff options
author | Richard Guenther <rguenther@suse.de> | 2011-05-20 15:02:49 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-05-20 15:02:49 +0000 |
commit | 90ff582fb1f05f7380adfab59d86065aae09a9a7 (patch) | |
tree | 0f88181acea8ab0fc265d45d99e9be13fd4739e8 /gcc/gcov.c | |
parent | 3cda91d8634805fcb1148cb856a6fc7605f6719f (diff) | |
download | gcc-90ff582fb1f05f7380adfab59d86065aae09a9a7.zip gcc-90ff582fb1f05f7380adfab59d86065aae09a9a7.tar.gz gcc-90ff582fb1f05f7380adfab59d86065aae09a9a7.tar.bz2 |
re PR tree-optimization/49079 (Bogus constant folding)
2011-05-20 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49079
* tree-dfa.c (get_ref_base_and_extent): Handle view-converting
MEM_REFs correctly for the trailing array access detection.
Special case constants the same way as decls for overall size
constraining.
* gcc.dg/torture/pr49079.c: New testcase.
From-SVN: r173954
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions