public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56284] New: ICE with contained routine which inappropriately compares a string and a number
@ 2013-02-11  8:58 arjen.markus at deltares dot nl
  2013-02-11  9:02 ` [Bug fortran/56284] " arjen.markus at deltares dot nl
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: arjen.markus at deltares dot nl @ 2013-02-11  8:58 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56284
           Summary: ICE with contained routine which inappropriately
                    compares a string and a number
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: arjen.markus@deltares.nl


Created attachment 29414
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29414
Code that causes the compiler to fail

The attached code causes an ICE in gfortran 4.7.2 (and 4.7.1) on Windows 7.
The fact that the routine is contained in a derived type is essential for the 
occurrence of the ICE.

On my system there is just the message that an ICE occurred, if I comment out 
the lines "contains" and "procedure :: getRecord", then the compiler rightly 
complains about the mistake in the getRecord routine.


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

end of thread, other threads:[~2013-04-03  7:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11  8:58 [Bug fortran/56284] New: ICE with contained routine which inappropriately compares a string and a number arjen.markus at deltares dot nl
2013-02-11  9:02 ` [Bug fortran/56284] " arjen.markus at deltares dot nl
2013-02-11  9:51 ` [Bug fortran/56284] [OOP] " janus at gcc dot gnu.org
2013-02-11 10:09 ` [Bug fortran/56284] [OOP] ICE with alternate return in type-bound procedure janus at gcc dot gnu.org
2013-02-11 12:17 ` janus at gcc dot gnu.org
2013-02-11 12:37 ` janus at gcc dot gnu.org
2013-02-11 13:57 ` janus at gcc dot gnu.org
2013-02-11 19:06 ` dominiq at lps dot ens.fr
2013-02-11 19:46 ` janus at gcc dot gnu.org
2013-02-12 12:58 ` dominiq at lps dot ens.fr
2013-02-12 13:31 ` janus at gcc dot gnu.org
2013-04-03  7:51 ` janus 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).