https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112513
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |inline-asm
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
asm volatile("cpuid" : "=a" (cpuid1.val) : "a" (1) : "memory");
cpuid touches EAX, EBX, ECX, and EDX registers but in the above inline-asm,
only eax is marked as being touched.
https://faydoc.tripod.com/cpu/cpuid.htm