https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105251
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Khem Raj from comment #0) > This testcase below fails to compile with gcc12 on aarch64 but works ok with > gcc11 [...] > #ifdef __cpp_lib_hardware_interference_size > using std::hardware_constructive_interference_size; > using std::hardware_destructive_interference_size; Not a bug. This is defined for GCC 12, and your assumption about the destructive size is wrong. It's 256 for aarch64. See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Winterference-size for relevant options.