public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/55827] New: ICE with multiple fortran modules and character lenght determined by an interfaced pure function
@ 2012-12-28 21:08 bugs at stellardeath dot org
  2012-12-28 21:12 ` [Bug fortran/55827] " bugs at stellardeath dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bugs at stellardeath dot org @ 2012-12-28 21:08 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55827
           Summary: ICE with multiple fortran modules and character lenght
                    determined by an interfaced pure function
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bugs@stellardeath.org


Created attachment 29062
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29062
Minimal testcase (25 lines)

I hit this when trying to find a nice way to pass strings between Fortran and
C, it is however unrelated to any C-interfacing - the minimal testcase (25
lines) that is attached did not need this to trigger the ICE.

I could not reduce the testcase further - if I merge the first two modules I
get a sucessful compilation, also if I remove the line with the unnecessary
"use" in the final subroutine in the last module.

It seems to be related to the len= argument in the

  character(len=strlen(handle))

statements, when I substitute "strlen(handle)" with a number I also get a
sucessful compilation.


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

end of thread, other threads:[~2013-01-07 22:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-28 21:08 [Bug fortran/55827] New: ICE with multiple fortran modules and character lenght determined by an interfaced pure function bugs at stellardeath dot org
2012-12-28 21:12 ` [Bug fortran/55827] " bugs at stellardeath dot org
2012-12-28 22:03 ` kargl at gcc dot gnu.org
2012-12-28 22:41 ` mikael at gcc dot gnu.org
2012-12-29  0:26 ` sgk at troutmask dot apl.washington.edu
2012-12-29 16:05 ` sgk at troutmask dot apl.washington.edu
2012-12-29 16:40 ` mikael at gcc dot gnu.org
2013-01-01 19:14 ` mikael at gcc dot gnu.org
2013-01-05 13:26 ` mikael at gcc dot gnu.org
2013-01-07 17:57 ` mikael at gcc dot gnu.org
2013-01-07 18:11 ` mikael at gcc dot gnu.org
2013-01-07 18:17 ` mikael at gcc dot gnu.org
2013-01-07 18:19 ` mikael at gcc dot gnu.org
2013-01-07 22:04 ` mikael at gcc dot gnu.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).