This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47744] [x32] ICE: in reload_cse_simplify_operands, at postreload.c:403


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]