https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63580
--- Comment #2 from marxin at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > You miss to mark p1 addressable in the alias decl (that is, copy > TREE_ADDRESSABLE). As I can see, ICF creates thunk to a localalias of foo. At which please I should preserve addressable attribute? Thanks, Martin