https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at ucw dot cz --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- I don't understand, sorry. This isn't the same issue, is it? The initial issue was that we don't want to pass the naked decl to lookup_attribute. Then, what else? Anyway, this code got added with this patch (r218769): https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01195.html Let's add Honza in CC.