diff options
author | Martin Jambor <mjambor@suse.cz> | 2011-06-16 22:21:21 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2011-06-16 22:21:21 +0200 |
commit | ee460e75424c78db2684a8f4dec1c993b0c05758 (patch) | |
tree | 148334680920f915f20b2a6b506202f76d398ff5 /gcc/fortran | |
parent | a285ba2ef9a4ebdd613b12bca42576816fe6251f (diff) | |
download | gcc-ee460e75424c78db2684a8f4dec1c993b0c05758.zip gcc-ee460e75424c78db2684a8f4dec1c993b0c05758.tar.gz gcc-ee460e75424c78db2684a8f4dec1c993b0c05758.tar.bz2 |
re PR tree-optimization/49343 (ICE on field with variable offset)
2011-06-16 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/49343
* tree-sra.c (build_ref_for_model): Use component_ref_field_offset to
calculate offset, provide 2nd operand for the new COMPONENT_REF.
* testsuite/gnat.dg/discr31.adb: New test.
* testsuite/gnat.dg/discr31.ads: Likewise.
From-SVN: r175111
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions