aboutsummaryrefslogtreecommitdiff
path: root/libcpp/init.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2024-04-29 21:14:18 -0400
committerPatrick Palka <ppalka@redhat.com>2024-04-29 21:14:18 -0400
commit3900e944b0ac9db77380c5bb8635977dfd3b0691 (patch)
treea3e4f629c412d45b61f82fd78d47746bc5302f29 /libcpp/init.cc
parent42d2e2f57e943c0f79940729d1ef1945388499de (diff)
downloadgcc-3900e944b0ac9db77380c5bb8635977dfd3b0691.zip
gcc-3900e944b0ac9db77380c5bb8635977dfd3b0691.tar.gz
gcc-3900e944b0ac9db77380c5bb8635977dfd3b0691.tar.bz2
c++: ICE with templated sizeof(E1) / sizeof(E2) [PR114888]
In the sizeof / sizeof operator expression handling we're missing a dependence check for the second operand. PR c++/114888 gcc/cp/ChangeLog: * typeck.cc (cp_build_binary_op) <case *_DIV_*>: Add missing dependence check for the second sizeof operand. gcc/testsuite/ChangeLog: * g++.dg/template/sizeof19.C: New test. Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libcpp/init.cc')
0 files changed, 0 insertions, 0 deletions