[Bug c++/48483] Construct from yourself w/o warning
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 9 21:38:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483
--- Comment #20 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-02-09 21:37:38 UTC ---
(In reply to comment #18)
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483#c2
> shows that function calling of object before constructor is bad idea and must
> be strongly forbidden.
Lisp2D, I think you could start with the testcase in comment 16, and try to
figure out what would be needed to detect this case, as a firt step. All the
code you need to look is in the C++ FE. Use gdb and follow the code. See also
http://gcc.gnu.org/contribute.html and http://gcc.gnu.org/wiki/GettingStarted
But if you expect that someone else is going to fix this for you, I think you
may wait a long time. There are many bugs to fix.
More information about the Gcc-bugs
mailing list