https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|paolo.carlini at oracle dot com |hubicka at ucw dot cz --- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> --- Thanks Honza. Note that normally (in decl2.c, rtti.c) we call decl_needed_p *only* when DECL_NOT_REALLY_EXTERN is false or even DECL_EXTERNAL is false! Thus the check indeed seems redundant.