https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88010
--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> --- > Yep, GCC considers attributes to be part of the definition of a function for > IPA passes. We are not consitent here (i.e. warning attributes on aliases > counts), so it makes sense to support this (and is not too difficult to do in > this case). Actually siplicity was bit overrated - currently all function redirection code eliminates aliases, so we will need to carefully update those so attributes are not lost. Still implementable.