public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/28172]  New: alternate return in contained procedure segfaults
@ 2006-06-26 19:30 tobi at gcc dot gnu dot org
  2006-06-30 12:28 ` [Bug fortran/28172] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2006-06-26 19:30 UTC (permalink / raw)
  To: gcc-bugs

schluter@pcl247d:~> cat t.f90
program blubb
  call otherini(*998)
  stop
998 stop
contains
 subroutine init
   call otherini(*999)
   return
999 stop
 end subroutine init
end program blubb
schluter@pcl247d:~> ~/src/gcc/build/stage3-gcc/f951 t.f90
 MAIN__ init
t.f90:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
schluter@pcl247d:~> ~/src/gcc/build/stage3-gcc/f951 --version
GNU F95 version 4.2.0 20060618 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.2.0 20060618 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
schluter@pcl247d:~>

Note that it seems necessary that the subroutine be called both from the
program and the contained procedure.


-- 
           Summary: alternate return in contained procedure segfaults
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobi at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-01-23  5:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-26 19:30 [Bug fortran/28172] New: alternate return in contained procedure segfaults tobi at gcc dot gnu dot org
2006-06-30 12:28 ` [Bug fortran/28172] " pinskia at gcc dot gnu dot org
2006-12-31  6:44 ` pault at gcc dot gnu dot org
2007-01-15  8:17 ` pault at gcc dot gnu dot org
2007-01-16  0:58 ` patchapp at dberlin dot org
2007-01-23  5:53 ` [Bug fortran/28172] [4.2 and 4.1 only] " pault at gcc dot gnu dot org
2007-01-23  5:55 ` pault at gcc dot gnu dot org
2007-01-23  5:56 ` pault 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).