On Tue, 10 Sep 2019, Sad Clouds wrote:
OK, however GCC documentation should explicitly state which options are invalid for aarch64. Also aarch64 is ARM and all 16/32/64-bit variants are documented in one section under "ARM Options": https://gcc.gnu.org/onlinedocs/gcc-7.4.0/gcc/ARM-Options.html#ARM-Options
The ARMv8 options here are valid only for targetting ARMv8 processors running in AArch32 mode.