This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/77773] [6/7 regression] Segfault when compiling __simd64_float16_t using arm-none-eabi-g++ with debug information


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'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]