public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28730]  New: [4.0/4.1/4.2 regression] ICE with statement expressions and virtual destructors
@ 2006-08-14 22:21 reichelt at gcc dot gnu dot org
  2006-08-14 22:22 ` [Bug c++/28730] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-08-14 22:21 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE since GCC 4.0.0:

================================
struct A
{
  virtual ~A();
};

void foo()
{
  A a = ({ A b; b; });
}
================================

bug.cc: In function 'void foo()':
bug.cc:8: internal compiler error: in cp_expr_size, at cp/cp-objcp-common.c:101
Please submit a full bug report, [etc.]

This is related to PR 21440 and PR 27115.


-- 
           Summary: [4.0/4.1/4.2 regression] ICE with statement expressions
                    and virtual destructors
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, 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=28730


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

* [Bug c++/28730] [4.0/4.1/4.2 regression] ICE with statement expressions and virtual destructors
  2006-08-14 22:21 [Bug c++/28730] New: [4.0/4.1/4.2 regression] ICE with statement expressions and virtual destructors reichelt at gcc dot gnu dot org
@ 2006-08-14 22:22 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-14 22:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-14 22:22 -------
This is the same issue as PR 27115.

*** This bug has been marked as a duplicate of 27115 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2006-08-14 22:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-14 22:21 [Bug c++/28730] New: [4.0/4.1/4.2 regression] ICE with statement expressions and virtual destructors reichelt at gcc dot gnu dot org
2006-08-14 22:22 ` [Bug c++/28730] " 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).