http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47744

--- Comment #26 from H.J. Lu <hjl.tools at gmail dot com> 2011-07-18 00:02:41 
UTC ---
(In reply to comment #25)
> > It doesn't work. I got
> 
> Yeah, I found the problem, we have to allow only non-eliminable registers.
> 
> Please try this:
> 
>         case SUBREG:
>           if (TARGET_X32
>           && !register_no_elim_operand (op, Pmode))
>         return 0;

It works much better.  But it still caused a few regressions on x32 branch:

FAIL: gcc.target/i386/pr45670.c scan-assembler-not lea[lq]
FAIL: gfortran.dg/character_array_constructor_1.f90  -O1  (internal compiler
error)
FAIL: gfortran.dg/character_array_constructor_1.f90  -O1  (test for excess
errors)
FAIL: gfortran.dg/cshift_large_1.f90  -Os  (internal compiler error)
FAIL: gfortran.dg/cshift_large_1.f90  -Os  (test for excess errors)
FAIL: gfortran.dg/eoshift_large_1.f90  -Os  (internal compiler error)
FAIL: gfortran.dg/eoshift_large_1.f90  -Os  (test for excess errors)

Reply via email to