https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92721
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- On second thought, either decl_attributes() (or maybe even handle_access_attribute()) could arrange to add the internal, condensed form of the attributes to the function type without modifying the "expanded" (human-readable) attributes. That would preserve the "optimization" (although I'm not sure how much using the condensed form gains over the expanded form).