http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55742
--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-16 08:11:42 UTC --- Merging of target attribute is what gcc/g++ did though, the function would get then both target attributes (seems later decl's target wins), and the first target attribute in DECL_ATTRIBUTES would be the one to be used. Perhaps we can add a -Wattributes warning for that case if mv attribute isn't present and are merging target attributes with different strings.