public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18389] New: [3.4/4.0 regression] ICE on struct declaration in for statement
@ 2004-11-09  2:41 reichelt at gcc dot gnu dot org
  2004-11-09  2:42 ` [Bug c++/18389] " reichelt 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 @ 2004-11-09  2:41 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet causes an ICE in 3.3.x, 3.4.3,
and mainline (but not in 3.4.[012]):

=========================
void foo()
{
   for (;struct A{};);
}
=========================

-- 
           Summary: [3.4/4.0 regression] ICE on struct declaration in for
                    statement
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-11-12 21:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09  2:41 [Bug c++/18389] New: [3.4/4.0 regression] ICE on struct declaration in for statement reichelt at gcc dot gnu dot org
2004-11-09  2:42 ` [Bug c++/18389] " reichelt at gcc dot gnu dot org
2004-11-09  2:47 ` pinskia at gcc dot gnu dot org
2004-11-12 18:32 ` mmitchel at gcc dot gnu dot org
2004-11-12 21:47 ` cvs-commit at gcc dot gnu dot org
2004-11-12 21:57 ` cvs-commit at gcc dot gnu dot org
2004-11-12 21:58 ` mmitchel 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).