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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
commit 357b96452a5fc70011df4f27b5d4dffc5e2f2603
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Nov 15 05:22:28 2016 +0000

    Various C++17 decomposition fixes.

            * tree.c (bitfield_p): New.
            * cp-tree.h: Declare it.
            * typeck.c (cxx_sizeof_expr, cxx_alignof_expr)
            (cp_build_addr_expr_1): Use it instead of DECL_C_BIT_FIELD.
            * decl.c (cp_finish_decomp): Look through reference.  Always
            SET_DECL_DECOMPOSITION_P.
            * semantics.c (finish_decltype_type): Adjust decomposition
handling.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242408
138bc75d-0d04-0410-961f-82ee72b054a4

Reply via email to