------- Comment #2 from pinskia at gcc dot gnu dot org 2010-08-07 01:33 ------- Confirmed, the issue has to do with multiple base classes and how NULL pointers are handled during an upcast.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2010-08-07 01:33:06 date| | Summary|missed optimization on |missed optimization with |casting pointers even under |multiple bases and up |-O3 |casting and dereferencing http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45221