[Bug c++/69585] [C++ 11] parser errors mixing alignas, C++ 11 and GNU attributes on class declaration

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 1 00:52:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69585

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Blocks|                            |58601
      Known to fail|                            |4.9.3, 5.3.0, 6.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
As far as I can tell this never worked.  Adding rejects-valid since at least
some of the combinations in the test case seem like they should be accepted. 
If the decision is made to reject some or all of them, it would be nice to do
it more gracefully that by a parse error, and document the restriction in the
manual.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58601
[Bug 58601] [meta-bug] alignas


More information about the Gcc-bugs mailing list