[Bug lto/64374] [5.0 regression] LTO ICE in extract_insn, at recog.c:2327

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 13 15:08:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64374

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uros at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, the problem is in a mismatch between flag_pic and ix86_cmodel.
The former is a global flag, the latter is TargetSave, and
ix86_option_override_internal updates the ix86_cmodel flag based on whether
flag_pic is globally set or not.

Thus, I think we need to arrange for ix86_option_override_internal (or its
subset, at least related to ix86_cmodel flag) to be invoked during LTO reading.
 Honza, do we want a new target hook for that?



More information about the Gcc-bugs mailing list