public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32635]  New: gfortran - internal compiler error: verify_ssa failed
@ 2007-07-05 15:56 dir at lanl dot gov
  2007-07-05 17:55 ` [Bug tree-optimization/32635] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2007-07-05 15:56 UTC (permalink / raw)
  To: gcc-bugs

This error poped up while trying to recompile one of my programs. I have
reduced it about as much as I could - change almost anything and the error goes
away -

[dranta:~/junk] dir% gfortran -c -O2 aled7.F
aled7.F: In function 'aled7':
aled7.F:1: error: definition in block 6 follows the use
for SSA_NAME: D.1023_61 in statement:
D.1017_52 = D.1023_61;
aled7.F:1: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[dranta:~/junk] dir% cat aled7.F
      subroutine aled7(ix,ib,itable,ip,ip2,imat,nummat,
     1                 mx0,k,numnp,numel,iadj)

      implicit double precision (a-h,o-z)                                    dp

      common/cale6/fst(16,4),ist(256,14)
c
      dimension ib(*),itable(*),ip(3,*),ip2(*),ix(6,*),imat(nummat+1,*)
c
c
      ipnt=1
      do 20 i=1,numel
      if (imat(ix(5,i),mx0).ne.1) go to 20
   20 continue
c
      k=0
      kflg=0
   25 do 30 i=1,ipnt
      if (ip(1,i).eq.0) go to 30
      ii=i
      go to 40
   30 continue
c
   40 k=k+1
      iel=ip(3,ii)
      ib(k+iadj)=i1
      if (kflg.eq.1) ip(1,ii)=0
      kflg=1
c
      isum=0
      do 50 i=1,ipnt
      if (ip(1,i).eq.0) isum=isum+1
      if (ip(1,i).eq.0.or.ip(1,i).ne.i2) go to 50
      ii=i
      if (ip(3,i).eq.iel) go to 40
   50 continue
c
      if (ip(1,ii).eq.i2) go to 40
      kflg=0
      if (isum.ne.ipnt) go to 25
c
      return
      end
[dranta:~/junk] dir% gfortran --v
Using built-in specs.
Target: powerpc-apple-darwin8.10.0
Configured with: ../gcc/configure --disable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070705 (experimental)
[dranta:~/junk] dir%


-- 
           Summary: gfortran - internal compiler error: verify_ssa failed
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dir at lanl dot gov
  GCC host triplet: Darwin 8.9.0


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
@ 2007-07-05 17:55 ` pinskia at gcc dot gnu dot org
  2007-07-10 17:23 ` dir at lanl dot gov
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-05 17:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
          Component|fortran                     |tree-optimization
           Keywords|                            |ice-on-valid-code
            Summary|gfortran - internal compiler|[4.3 Regression] gfortran -
                   |error: verify_ssa failed    |internal compiler error:
                   |                            |verify_ssa failed
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
  2007-07-05 17:55 ` [Bug tree-optimization/32635] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-07-10 17:23 ` dir at lanl dot gov
  2007-07-17 21:58 ` tkoenig at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2007-07-10 17:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dir at lanl dot gov  2007-07-10 17:23 -------
Also fails on suse linux and intel macintosh.


-- 


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
  2007-07-05 17:55 ` [Bug tree-optimization/32635] [4.3 Regression] " pinskia at gcc dot gnu dot org
  2007-07-10 17:23 ` dir at lanl dot gov
@ 2007-07-17 21:58 ` tkoenig at gcc dot gnu dot org
  2007-07-18 15:39 ` dir at lanl dot gov
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-07-17 21:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tkoenig at gcc dot gnu dot org  2007-07-17 21:58 -------
Works for me with gcc version 4.3.0 20070715 on i686-pc-linux-gnu.

Could this be target specific?


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
                   ` (2 preceding siblings ...)
  2007-07-17 21:58 ` tkoenig at gcc dot gnu dot org
@ 2007-07-18 15:39 ` dir at lanl dot gov
  2007-07-18 15:43 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dir at lanl dot gov @ 2007-07-18 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dir at lanl dot gov  2007-07-18 15:39 -------
Well, it seems to have been fixed or gone back into hiding -

[dranta:~/tests/gfortran-D] dir%  gfortran -c -O2 aled7.F
[dranta:~/tests/gfortran-D] dir% gfortran --v
Using built-in specs.
Target: powerpc-apple-darwin8.10.0
Configured with: ../gcc/configure --disable-bootstrap --disable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20070718 (experimental)


-- 


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
                   ` (3 preceding siblings ...)
  2007-07-18 15:39 ` dir at lanl dot gov
@ 2007-07-18 15:43 ` pinskia at gcc dot gnu dot org
  2007-07-18 17:00 ` tkoenig at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-18 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-07-18 15:43 -------
This might have gotten fixed by the patch which fixed PR 32705.


-- 


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
                   ` (4 preceding siblings ...)
  2007-07-18 15:43 ` pinskia at gcc dot gnu dot org
@ 2007-07-18 17:00 ` tkoenig at gcc dot gnu dot org
  2007-07-19  4:47 ` tkoenig at gcc dot gnu dot org
  2007-07-19  4:48 ` tkoenig at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-07-18 17:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tkoenig at gcc dot gnu dot org  2007-07-18 17:00 -------
I'll commit the test case so there's no regression.

Assigning to myself so I don't forget it.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tkoenig at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-18 17:00:37
               date|                            |


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
                   ` (5 preceding siblings ...)
  2007-07-18 17:00 ` tkoenig at gcc dot gnu dot org
@ 2007-07-19  4:47 ` tkoenig at gcc dot gnu dot org
  2007-07-19  4:48 ` tkoenig at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-07-19  4:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from tkoenig at gcc dot gnu dot org  2007-07-19 04:47 -------
Subject: Bug 32635

Author: tkoenig
Date: Thu Jul 19 04:47:29 2007
New Revision: 126742

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126742
Log:
2007-07-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR tree-optimzation/32635
        * gfortran.dg/pr32635.f:  New test case.



Added:
    trunk/gcc/testsuite/gfortran.dg/pr32635.f
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed
  2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
                   ` (6 preceding siblings ...)
  2007-07-19  4:47 ` tkoenig at gcc dot gnu dot org
@ 2007-07-19  4:48 ` tkoenig at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-07-19  4:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from tkoenig at gcc dot gnu dot org  2007-07-19 04:48 -------
Test case committed after verifying that it passes.

Closing.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-07-19  4:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-05 15:56 [Bug fortran/32635] New: gfortran - internal compiler error: verify_ssa failed dir at lanl dot gov
2007-07-05 17:55 ` [Bug tree-optimization/32635] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-07-10 17:23 ` dir at lanl dot gov
2007-07-17 21:58 ` tkoenig at gcc dot gnu dot org
2007-07-18 15:39 ` dir at lanl dot gov
2007-07-18 15:43 ` pinskia at gcc dot gnu dot org
2007-07-18 17:00 ` tkoenig at gcc dot gnu dot org
2007-07-19  4:47 ` tkoenig at gcc dot gnu dot org
2007-07-19  4:48 ` tkoenig 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).