This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/53176] [4.8 Regression] gcc.dg/lower-subreg-1.c FAILs
- From: "rdsandiford at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 May 2012 19:17:03 +0000
- Subject: [Bug rtl-optimization/53176] [4.8 Regression] gcc.dg/lower-subreg-1.c FAILs
- Auto-submitted: auto-generated
- References: <bug-53176-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53176
--- Comment #19 from rdsandiford at googlemail dot com <rdsandiford at googlemail dot com> 2012-05-06 19:17:03 UTC ---
"olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> writes:
> --- Comment #18 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-05-06 18:09:37 UTC ---
> On SH an issue popped up because lower-subreg would not split multi-word regs
> anymore. Could somebody please have a look at comment #2 and the proposed
> patch in PR 53250?
Unfortunately I messed up the choice of cost routines in the original patch.
I just committed the fix for that. The SH rtx_costs routine should now see
(set (reg) (reg)) and (set (reg) (const_int 0)) rtxes, so you should
be able to set the costs there. See:
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00425.html
for a similar MIPS patch.