]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Fix warning on 32-bit x86
authorJason Merrill <jason@redhat.com>
Tue, 14 Sep 2021 02:35:18 +0000 (22:35 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 14 Sep 2021 03:16:39 +0000 (23:16 -0400)
commit22abfa3166c9af1a2a24fae8a2e5d45f4bc6950d
treedde92a6a1bc4e830851fa0d483cb1a5a35a4c952
parent07985c47dc79d90cea33dcd9f84ec288ab5df261
c++: Fix warning on 32-bit x86

My C++17 hardware interference sizes patch caused a bogus warning on 32-bit
x86, where we have a default L1 cache line size of 0, and the front end
complained that the default constructive interference size of 64 was larger
than that.

gcc/cp/ChangeLog:

* decl.c (cxx_init_decl_processing): Don't warn if L1 cache line
size is smaller than maxalign.
gcc/cp/decl.c