re PR middle-end/59150 (ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp)
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Nov 2013 20:38:59 +0000 (21:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Nov 2013 20:38:59 +0000 (21:38 +0100)
commit4ceffa27eea18baea5660ef3e29186eae7fa247a
treea30f470db61501115d88b0a08c1827eddc81736a
parent01dde9b0e98f435232dd99d8128cd1087066d5ef
re PR middle-end/59150 (ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp)

PR middle-end/59150
* omp-low.c (lower_rec_input_clause): For reduction with placeholder
of references to constant size types in simd loops, defer emitting
initializer for the new_var, emit it later on only if not using
SIMD arrays for it.

* g++.dg/gomp/pr59150.C: New test.

From-SVN: r205411
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr59150.C [new file with mode: 0644]