[Bug tree-optimization/111622] [13 Regression] EVRP compile-time hog compiling risc-v insn-opinit.cc
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 29 06:20:19 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111622
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
> For riscv cross compilers you need to invoke the driver since that feeds
> -mabi and -march to cc1plus required to identify the target as 64bit ...
>
> That would be -march=rv64imafdc_zicsr_zifencei -mabi=lp64d for example.
Err, forget that. The testcase is for a x86_64 compiler, but you need
-fno-exceptions -fno-rtti -O2 to reproduce the GCC case exactly (it also
works with plain -O2).
So, this is in _building_ a x86_64 -> riscv cross (not using it).
More information about the Gcc-bugs
mailing list