public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27422]  New: [4.0/4.1/4.2 regression] ICE with invalid function argument
@ 2006-05-04 15:12 reichelt at gcc dot gnu dot org
  2006-05-04 15:27 ` [Bug c++/27422] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-04 15:12 UTC (permalink / raw)
  To: gcc-bugs

The C++ frontend ICEs on the following invalid code snippet since GCC 3.0:

==============================
void foo(void i);
void bar() { foo(0); }
==============================

bug.cc:1: error: 'i' has incomplete type
bug.cc:1: error: invalid use of 'void'
bug.cc: In function 'void bar()':
bug.cc:2: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in convert_arguments, at cp/typeck.c:2749
Please submit a full bug report, [etc.]


-- 
           Summary: [4.0/4.1/4.2 regression] ICE with invalid function
                    argument
           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=27422


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

end of thread, other threads:[~2006-05-15 19:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04 15:12 [Bug c++/27422] New: [4.0/4.1/4.2 regression] ICE with invalid function argument reichelt at gcc dot gnu dot org
2006-05-04 15:27 ` [Bug c++/27422] " pinskia at gcc dot gnu dot org
2006-05-04 20:06 ` reichelt at gcc dot gnu dot org
2006-05-04 21:31 ` pinskia at gcc dot gnu dot org
2006-05-05 20:04 ` patchapp at dberlin dot org
2006-05-06  0:20 ` reichelt at gcc dot gnu dot org
2006-05-06  0:24 ` reichelt at gcc dot gnu dot org
2006-05-06  0:27 ` reichelt at gcc dot gnu dot org
2006-05-06  0:35 ` reichelt at gcc dot gnu dot org
2006-05-15 19:34 ` patchapp at dberlin 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).