On Tue, Dec 01, 2015 at 04:38:03PM +0100, Marek Polacek wrote: > There's an open PR with -fopenmp-simd testcase that used to ICE but is now > fixed for 5/6, but not 4.9. > > Should I commit this right away to trunk, wait for gcc-5 branch to open and > then commit it to 5 as well and then close the PR? > > Or just to trunk and close the PR? > > Tested on x86_64-linux. > > 2015-12-01 Marek Polacek <pola...@redhat.com> > > PR tree-optimization/64769 > * c-c++-common/gomp/pr64769.c: New test.
Ok for trunk. > diff --git gcc/testsuite/c-c++-common/gomp/pr64769.c > gcc/testsuite/c-c++-common/gomp/pr64769.c > index e69de29..3a30149 100644 > --- gcc/testsuite/c-c++-common/gomp/pr64769.c > +++ 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) > +{ > +} Jakub