[Bug c/72816] [5/6/7 Regression] 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)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 7 09:49:00 GMT 2016


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Aug  7 09:49:14 2016
New Revision: 239218

URL: https://gcc.gnu.org/viewcvs?rev=239218&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr72816.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/stor-layout.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list