https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77773

--- Comment #3 from avieira at gcc dot gnu.org ---
Just to make it clear:

The command I showed without the '-g' did use to error on gcc-5, but it doesnt
on 6 and 7:
$ gcc-5/arm-none-eabi-g++ -S t.c -mfloat-abi=hard -march=armv7-a
t.c:1:9: error: '__simd64_float16_t' does not name a type
 typedef __simd64_float16_t float16x4_t;
$ gcc-6/arm-none-eabi-g++ -S t.c -mfloat-abi=hard -march=armv7-a
$ gcc-7/arm-none-eabi-g++ -S t.c -mfloat-abi=hard -march=armv7-a

Adding -mfpu=neon to gcc-5 gets rid of the error:
$ gcc-5/arm-none-eabi-g++ -S t.c -mfloat-abi=hard -march=armv7-a -mfpu=neon

Adding -mfpu=neon to eitehr gcc-6 or 7 is irrelevant to both compilations with
or without '-g'.

Reply via email to