public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37209]  New: [4.4 Regression] ICE in vinfo_for_stmt, at tree-vectorizer.h:546
@ 2008-08-23 11:24 burnus at gcc dot gnu dot org
  2008-08-23 11:32 ` [Bug middle-end/37209] " irar at il dot ibm dot com
  2008-08-23 11:43 ` burnus at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-23 11:24 UTC (permalink / raw)
  To: gcc-bugs

Works here with: 2008-08-19-r139224
fails here with: 2008-08-20-r139252

(Note both had some patches applied, but looking at the diffs to the trunk at
that time, they should not affect the failure.)

 $ gfortran -O3 test.f90
test.f90: In function 'euler':
test.f90:1: internal compiler error: in vinfo_for_stmt, at
tree-vectorizer.h:546


      SUBROUTINE euler(mrot,amat,alpha,beta,gamma)
      IMPLICIT NONE
      INTEGER, INTENT(IN) :: mrot(3,3)
      REAL, INTENT(IN) :: amat(3,3)
      REAL, INTENT(OUT) :: alpha,beta,gamma
      INTEGER :: det,a1,a2,n
      REAL :: mprop(3,3),amatinv(3,3),detr
      REAL :: pi,sina,sinb,sinc,cosa,cosb,cosc
      pi = atan(1.0)*4.0
      det= mrot(1,1)*mrot(2,2)*mrot(3,3) + &
           mrot(1,2)*mrot(2,3)*mrot(3,1) + &
           mrot(2,1)*mrot(3,2)*mrot(1,3) - &
           mrot(1,3)*mrot(2,2)*mrot(3,1) - &
           mrot(2,3)*mrot(3,2)*mrot(1,1) - &
           mrot(2,1)*mrot(1,2)*mrot(3,3)
      mprop=REAL(det)*MATMUL(amat,MATMUL(REAL(mrot),amatinv))
      cosb = mprop(3,3)
      sinb = 1.00 - cosb*cosb
      sinb = max(sinb,0.00)
      sinb = sqrt(sinb)
      IF ( abs(sinb).LT.1.0e-5 ) gamma = 0.0
      END SUBROUTINE


-- 
           Summary: [4.4 Regression] ICE in vinfo_for_stmt, at tree-
                    vectorizer.h:546
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug middle-end/37209] [4.4 Regression] ICE in vinfo_for_stmt, at tree-vectorizer.h:546
  2008-08-23 11:24 [Bug middle-end/37209] New: [4.4 Regression] ICE in vinfo_for_stmt, at tree-vectorizer.h:546 burnus at gcc dot gnu dot org
@ 2008-08-23 11:32 ` irar at il dot ibm dot com
  2008-08-23 11:43 ` burnus at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: irar at il dot ibm dot com @ 2008-08-23 11:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from irar at il dot ibm dot com  2008-08-23 11:31 -------
I think it's a duplicate of pr37174. 
I've just committed the fix.

Ira


-- 


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


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

* [Bug middle-end/37209] [4.4 Regression] ICE in vinfo_for_stmt, at tree-vectorizer.h:546
  2008-08-23 11:24 [Bug middle-end/37209] New: [4.4 Regression] ICE in vinfo_for_stmt, at tree-vectorizer.h:546 burnus at gcc dot gnu dot org
  2008-08-23 11:32 ` [Bug middle-end/37209] " irar at il dot ibm dot com
@ 2008-08-23 11:43 ` burnus at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-23 11:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2008-08-23 11:41 -------
Solved by the patch for PR 37174.

*** This bug has been marked as a duplicate of 37174 ***


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2008-08-23 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-23 11:24 [Bug middle-end/37209] New: [4.4 Regression] ICE in vinfo_for_stmt, at tree-vectorizer.h:546 burnus at gcc dot gnu dot org
2008-08-23 11:32 ` [Bug middle-end/37209] " irar at il dot ibm dot com
2008-08-23 11:43 ` burnus 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).