http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-22 13:34:15 UTC --- Oops, typo - it should be else if (!flag_wpa && TREE_CODE (t) == TYPE_DECL) debug_hooks->type_decl (t, !DECL_FILE_SCOPE_P (t)); (note the negation before the predicate).