[Bug c++/37854] No error when creating a variable from itself

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 16 16:23:00 GMT 2008



------- Comment #3 from paolo dot carlini at oracle dot com  2008-10-16 16:22 -------
In mainline (would be 4.4.0), with -Winit-self a warning is emitted for line 4
only. EDG-based compilers apparently do the same...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37854



More information about the Gcc-bugs mailing list