re PR c/72816 (ICE on x86_64-linux-gnu (tree check: expected tree that contains ...
authorJakub Jelinek <jakub@redhat.com>
Sun, 7 Aug 2016 09:49:14 +0000 (11:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 7 Aug 2016 09:49:14 +0000 (11:49 +0200)
commit4a9f8a9f7c5a75c266bba5be0c08071d18ed23c6
tree2d410bd345f7b2e9308e2a8de2908598f470c7c3
parent47e0b45f626798ceb75fac2c0ffd1d3e0b8baead
re PR c/72816 (ICE on x86_64-linux-gnu (tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1282))

PR c/72816
* stor-layout.c (layout_decl): Fix up formatting.
(relayout_decl): Allow DECL to be FIELD_DECL.

* gcc.dg/pr72816.c: New test.

From-SVN: r239218
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr72816.c [new file with mode: 0644]