[Bug target/58489] ICE: in reload_cse_simplify_operands, at postreload.c:411

timo.teras at iki dot fi gcc-bugzilla@gcc.gnu.org
Wed Mar 26 06:35:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58489

--- Comment #2 from Timo Teräs <timo.teras at iki dot fi> ---
I got this fixed. It seems genautomata does not work properly if it is built
with -fPIC. Since PIE/PIC get added automatically in alpine toolchain it caused
this.

For now I'm adding explicitly -fno-PIC to genautomata compilation. However, it
would be better if genautomata could be fixed to:
 - abort compilation if genautomata failed to do it's job properly
 - fix genautomata to work even if compiled with -fPIC


More information about the Gcc-bugs mailing list