public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19733] New: [3.4/4.0 regression] ICE on invalid destructor call
@ 2005-01-31 23:17 reichelt at gcc dot gnu dot org
  2005-02-01  0:03 ` [Bug c++/19733] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-31 23:17 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet causes an ICE since gcc 3.4.0:

==================================
struct A {};
void foo() { A().A::~~A(); }
==================================

Mainline's error message reads:

bug.cc: In function 'void foo()':
bug.cc:2: error: expected class-name before '~' token
bug.cc:2: error: expected `;' before '~' token
bug.cc:2: internal compiler error: in gimplify_expr, at gimplify.c:4065
Please submit a full bug report, [etc.]

-- 
           Summary: [3.4/4.0 regression] ICE on invalid destructor call
           Product: gcc
           Version: 4.0.0
            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=19733


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

end of thread, other threads:[~2005-02-09  3:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-31 23:17 [Bug c++/19733] New: [3.4/4.0 regression] ICE on invalid destructor call reichelt at gcc dot gnu dot org
2005-02-01  0:03 ` [Bug c++/19733] " pinskia at gcc dot gnu dot org
2005-02-08 15:14 ` mmitchel at gcc dot gnu dot org
2005-02-09  9:24 ` cvs-commit at gcc dot gnu dot org
2005-02-09  9:30 ` cvs-commit at gcc dot gnu dot org
2005-02-09  9:33 ` 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).