diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2018-08-17 15:42:23 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2018-08-24 09:26:50 +0200 |
commit | b6542ff823fb431b6f22724da5ab5cbbdfe01598 (patch) | |
tree | 04db74994fa2bebb6cc0e9409a896503564e6f81 /cfrontend/Cexec.v | |
parent | b5b368a37478de36929da9e1fa694f989d124764 (diff) | |
download | compcert-b6542ff823fb431b6f22724da5ab5cbbdfe01598.tar.gz compcert-b6542ff823fb431b6f22724da5ab5cbbdfe01598.zip |
Preserve attribute(("aligned")) in the AST, don't map it to _Alignas
We used to recognize attribute(("aligned"(N))) and map it to _Alignas(N)
during elaboration.
However, we want to restrict the places where _Alignas can occur, as
standardized in ISO C11, while leaving more freedom for the placement
of the "aligned" attribute.
As a first step in this direction, this commit keeps the "aligned"
attribute unchanged in the AST, and distinct from _Alignas attributes.
Both attributes are honored when it comes to determining the actual
alignment of a type.
Diffstat (limited to 'cfrontend/Cexec.v')
0 files changed, 0 insertions, 0 deletions