https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80225
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- This is fixed in gcc-7: pr80225.c: In function ‘int main()’: pr80225.c:5:61: error: invalid 'asm': invalid use of asm flag output asm("lar %0, %1;" : "=@ccz"(z), "=r"(ar) : "rm"(0x1234)); As this is ICE-on-invalid bug, there is no plan for a backport.