[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176117: optimization/9258: [3.2/3.3/3.4 regression] ICE in compensate_edge, at reg-stack.c:2589



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: