aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-06-29 16:02:04 -0400
committerPatrick Palka <ppalka@redhat.com>2023-06-29 16:02:04 -0400
commitfd8a1be04d4cdbfefea457b99ed8404d77b35dd6 (patch)
treea70922d9f50369d258b60c20741981d10b509240 /gcc/tree-vect-patterns.cc
parent070a6bf0bdc6761ad77ac97404c98f00a7007d54 (diff)
downloadgcc-fd8a1be04d4cdbfefea457b99ed8404d77b35dd6.zip
gcc-fd8a1be04d4cdbfefea457b99ed8404d77b35dd6.tar.gz
gcc-fd8a1be04d4cdbfefea457b99ed8404d77b35dd6.tar.bz2
c++: unpropagated CONSTRUCTOR_MUTABLE_POISON [PR110463]
Here we're incorrectly accepting the mutable member accesses because cp_fold neglects to propagate CONSTRUCTOR_MUTABLE_POISON when folding a CONSTRUCTOR. PR c++/110463 gcc/cp/ChangeLog: * cp-gimplify.cc (cp_fold) <case CONSTRUCTOR>: Propagate CONSTRUCTOR_MUTABLE_POISON. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/constexpr-mutable6.C: New test.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions