public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/51058] New: [4.7 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1992
@ 2011-11-09 13:41 dominiq at lps dot ens.fr
  2011-11-09 14:46 ` [Bug tree-optimization/51058] " rguenth at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-11-09 13:41 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51058
           Summary: [4.7 Regression] ICE: gimple check: expected
                    gimple_assign(error_mark), have gimple_call() in
                    gimple_assign_rhs_code, at gimple.h:1992
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: ira@gcc.gnu.org, jakub@gcc.gnu.org, rguenther@suse.de


On x86_64-apple-darwin10 at revision 181200, compiling the polyhedron test
mdbx.f90 with '-O2 -ftree-vectorize' gives an ICE:

[macbook] lin/test% gfc -c mdbx.f90 -O2 -ftree-vectorize
mdbx.f90: In function 'mlist':
mdbx.f90:1199:0: internal compiler error: gimple check: expected
gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at
gimple.h:1992

Revision 181085 is OK. The following reduced test reproduces the ICE:

      SUBROUTINE MLIST(MOLsp,PBCx,PBCy,PBCz, X0)
      IMPLICIT NONE
      INTEGER, PARAMETER :: NM=16384
      INTEGER :: MOLsp, i
      DOUBLE PRECISION :: PBCx, PBCy, PBCz, boxjmp, HALf=1./2.
      DOUBLE PRECISION :: X0(3,-2:NM)

         DO i = 1 , MOLsp
            boxjmp = PBCx*INT(X0(1,i)+SIGN(HALf,X0(1,i)))
            X0(1,i) = X0(1,i) - boxjmp
            boxjmp = PBCy*INT(X0(2,i)+SIGN(HALf,X0(2,i)))
            X0(2,i) = X0(2,i) - boxjmp
            boxjmp = PBCz*INT(X0(3,i)+SIGN(HALf,X0(3,i)))
            X0(3,i) = X0(3,i) - boxjmp
         ENDDO
      END


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

end of thread, other threads:[~2011-11-24 15:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 13:41 [Bug tree-optimization/51058] New: [4.7 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1992 dominiq at lps dot ens.fr
2011-11-09 14:46 ` [Bug tree-optimization/51058] " rguenth at gcc dot gnu.org
2011-11-09 17:18 ` irar at il dot ibm.com
2011-11-09 17:20 ` jakub at gcc dot gnu.org
2011-11-09 17:21 ` jakub at gcc dot gnu.org
2011-11-09 17:52 ` irar at il dot ibm.com
2011-11-09 18:33 ` dominiq at lps dot ens.fr
2011-11-10  9:53 ` rguenther at suse dot de
2011-11-10 10:28 ` irar at gcc dot gnu.org
2011-11-10 14:40 ` dominiq at lps dot ens.fr
2011-11-10 19:00 ` jakub at gcc dot gnu.org
2011-11-11  8:30 ` irar at il dot ibm.com
2011-11-11  9:51 ` irar at il dot ibm.com
2011-11-11 12:42 ` jakub at gcc dot gnu.org
2011-11-11 20:07 ` jakub at gcc dot gnu.org
2011-11-24 16:07 ` jakub at gcc dot gnu.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).