public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "Tobias dot Schlueter at physik dot uni-muenchen dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/15326] New: [gfortran] ICE with assumed length character strings Date: Thu, 06 May 2004 16:48:00 -0000 [thread overview] Message-ID: <20040506164815.15326.Tobias.Schlueter@physik.uni-muenchen.de> (raw) [tobi@marktplatz tests]$ cat reduced.f90 program Decapitation implicit none integer, parameter :: STRING_LENGTH = 80 character (len = STRING_LENGTH) :: Text_1, Text_2 Text_2 = Decap (Text_1) stop contains function Decap (String) result (New_String) character (len = *), intent(in) :: String character (len = Len(String)) :: New_String return end function Decap end program Decapitation [tobi@marktplatz tests]$ gfortran reduced.f90 f951: ../../gcc/gcc/fortran/trans-expr.c:1000: gfc_conv_function_call: Assertion `sym->ts.cl && sym->ts.cl->length && sym->ts.cl->length->expr_type == EXPR_CONSTANT' failed. reduced.f90: In function `MAIN__': reduced.f90:5: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [tobi@marktplatz tests]$ -- Summary: [gfortran] ICE with assumed length character strings Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15326
next reply other threads:[~2004-05-06 16:48 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-06 16:48 Tobias dot Schlueter at physik dot uni-muenchen dot de [this message] 2004-05-06 17:08 ` [Bug fortran/15326] " Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-05-06 18:02 ` pinskia at gcc dot gnu dot org 2004-05-27 3:08 ` pinskia at gcc dot gnu dot org 2004-06-13 9:25 ` pinskia at gcc dot gnu dot org 2004-06-27 20:30 ` [Bug fortran/15326] " pinskia at gcc dot gnu dot org 2004-08-09 15:56 ` pinskia at gcc dot gnu dot org 2004-09-25 15:04 ` tobi at gcc dot gnu dot org 2004-10-10 21:04 ` tobi at gcc dot gnu dot org 2004-10-10 21:08 ` Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-01-06 14:40 ` tobi at gcc dot gnu dot org 2005-02-12 21:55 ` pinskia at gcc dot gnu dot org 2005-08-31 15:26 ` pinskia at gcc dot gnu dot org 2005-08-31 20:54 ` rsandifo at gcc dot gnu dot org 2005-09-08 18:46 ` cvs-commit at gcc dot gnu dot org 2005-09-08 18:51 ` rsandifo at gcc dot gnu dot org 2005-09-18 19:53 ` [Bug fortran/15326] [4.0 only] " tkoenig at gcc dot gnu dot org 2005-09-18 20:09 ` rsandifo at gcc dot gnu dot org 2005-09-18 20:27 ` pinskia 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=20040506164815.15326.Tobias.Schlueter@physik.uni-muenchen.de \ --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).