public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/27378]  New: ICE on unexpected ELSE statement
@ 2006-05-02  9:08 reichelt at gcc dot gnu dot org
  2006-05-02 16:57 ` [Bug fortran/27378] " steven at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-02  9:08 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase causes an ICE when compiled with -Wall:

===============
else
===============

The error message is:
 In file bug.f90:1

else
   1
Error: Unexpected ELSE statement at (1)
bug.f90:0: internal compiler error: Segmentation fault


Without -Wall I get:
 In file bug.f90:1

else
   1
Error: Unexpected ELSE statement at (1)
Error: Unexpected end of file in 'bug.f90'

This happens since GCC 4.0.1.


-- 
           Summary: ICE on unexpected ELSE statement
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2006-05-08 10:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-02  9:08 [Bug fortran/27378] New: ICE on unexpected ELSE statement reichelt at gcc dot gnu dot org
2006-05-02 16:57 ` [Bug fortran/27378] " steven at gcc dot gnu dot org
2006-05-02 19:28 ` kargl at gcc dot gnu dot org
2006-05-07 16:33 ` fxcoudert at gcc dot gnu dot org
2006-05-07 16:37 ` [Bug fortran/27378] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-05-08 10:43 ` fxcoudert at gcc dot gnu dot org
2006-05-08 10:46 ` fxcoudert at gcc dot gnu dot 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).