public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29284]  New: ICE for optional subroutine argument
@ 2006-09-29  8:13 rakuen_himawari at yahoo dot co dot jp
  2006-09-29  8:20 ` [Bug fortran/29284] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rakuen_himawari at yahoo dot co dot jp @ 2006-09-29  8:13 UTC (permalink / raw)
  To: gcc-bugs

$ gfortran --version
GNU Fortran 95 (GCC) 4.2.0 20060923 (experimental)

$ cat foo.f90
      MODULE foo
      CONTAINS
        SUBROUTINE sub1(a)
          CHARACTER (LEN=*), OPTIONAL :: a
          WRITE(*,*) 'foo bar'
        END SUBROUTINE sub1

      SUBROUTINE sub2
        CALL sub1()
      END SUBROUTINE sub2

     END MODULE foo
$ gfortran -c foo.f90
foo.f90: In function ^[$B!F^[(Bsub2^[$B!G^[(B:
foo.f90:3: internal compiler error: Segmentation fault


gcc-4.2-20060812 can compile the same code.


-- 
           Summary: ICE for optional subroutine argument
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rakuen_himawari at yahoo dot co dot jp
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2006-10-24  8:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-29  8:13 [Bug fortran/29284] New: ICE for optional subroutine argument rakuen_himawari at yahoo dot co dot jp
2006-09-29  8:20 ` [Bug fortran/29284] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-10-01  9:23 ` pault at gcc dot gnu dot org
2006-10-01 13:45 ` patchapp at dberlin dot org
2006-10-01 15:28 ` rep dot nop at aon dot at
2006-10-01 19:59 ` paulthomas2 at wanadoo dot fr
2006-10-01 23:05 ` mmitchel at gcc dot gnu dot org
2006-10-03 20:13 ` pault at gcc dot gnu dot org
2006-10-03 20:16 ` pault at gcc dot gnu dot org
2006-10-24  8:06 ` fxcoudert 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).