Assignee: unassigned at gcc dot gnu.org
Reporter: amanieu at gmail dot com
There seems to be a typo in gcc/config.gcc:3531:
| fpv4-sp-d16 | neon-vfpv4 | fp-arm-v8 | neon-fp-armv8 \
"fp-arm-v8" should be "fp-armv8", matching the -mfpu option name.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62024
--- Comment #2 from Amanieu d'Antras ---
A similar error happens when trying to use the result of
__atomic_always_lock_free as the size of an array:
int array[__atomic_always_lock_free(sizeof(int), 0)];
test.c:1:5: error: variably modified ‘arr
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: amanieu at gmail dot com
This line causes an error despite the documentation saying that
__atomic_always_lock_free is a constant expression:
_Static_assert(__atomic_always_lock_free(sizeof(int), 0), "");
t
t org
ReportedBy: amanieu at gmail dot com
GCC build triplet: i486-pc-linux-gnu
GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39442