aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-06-16 00:19:53 -0400
committerJason Merrill <jason@redhat.com>2020-06-17 15:08:42 -0400
commit14c831f5ef614aabb6a8c85712fb166600e6cc05 (patch)
tree77518af0424598f7533f1eff7f30a44bae69c995 /gcc/cp/class.c
parentda2c9054f1596b71e3c81efd62b6cef348e445b4 (diff)
downloadgcc-14c831f5ef614aabb6a8c85712fb166600e6cc05.zip
gcc-14c831f5ef614aabb6a8c85712fb166600e6cc05.tar.gz
gcc-14c831f5ef614aabb6a8c85712fb166600e6cc05.tar.bz2
c++: Fix consteval operator handling.
We were crashing trying to find the CALL_EXPR in the result of a call to a consteval operator. gcc/cp/ChangeLog: * call.c (build_new_op_1): Don't look for a CALL_EXPR when calling a consteval function. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/consteval17.C: New test.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions