http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51185
--- Comment #2 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2011-11-17 10:58:09 UTC --- (In reply to comment #1) The root of the problem is that __is_base_to_derived_ref works on source references solely. I need a bit time for a proper fix.