From 0b2a137802f8b3a7d6350d20c96c9c3fcbafc305 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 1 Dec 2015 16:22:28 +0000 Subject: re PR tree-optimization/64769 (ICE: tree check: expected integer_cst, have parm_decl in simd_clone_clauses_extract, at omp-low.c:12503 with -fopenmp-simd) PR tree-optimization/64769 * c-c++-common/gomp/pr64769.c: New test. From-SVN: r231120 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/c-c++-common/gomp/pr64769.c | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 gcc/testsuite/c-c++-common/gomp/pr64769.c (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 44055d1..ef5a175 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-01 Marek Polacek + + PR tree-optimization/64769 + * c-c++-common/gomp/pr64769.c: New test. + 2015-12-01 Bill Schmidt * gcc.target/powerpc/swaps-p8-22.c: New. diff --git a/gcc/testsuite/c-c++-common/gomp/pr64769.c b/gcc/testsuite/c-c++-common/gomp/pr64769.c new file mode 100644 index 0000000..3a30149 --- /dev/null +++ b/gcc/testsuite/c-c++-common/gomp/pr64769.c @@ -0,0 +1,9 @@ +/* PR tree-optimization/64769 */ +/* { dg-do compile } */ +/* { dg-options "-fopenmp-simd" } */ + +#pragma omp declare simd linear(i) +void +foo (int i) +{ +} -- cgit v1.1