public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13622] New: g++ seg fault on parenthesized block of value class with copy constructor
@ 2004-01-09  0:07 cjj at u dot washington dot edu
  2004-01-09  0:11 ` [Bug c++/13622] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: cjj at u dot washington dot edu @ 2004-01-09  0:07 UTC (permalink / raw)
  To: gcc-bugs

Compiling the following program results a segmentation fault.
 
===
struct G
{
        G() {}
        G(const G &) {}
};
 
int main()
{
        G a(({G();}));
        return 0;
}

-- 
           Summary: g++ seg fault on parenthesized block of value class with
                    copy constructor
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cjj at u dot washington dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/13622] g++ seg fault on parenthesized block of value class with copy constructor
  2004-01-09  0:07 [Bug c++/13622] New: g++ seg fault on parenthesized block of value class with copy constructor cjj at u dot washington dot edu
@ 2004-01-09  0:11 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-09  0:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-09 00:11 -------
Fixed for 3.4 and is not going to be fixed for 3.3.3, statement expressions are evil.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


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


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

end of thread, other threads:[~2004-01-09  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-09  0:07 [Bug c++/13622] New: g++ seg fault on parenthesized block of value class with copy constructor cjj at u dot washington dot edu
2004-01-09  0:11 ` [Bug c++/13622] " 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).