aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2022-06-02 15:56:18 -0400
committerMarek Polacek <polacek@redhat.com>2022-06-02 16:28:40 -0400
commit2423f6548405185e256036df3d0ef3c13fd996c5 (patch)
treebb63df71df5e1b06925f0a10b20a4461f92dd832 /gcc/go
parent7b98910406b5000a6429c188b0c6cc14e3140637 (diff)
downloadgcc-2423f6548405185e256036df3d0ef3c13fd996c5.zip
gcc-2423f6548405185e256036df3d0ef3c13fd996c5.tar.gz
gcc-2423f6548405185e256036df3d0ef3c13fd996c5.tar.bz2
c++: new-expression is potentially constant in C++20
... so adjust p_c_e accordingly. gcc/cp/ChangeLog: * constexpr.cc (potential_constant_expression_1): Treat {,VEC_}NEW_EXPR and {,VEC_}DELETE_EXPRas potentially constant in C++20.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions