| Submitter | Andreas Schwab |
|---|---|
| Date | Oct. 12, 2012, 5:09 p.m. |
| Message ID | <m2vcefy5vg.fsf@igel.home> |
| Download | mbox | patch |
| Permalink | /patch/191164/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-52.C b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-52.C index 0f87fd4..08906aa 100644 --- a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-52.C +++ b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-52.C @@ -16,6 +16,6 @@ main () static_assert (__alignof__ (a) == 16, "alignof (a) should be 16"); static_assert (__alignof__ (b) == 16, "alignof (b) should be 16"); - static_assert (__alignof__ (aa) == 4, "alignof (aa) should be 4"); + static_assert (__alignof__ (aa) <= 4, "alignof (aa) should be <=4"); static_assert (__alignof__ (bb) == 16, "alignof (bb) should be 16"); }