This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13622] New: g++ seg fault on parenthesized block of value class with copy constructor
- From: "cjj at u dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2004 00:07:01 -0000
- Subject: [Bug c++/13622] New: g++ seg fault on parenthesized block of value class with copy constructor
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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