]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-ccp.c (fold_const_aggregate_ref): Check that result of string folding is...
authorJan Hubicka <jh@suse.cz>
Thu, 9 Sep 2010 15:07:21 +0000 (17:07 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 9 Sep 2010 15:07:21 +0000 (15:07 +0000)
commit54e34c358acefd04573881cb5db372423c1e8e9d
tree26599e9e8b44b5ab012025bf37371c093d0ec20f
parentba885ec559ca39e0dc23641dbbe67cc0072378f3
tree-ssa-ccp.c (fold_const_aggregate_ref): Check that result of string folding is of integral type.

* tree-ssa-ccp.c (fold_const_aggregate_ref): Check that result of
string folding is of integral type.
* fortran.fortran-torture/compile/pr45598.f90: New test.

From-SVN: r164111
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/pr45598.f90 [new file with mode: 0644]
gcc/tree-ssa-ccp.c