This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9258: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589
- From: reichelt at igpm dot rwth-aachen dot de
- To: 176117 at bugs dot debian dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, kmccarty at Princeton dot EDU, nobody at gcc dot gnu dot org
- Date: 13 Jan 2003 21:10:06 -0000
- Subject: Re: optimization/9258: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589
- Reply-to: reichelt at igpm dot rwth-aachen dot de, 176117 at bugs dot debian dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, kmccarty at Princeton dot EDU, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: ICE in 3.2 / 3.3 - regression from 3.0 (HEAD works)
New Synopsis: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Mon Jan 13 13:10:05 2003
State-Changed-Why:
Confirmed.
Here's a shorter testcase that crashes 3.2-branch, 3.3-branch and mainline
(as of 20030113) :(
----------------------snip here------------------
SUBROUTINE FOO (B)
10 CALL BAR(A)
ASSIGN 20 TO M
IF(100.LT.A) GOTO 10
GOTO 40
C
20 IF(B.LT.ABS(A)) GOTO 10
ASSIGN 30 TO M
GOTO 40
C
30 ASSIGN 10 TO M
40 GOTO M,(10,20,30)
END
----------------------snip here------------------
Just compile with "g77 -O2 -c" to get
bug.f: In subroutine `foo':
bug.f:13: internal compiler error: in compensate_edge, at reg-stack.c:2589
Please submit a full bug report, [etc.]
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9258