From: Marek Polacek Date: Tue, 1 Dec 2015 16:22:28 +0000 (+0000) Subject: re PR tree-optimization/64769 (ICE: tree check: expected integer_cst, have parm_decl... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b2a137802f8b3a7d6350d20c96c9c3fcbafc305;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 44055d19adf..ef5a175b43c 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 00000000000..3a301495f01 --- /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) +{ +}