[Bug debug/77773] [6/7 regression] Segfault when compiling __simd64_float16_t using arm-none-eabi-g++ with debug information
avieira at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 28 10:58:00 GMT 2016
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'.
More information about the Gcc-bugs
mailing list