2009-11-08 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Nov 2009 12:10:32 +0000 (12:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Nov 2009 12:10:32 +0000 (12:10 +0000)
commit8311e9d227e0da28f63dc73acd3e10032f813ee6
tree119bede4564d00d88fd512ff228ba9fabfae2409
parent1770a4b65afb87436af705fec62c9d382ef68e6f
2009-11-08  Richard Guenther  <rguenther@suse.de>

PR rtl-optimization/41928
* loop-invariant.c (free_loop_data): If we didn't allocate
loop data do not try to free it.

* gfortran.dg/pr41928.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154008 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-invariant.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr41928.f90 [new file with mode: 0644]