Type* p; ... // no value assigned to p Type& r = *p; // should fail during compilation
-- Summary: reference initialization with compile-time bogus value Product: gcc Version: 3.3.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ivan at sierra-da dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: linux/x86/2.6 GCC host triplet: linux/x86/2.6 GCC target triplet: linux/x86/2.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23804