This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/59477] [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1281 with -O
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Jan 2014 15:45:51 +0000
- Subject: [Bug rtl-optimization/59477] [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1281 with -O
- Auto-submitted: auto-generated
- References: <bug-59477-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59477
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Usually combiner will reject such combination on i?86/x86_64 in the fn
> argument hard reg setup insns because of cant_combine_insn_p, but here r8
> isn't likely spilled. Also, typically cx is initialized after r8, because
> hard register arguments are initialized from last argument to first. But in
> this case there is one argument passed in rcx/r8 pair and within a single
> argument we typically initialize the first half before the second one.
Is rcx likely spilled? If so, the situation looks similar to the one dealt
with by likely_spilled_retval_p so maybe the machinery could be extended to
argument registers.