[Bug c/53037] warn_if_not_aligned(X)
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Aug 21 14:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037
--- Comment #37 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andreas Schwab from comment #35)
> On m68k:
>
> FAIL: gcc.dg/pr53037-1.c (test for warnings, line 42)
> FAIL: gcc.dg/pr53037-1.c (test for warnings, line 75)
> FAIL: gcc.dg/pr53037-1.c (test for excess errors)
> Excess errors:
> /daten/aranym/gcc/gcc-20170821/gcc/testsuite/gcc.dg/pr53037-1.c:42:1:
> warning: alignment 2 of 'struct foo5' is less than 16 [-Wif-not-aligned]
> /daten/aranym/gcc/gcc-20170821/gcc/testsuite/gcc.dg/pr53037-1.c:75:1:
> warning: alignment 2 of 'union bar3' is less than 16 [-Wif-not-aligned]
>
> FAIL: g++.dg/pr53037-1.C -std=gnu++98 (test for warnings, line 38)
> FAIL: g++.dg/pr53037-1.C -std=gnu++98 (test for warnings, line 71)
> FAIL: g++.dg/pr53037-1.C -std=gnu++98 (test for excess errors)
> Excess errors:
> /daten/aranym/gcc/gcc-20170821/gcc/testsuite/g++.dg/pr53037-1.C:38:8:
> warning: alignment 2 of 'foo5' is less than 16 [-Wif-not-aligned]
> /daten/aranym/gcc/gcc-20170821/gcc/testsuite/g++.dg/pr53037-1.C:71:7:
> warning: alignment 2 of 'bar3' is less than 16 [-Wif-not-aligned]
A patch is posted at
https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01193.html
More information about the Gcc-bugs
mailing list