public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rakuen_himawari at yahoo dot co dot jp" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/29284] New: ICE for optional subroutine argument Date: Fri, 29 Sep 2006 08:13:00 -0000 [thread overview] Message-ID: <bug-29284-13327@http.gcc.gnu.org/bugzilla/> (raw) $ 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
next reply other threads:[~2006-09-29 8:13 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-09-29 8:13 rakuen_himawari at yahoo dot co dot jp [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29284-13327@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).