[Bug c++/14401] New: Uninitialized reference error not reported.
gwesp at flyelite dot ch
gcc-bugzilla@gcc.gnu.org
Wed Mar 3 08:37:00 GMT 2004
G++ erroneously compiles this code:
struct { struct { int& i ; } bar ; } foo ;
which should caues an error because the implicitly generated
constructor for foo.bar cannot initialize foo.bar.i .
--
Summary: Uninitialized reference error not reported.
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gwesp at flyelite dot ch
CC: gcc-bugs at gcc dot gnu dot org,gwesp at flyelite dot ch
GCC host triplet: Suse Linux 9.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14401
More information about the Gcc-bugs
mailing list