diff options
author | Jason Merrill <jason@redhat.com> | 2020-01-10 13:47:02 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2020-01-10 13:47:02 -0500 |
commit | e0804c9b5efdf17bbfb692a787df36b86f71af8d (patch) | |
tree | 85f98decaabbf13fa0629a17b3dd0716131067bb /gcc/config.gcc | |
parent | 640b23d7ff5f3fad005dcbfb04a36e27000fc150 (diff) | |
download | gcc-e0804c9b5efdf17bbfb692a787df36b86f71af8d.zip gcc-e0804c9b5efdf17bbfb692a787df36b86f71af8d.tar.gz gcc-e0804c9b5efdf17bbfb692a787df36b86f71af8d.tar.bz2 |
PR c++/93143 - incorrect tree sharing with constexpr.
We don't unshare CONSTRUCTORs as often during constexpr evaluation, so we
need to unshare them here.
* constexpr.c (cxx_eval_outermost_constant_expr): Don't assume
CONSTRUCTORs are already unshared.
From-SVN: r280127
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions