diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-03-21 19:47:24 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-03-23 05:25:45 -0700 |
commit | 9c89c9e9c6b59260c7745c8714b69f94784a9c13 (patch) | |
tree | 4bc16429bd01613229df74b9ad624a4cb5b36790 /gcc/fortran/trans-decl.c | |
parent | 6acd6692f1ac3c2ece3da36178df73e3b12c4f65 (diff) | |
download | gcc-9c89c9e9c6b59260c7745c8714b69f94784a9c13.zip gcc-9c89c9e9c6b59260c7745c8714b69f94784a9c13.tar.gz gcc-9c89c9e9c6b59260c7745c8714b69f94784a9c13.tar.bz2 |
x86: Add __volatile__ to __cpuid and __cpuid_count
Since CPUID instruction may return different values on hybrid core.
volatile is needed on asm statements in <cpuid.h>.
PR target/99704
* config/i386/cpuid.h (__cpuid): Add __volatile__.
(__cpuid_count): Likewise.
Diffstat (limited to 'gcc/fortran/trans-decl.c')
0 files changed, 0 insertions, 0 deletions