[Bug target/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn"
christian.ehrhardt at canonical dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 19 14:15:55 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966
--- Comment #3 from Christian Ehrhardt <christian.ehrhardt at canonical dot com> ---
> Just drop -mbuild-constants.
Thanks for the hint Uroš, but I'm not sure if one can do that, this option is
from [1]. I do not have the background on this, but it reads as there was a
reason "Use -mbuild-constants to prevent the compiler using static data" to set
this which seems more breaking than my current workaround (reduce -O2 to -O1).
[1]:
https://github.com/qemu/qemu-palcode/commit/0830e72f0bce29bdf1de0d67ad503a9a8b99c968
More information about the Gcc-bugs
mailing list