re PR tree-optimization/47060 (ICE: SIGSEGV in reduction_phi (tree-parloops.c:212...
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Dec 2010 08:24:58 +0000 (09:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Dec 2010 08:24:58 +0000 (09:24 +0100)
commit87ebde38c04dcb4511e6081e916a6c910ae39e8d
tree617d95c0b654fc903f9cc9b4e34e82b0b90227f3
parentdad6bca98ab71f35eebe7fe9690cca0c105573f7
re PR tree-optimization/47060 (ICE: SIGSEGV in reduction_phi (tree-parloops.c:212) with -O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce)

PR tree-optimization/47060
* tree-parloops.c (reduction_phi): Return NULL if PHI is NULL.

* gcc.dg/autopar/pr47060.c: New test.

From-SVN: r168336
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr47060.c [new file with mode: 0644]
gcc/tree-parloops.c