public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66056] New: Segmentation fault for lonely label in type
@ 2015-05-07 17:14 gerhard.steinmetz.fortran@t-online.de
  2015-05-07 17:44 ` [Bug fortran/66056] " kargl at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-05-07 17:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66056

            Bug ID: 66056
           Summary: Segmentation fault for lonely label in type
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

This code fragment with a lonely label in a type ...
   program p
      type t
      1 !
      end type
   end

or this variation ...
   program p
      type t
      ; 1 ;
      end type
   end

produces (with gfortran 5.1.1 on SUSE Linux 13.2, 64 bit)
internal compiler error: Segmentation fault

---

Similar, but with a lonely real number instead ...
   program p
      type t
      1.2 !
      end type
   end

or this variation ...
   program p
      type t
      ; 1.2 ;
      end type
   end

leads to ...
Warning: Ignoring statement label in empty statement at (1)
(null):0: confused by earlier errors, bailing out

Kind regards.


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

end of thread, other threads:[~2015-10-26 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-07 17:14 [Bug fortran/66056] New: Segmentation fault for lonely label in type gerhard.steinmetz.fortran@t-online.de
2015-05-07 17:44 ` [Bug fortran/66056] " kargl at gcc dot gnu.org
2015-06-17 16:56 ` gerhard.steinmetz.fortran@t-online.de
2015-06-17 16:59 ` gerhard.steinmetz.fortran@t-online.de
2015-10-26 19:18 ` [Bug fortran/66056] ICEs and endless compilation for lonely labels/numbers " lkrupp at gcc dot gnu.org
2015-10-26 19:29 ` lkrupp 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).