]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Thu, 10 Mar 2022 19:36:24 +0000 (11:36 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Thu, 10 Mar 2022 19:36:24 +0000 (11:36 -0800)
open-vm-tools/lib/include/vm_basic_defs.h

index fd6567fd81d295f653843ae61cfec263532bbf70..936a3517fefa578504eac0c36eafd443c57a7292 100644 (file)
@@ -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 {                                                                  \