http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45784

--- Comment #2 from Geir Johansen <geir at cray dot com> ---
Fails in GCC 4.8.0:

$ gcc --version
gcc (GCC) 4.8.0 20130322 (Cray Inc.)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc -c -fopenmp -std=c99 ISU3417.c
ISU3417.c: In function 'vla_test':
ISU3417.c:24:25: error: invalid controlling predicate
         for (ptr = vla; ptr < vla + sizeof(vla)/sizeof(vla[0]);
                         ^
$

Reply via email to