https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> --- 1) It wasn't defined behaviour before, so nothing changed in that regard. Many changes changes behaviour on invalid code. Not all invalid code gets a diagnostic. 2) Incompatible clang behaviour on GNU C extensions is not GCC's fault. 3) I've heard of only one program where this change showed this problem (Qt), and it has been fixed there long ago. So silly me thought that was the end of it. And then my backport was approved, too. 4) Yeah, a more specific diagnostic might be nice (not all qualifiers are asm qualifiers). This should go to trunk first then, of course.