[Bug c/45784] gcc OpenMP - error: invalid controlling predicate
geir at cray dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 19 18:13:00 GMT 2013
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]);
^
$
More information about the Gcc-bugs
mailing list