public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42538]  New: ICE on illegal-code: tree check: expected function_decl, have var_decl in start_function, at c-decl.c:7369
@ 2009-12-29 13:22 debian-gcc at lists dot debian dot org
  2009-12-29 13:24 ` [Bug c/42538] " debian-gcc at lists dot debian dot org
  2009-12-29 17:23 ` hjl dot tools at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-12-29 13:22 UTC (permalink / raw)
  To: gcc-bugs

seen on 4.2, 4.3, 4.4, 4.5 (not checked earlier versions):

$ gzip -9v ~/main.i 
$ gcc-4.4 main.i 
/home/vladimir/Documents/Sondage/main.c:12: error: declaration of 'Saisie' as
array of voids
/home/vladimir/Documents/Sondage/main.c:12: error: return type is an incomplete
type
/home/vladimir/Documents/Sondage/main.c: In function 'Saisie':
/home/vladimir/Documents/Sondage/main.c:12: error: expected declaration
specifiers before ')' token
/home/vladimir/Documents/Sondage/main.c:31: error: expected declaration
specifiers before 'main'
/home/vladimir/Documents/Sondage/main.c:34: confused by earlier errors, bailing
out
Preprocessed source stored into /tmp/ccOvpYVY.out file, please attach this to
your bugreport.

$ /usr/lib/gcc-snapshot/bin/gcc main.i 
/home/vladimir/Documents/Sondage/main.c:12:6: error: declaration of 'Saisie' as
array of voids
/home/vladimir/Documents/Sondage/main.c:12:1: internal compiler error: tree
check: expected function_decl, have var_decl in start_function, at
c-decl.c:7369
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: ICE on illegal-code: tree check: expected function_decl,
                    have var_decl in start_function, at c-decl.c:7369
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


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

end of thread, other threads:[~2009-12-29 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 13:22 [Bug c/42538] New: ICE on illegal-code: tree check: expected function_decl, have var_decl in start_function, at c-decl.c:7369 debian-gcc at lists dot debian dot org
2009-12-29 13:24 ` [Bug c/42538] " debian-gcc at lists dot debian dot org
2009-12-29 17:23 ` hjl dot tools at gmail dot com

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).