]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: don't warn about internal interference sizes
authorJason Merrill <jason@redhat.com>
Wed, 15 Sep 2021 13:30:10 +0000 (09:30 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 15 Sep 2021 15:30:37 +0000 (11:30 -0400)
commit4320a4b717dcccddf230d0b944bfc5a7ae282508
treed34684de1d39d6468f123349b22f6f33bc74764f
parentadddfc85c07143f7c8097a90a83bfb15b8bd52e8
c++: don't warn about internal interference sizes

Most any compilation on ARM/AArch64 was warning because the default L1 cache
line size of 32B was smaller than the default
std::hardware_constructive_interference_size of 64B.  This is mostly due to
inaccurate --param l1-cache-line-size, but it's not helpful to complain to a
user that didn't set the values.

gcc/cp/ChangeLog:

* decl.c (cxx_init_decl_processing): Only warn about odd
interference sizes if they were specified with --param.
gcc/cp/decl.c