This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/64374] [5.0 regression] LTO ICE in extract_insn, at recog.c:2327
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Jan 2015 15:08:45 +0000
- Subject: [Bug lto/64374] [5.0 regression] LTO ICE in extract_insn, at recog.c:2327
- Auto-submitted: auto-generated
- References: <bug-64374-4 at http dot gcc dot gnu dot org/bugzilla/>
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?