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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 10 18:50:30 2017
New Revision: 245341

URL: https://gcc.gnu.org/viewcvs?rev=245341&root=gcc&view=rev
Log:
        PR c++/78897 - constexpr union

        * constexpr.c (cxx_eval_store_expression): A store to a union member
        erases a previous store to another member.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-union1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c

Reply via email to