This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/49936] [4.7 Regression] IRA handles CANNOT_CHANGE_MODE_CLASS poorly, + spills to memory on 4.7
- From: "vmakarov at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2011 17:27:12 +0000
- Subject: [Bug rtl-optimization/49936] [4.7 Regression] IRA handles CANNOT_CHANGE_MODE_CLASS poorly, + spills to memory on 4.7
- Auto-submitted: auto-generated
- References: <bug-49936-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49936
--- Comment #4 from Vladimir Makarov <vmakarov at redhat dot com> 2011-08-16 17:27:12 UTC ---
(In reply to comment #3)
> Hmmm. Is it possible to make the INT/memory/whatever decision based on move
> costs? Or use a target hook to supply a hint about what to do?
I think I can restore the 4.6 behaviour by assigning GR_REGS for accum. I'll
try to do a patch this week. Such patches needs a lot of testing. So I hope
it will be on the trunk next week.