public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22293] New: [4.0/4.1 regression] ICE declaring destructor as friend
@ 2005-07-04 10:39 reichelt at gcc dot gnu dot org
  2005-07-04 10:44 ` [Bug c++/22293] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-04 10:39 UTC (permalink / raw)
  To: gcc-bugs

Since gcc 4.0.0 the following code snippet causes a segfault:

\x13================================
struct A
{
    friend ~A();
};
=================================

  bug.cc:3: internal compiler error: Segmentation fault
  Please submit a full bug report, [etc.]

The compiler used to give a warning before:

  bug.cc:3: warning: member functions are implicitly friends of their class

-- 
           Summary: [4.0/4.1 regression] ICE declaring destructor as friend
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, 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=22293


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-22293-1771@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-18 16:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-04 10:39 [Bug c++/22293] New: [4.0/4.1 regression] ICE declaring destructor as friend reichelt at gcc dot gnu dot org
2005-07-04 10:44 ` [Bug c++/22293] " pinskia at gcc dot gnu dot org
2005-07-04 10:52 ` pinskia at gcc dot gnu dot org
2005-08-03 17:25 ` reichelt at gcc dot gnu dot org
2005-08-08 14:23 ` reichelt at gcc dot gnu dot org
2005-09-10  5:21 ` pinskia at gcc dot gnu dot org
2005-09-27 16:09 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-22293-1771@http.gcc.gnu.org/bugzilla/>
2005-10-13 19:48 ` pinskia at gcc dot gnu dot org
2005-10-18 16:21 ` cvs-commit at gcc dot gnu dot org
2005-10-18 16:26 ` cvs-commit at gcc dot gnu dot org
2005-10-18 16:27 ` reichelt 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).