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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2018-09-14 00:00:00         |2024-4-6
            Summary|Types and variables differ  |Types and variables differ
                   |in handling of multiple     |in handling of multiple
                   |instances of attribute      |instances of attribute
                   |aligned                     |aligned/alignas

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed even using standard C++11 style attributes/alingof fails:
```
struct alignas(32) alignas(16) A {} ;

extern int x alignas(32) alignas(16);

extern int chk[32];
extern int chk[alignof(struct A)];
```

Which works with clang, MSVC and EDG.

Reply via email to