[Bug c++/48483] Construct from yourself w/o warning
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Apr 7 01:39:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483
--- Comment #6 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-07 01:38:53 UTC ---
> there's a limit to how much silliness the compiler can catch,
> at some point you have to just not write silly code ;)
Yes, these reduced fragments look embarrassing.
Of course, compiler is not a tool for static checking. So, it's simply a small
enhancement request, rather then a complain about bugs in GCC. GCC devs should
concentrate efforts on real bugs. Still, it would be good if somebody will fix
this thing.
More information about the Gcc-bugs
mailing list