This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81656] incompatible _Alignas silently accepted
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Aug 2017 22:44:28 +0000
- Subject: [Bug c/81656] incompatible _Alignas silently accepted
- Auto-submitted: auto-generated
- References: <bug-81656-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81656
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
To be clear: that requirement is not a constraint, so no diagnostic is
required. Diagnosis may make sense for _Alignas, but I don't think
different choices of __attribute__ ((aligned)) should be diagnosed, as a
matter of compatibility with existing code.