https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99704
Bug ID: 99704 Summary: volatile is needed on asm statements in <cpuid.h> Product: gcc Version: 9.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com, ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 Since CPUID instruction may return different values on hybrid core. volatile is needed on asm statements in <cpuid.h>.