[Bug target/60851] [4.9/4.10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2117 with -flive-range-shrinkage -mdispatch-scheduler -march=bdver4
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 16 13:02:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60851
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
constraint_operands before reload doesn't accept a pseudo for "m" constraint,
only during reload:
/* Before reload, accept what reload can turn into mem. */
else if (strict < 0 && CONSTANT_P (op))
win = 1;
/* During reload, accept a pseudo */
else if (reload_in_progress && REG_P (op)
&& REGNO (op) >= FIRST_PSEUDO_REGISTER)
win = 1;
Wonder if it would be ok to change that reload_in_progress to !reload_completed
or !strict or something similar, or, if not, whether we shouldn't have some
other memory constraint on i?86 or everywhere that would be accept a pseudo for
strict < 0 instead of only for reload_in_progress.
More information about the Gcc-bugs
mailing list