https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80088
--- Comment #4 from Christophe Lyon <clyon at gcc dot gnu.org> --- I can confirm that Ubuntu's gcc is based on the Linaro one. And we did backport patches to support target attributes, so it's indeed likely that it is a Linaro-only issue. I've noticed you have a reported the bug in the Linaro tracker already, thanks.