[Bug c++/45221] missed optimization with multiple bases and casting
navin dot kumar at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 7 17:28:00 GMT 2010
------- Comment #10 from navin dot kumar at gmail dot com 2010-08-07 17:27 -------
Richard, correct references in C++ cannot bind to NULL. So gcc should derive
non-NULL-ness when the argument is a reference. It seems to correctly do this
in the case of foo3 and fooB, but fails to do so for foo1 and fooA.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45221
More information about the Gcc-bugs
mailing list