https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78897
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Feb 10 20:08:39 2017 New Revision: 245342 URL: https://gcc.gnu.org/viewcvs?rev=245342&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: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-union1.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/constexpr.c