From: John Wolfe Date: Thu, 10 Mar 2022 19:36:24 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-12.1.0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b47748c330f1fa495f099db0d6fcc300f9e82240;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index fd6567fd8..936a3517f 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -884,6 +884,11 @@ typedef int pid_t; * wasted. On x86, GCC 6.3.0 behaves sub-optimally when variables are declared * on the stack using the aligned attribute, so this pattern is preferred. * See PRs 1795155, 1819963. + * + * GCC9 has been shown to exhibit aliasing issues when using + * '-fstrict-aliasing=2' that did not happen under GCC6 with this + * construct. + * See @9503890, PR 2906490. */ #define WITH_PTR_TO_ALIGNED_VAR(_type, _align, _var) \ do { \