]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c++/66676 (pragma omp simd aligned(x) results in "internal compiler...
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Aug 2019 11:34:08 +0000 (13:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Aug 2019 11:34:08 +0000 (13:34 +0200)
commit36536c8b85bd53137c3241110ccb75bcaad7129a
tree2c51cfc1037f29230572a80b941b6a66c79ab973
parent345ef95706dd846a65abb112026832420bfe846a
backport: re PR c++/66676 (pragma omp simd aligned(x) results in "internal compiler error: Segmentation fault")

Backported from mainline
2019-01-29  Jakub Jelinek  <jakub@redhat.com>

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: r275094
gcc/ChangeLog
gcc/omp-simd-clone.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr89104.c [new file with mode: 0644]