public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/22315] New: [4.1 regression] ICE in IVopts
@ 2005-07-05 20:09 steven at gcc dot gnu dot org
  2005-07-05 20:10 ` [Bug middle-end/22315] " steven at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-07-05 20:09 UTC (permalink / raw)
  To: gcc-bugs

The following code ICEs at -O2 on amd64.  It was reduced from galgel, 
which is broken at the moment because of this bug. 
 
      SUBROUTINE FOO (N, A, LDA, X, INCX) 
      INTEGER :: INCX, LDA, N 
      REAL*8  :: A(LDA,*), X(*) 
      REAL*8  :: TEMP 
      INTEGER :: I, J, IX, JX, KX 
      IF (INCX == 1) THEN 
        CONTINUE 
      ELSE 
        JX = KX + (N - 1)*INCX 
        DO 20, J = N, 1, -1 
          TEMP = X(JX) 
          IX   = JX 
          DO 10, I = J - 1, 1, -1 
            IX   = IX   - INCX 
            TEMP = TEMP + A(I,J)*X(IX) 
   10     CONTINUE 
          X(JX) = TEMP 
          JX    = JX   - INCX 
   20   CONTINUE 
      END IF 
      RETURN 
 
      END

-- 
           Summary: [4.1 regression] ICE in IVopts
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22315


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-05 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-05 20:09 [Bug middle-end/22315] New: [4.1 regression] ICE in IVopts steven at gcc dot gnu dot org
2005-07-05 20:10 ` [Bug middle-end/22315] " steven at gcc dot gnu dot org
2005-07-05 20:14 ` pinskia at gcc dot gnu dot org
2005-07-05 20:26 ` steven at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).