re PR c++/66676 (pragma omp simd aligned(x) results in "internal compiler error:...
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Jan 2019 21:09:41 +0000 (22:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Jan 2019 21:09:41 +0000 (22:09 +0100)
commitb33d65e3023d5366404e99e4a06e6452d1204b83
treee3a269ce330ab0384175910032b26d48999fe1d4
parentfddbc19325a3e93a5f72668baa4e4bdeea9ebc7f
re PR c++/66676 (pragma omp simd aligned(x) results in "internal compiler error: Segmentation fault")

PR c++/66676
PR ipa/89104
* omp-simd-clone.c (simd_clone_clauses_extract)
<case OMP_CLAUSE_ALIGNED>: Ignore clauses with NULL
OMP_CLAUSE_ALIGNED_ALIGNMENT.

* gcc.dg/gomp/pr89104.c: New test.

From-SVN: r268370
gcc/ChangeLog
gcc/omp-simd-clone.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr89104.c [new file with mode: 0644]