public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/28299]  New: ICE with -Wmissing-prototypes
@ 2006-07-07 10:52 aldot at gcc dot gnu dot org
  2006-07-10 10:32 ` [Bug c/28299] " aldot at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-07-07 10:52 UTC (permalink / raw)
  To: gcc-bugs

$ cat ice.c
extern __typeof(foo) foo __asm__("") ;
void * foo (void) {};
$ gcc-4.2-HEAD -c ice.c -Wmissing-prototypes -o ice.o
ice.c:1: error: 'foo' undeclared here (not in a function)
ice.c:2: internal compiler error: tree check: expected function_type or
method_type, have integer_type in start_function, at c-decl.c:6039
Please submit a full bug report,
with preprocessed source if appropriate.

The ICE naturally goes away with -Wno-missing-prototype.

Maybe related to PR 27719


-- 
           Summary: ICE with -Wmissing-prototypes
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org


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


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

end of thread, other threads:[~2006-08-26  2:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 10:52 [Bug c/28299] New: ICE with -Wmissing-prototypes aldot at gcc dot gnu dot org
2006-07-10 10:32 ` [Bug c/28299] " aldot at gcc dot gnu dot org
2006-07-10 10:34 ` pinskia at gcc dot gnu dot org
2006-07-13 15:44 ` [Bug c/28299] [4.0/4.1/4.2 regression] " reichelt at gcc dot gnu dot org
2006-08-25 11:15 ` jsm28 at gcc dot gnu dot org
2006-08-25 21:12 ` jsm28 at gcc dot gnu dot org
2006-08-25 22:51 ` [Bug c/28299] [4.0/4.1 " jsm28 at gcc dot gnu dot org
2006-08-26  0:24 ` jsm28 at gcc dot gnu dot org
2006-08-26  2:36 ` pinskia 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).