This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47744] [x32] ICE: in reload_cse_simplify_operands, at postreload.c:403
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Jul 2011 00:02:58 +0000
- Subject: [Bug target/47744] [x32] ICE: in reload_cse_simplify_operands, at postreload.c:403
- Auto-submitted: auto-generated
- References: <bug-47744-4@http.gcc.gnu.org/bugzilla/>
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)