This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51674] No errors on non-existent symbol in constructor
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Dec 2011 14:12:08 +0000
- Subject: [Bug c++/51674] No errors on non-existent symbol in constructor
- Auto-submitted: auto-generated
- References: <bug-51674-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51674
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-24 14:12:08 UTC ---
that doesn't call a constructor, it declares an object called a, so is
identical to:
Foo()
{
Foo a;
}
which causes an infinite recursion