https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97779
Bug ID: 97779 Summary: Newest releases/gcc-10 cannot build because lack of PTA_CLDEMOTE Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: icenowy at aosc dot io Target Milestone: --- When building GCC commit 454702f5213a7a8b6b3581c29c817b952ce0f184 on x86-64 natively, I met this failure: ``` In file included from ./tm.h:26, from /var/cache/acbs/build/acbs.ctuyh9m4/gcc/gcc/gencheck.c:23: /var/cache/acbs/build/acbs.ctuyh9m4/gcc/gcc/config/i386/i386.h:2481:46: error: 'PTA_CLDEMOTE' was not declared in this scope; did you mean 'PTA_CLZERO'? 2481 | | PTA_GFNI | PTA_MOVDIRI | PTA_MOVDIR64B | PTA_CLDEMOTE | PTA_WAITPKG; | ^~~~~~~~~~~~ | PTA_CLZERO /var/cache/acbs/build/acbs.ctuyh9m4/gcc/gcc/config/i386/i386.h:2480:24: warning: 'PTA_TREMONT' defined but not used [-Wunused-variable] 2480 | const wide_int_bitmask PTA_TREMONT = PTA_GOLDMONT_PLUS | PTA_CLWB | ^~~~~~~~~~~ ``` This seems to be a issue of commit 3ec6a380bda3d2193925e1c017ea2739476cc125 , which adds this macro to PTA_TREMONT.