Bug#176117: optimization/9258: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589
- To: 176117@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, kmccarty@Princeton.EDU, nobody@gcc.gnu.org
- Subject: Bug#176117: optimization/9258: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589
- From: reichelt@igpm.rwth-aachen.de
- Date: 13 Jan 2003 21:10:06 -0000
- Message-id: <[🔎] 20030113211006.18906.qmail@sources.redhat.com>
- Reply-to: reichelt@igpm.rwth-aachen.de, 176117@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, kmccarty@Princeton.EDU, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org, 176117@bugs.debian.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
Reply to: