re PR c/53037 (warn_if_not_aligned(X))
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Nov 2017 17:37:29 +0000 (17:37 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 7 Nov 2017 17:37:29 +0000 (17:37 +0000)
commit02d7065ff47470c8f5229dafae4a25819aabe523
tree3c3989b9bdd62e3c2ec08f995f5709cc0d8e4b38
parent15ad44e7ecf1e18cd0a4801698ed2ee98f7028e6
re PR c/53037 (warn_if_not_aligned(X))

PR c/53037
* stor-layout.c: Include attribs.h.
(handle_warn_if_not_align): Replace test on TYPE_USER_ALIGN with
explicit lookup of "aligned" attribute.

From-SVN: r254503
gcc/ChangeLog
gcc/stor-layout.c