re PR middle-end/27573 (ICE with -fopenmp -fprofile-generate)
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 May 2006 10:16:36 +0000 (12:16 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 16 May 2006 10:16:36 +0000 (12:16 +0200)
commitb570947c8ad996f00aaa621a9e3dee997baa2e2e
treee28b85f2f99a2a29e7a7330a77bce84b727bb4b0
parent4156f84bfb9e0e26701a825d52da11eec26d10ff
re PR middle-end/27573 (ICE with -fopenmp  -fprofile-generate)

PR middle-end/27573
* omp-low.c (expand_omp_parallel): Don't assert
.OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
instead search for it.

* gcc.dg/gomp/pr27573.c: New test.
* gfortran.dg/gomp/pr27573.f90: New test.

From-SVN: r113823
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr27573.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/pr27573.f90 [new file with mode: 0644]