public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27719]  New: ICE on invalid function definition
@ 2006-05-22 13:15 reichelt at gcc dot gnu dot org
  2006-05-22 13:52 ` [Bug c/27719] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-22 13:15 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE in the C frontend
since at least GCC 2.95.3:

==================
void foo()[] {}
==================

bug.c:1: error: declaration of 'foo' as array of voids
bug.c:1: internal compiler error: tree check: expected function_decl, have
var_decl in start_function, at c-decl.c:5933
Please submit a full bug report, [etc.]


-- 
           Summary: ICE on invalid function definition
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c
        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=27719


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-27719-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2013-10-21 19:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-22 13:15 [Bug c/27719] New: ICE on invalid function definition reichelt at gcc dot gnu dot org
2006-05-22 13:52 ` [Bug c/27719] " pinskia at gcc dot gnu dot org
2007-01-15 19:52 ` aldot at gcc dot gnu dot org
2007-01-15 19:58 ` pinskia at gcc dot gnu dot org
2009-02-21 13:17 ` jsm28 at gcc dot gnu dot org
     [not found] <bug-27719-4@http.gcc.gnu.org/bugzilla/>
2012-01-28 22:15 ` pinskia at gcc dot gnu.org
2013-10-21 19:49 ` mpolacek 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).