aboutsummaryrefslogtreecommitdiff
path: root/libiberty/bcmp.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-01-04 14:39:52 -0500
committerJason Merrill <jason@redhat.com>2022-01-06 19:22:47 -0500
commitad64a821970ef5547d77ece22d302b0e599ae0d2 (patch)
tree63583a9e484c17f68f91715ea8f318a956cf1e3c /libiberty/bcmp.c
parent11ce8d04f29417f2541d9b9bbfb54b3b26d7a90d (diff)
downloadgcc-ad64a821970ef5547d77ece22d302b0e599ae0d2.zip
gcc-ad64a821970ef5547d77ece22d302b0e599ae0d2.tar.gz
gcc-ad64a821970ef5547d77ece22d302b0e599ae0d2.tar.bz2
c++: don't preevaluate new-initializer
The preevaluation code was causing trouble with my fix for PR94041, and now I see that it's actually wrong since P0145 was adopted for C++17, mandating order of evaluation for many expressions that were previously unspecified. I don't see a need to preserve the preevaluation code for older standard modes. gcc/cp/ChangeLog: * init.c (build_new_1): Remove preevaluation code. gcc/testsuite/ChangeLog: * g++.old-deja/g++.martin/new1.C: Don't expect preeval. * g++.dg/tree-ssa/stabilize1.C: Removed.
Diffstat (limited to 'libiberty/bcmp.c')
0 files changed, 0 insertions, 0 deletions