aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-02-26 15:37:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-02-26 15:37:39 +0100
commitc7f7c313c0da09232ced316ebb9806bd0f70405c (patch)
tree042a5de16a25d6b84a493f189ce6d45b60833c41 /libcpp
parent01c3ddcffb38e92e0f59aeb270e4848a5b8941f0 (diff)
downloadgcc-c7f7c313c0da09232ced316ebb9806bd0f70405c.zip
gcc-c7f7c313c0da09232ced316ebb9806bd0f70405c.tar.gz
gcc-c7f7c313c0da09232ced316ebb9806bd0f70405c.tar.bz2
re PR c++/89481 (constexpr function allows writing one active union member and reading another)
PR c++/89481 * constexpr.c (cxx_eval_store_expression): When changing active union member, set no_zero_init. * g++.dg/cpp1y/constexpr-89481.C: New test. From-SVN: r269213
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions