aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2024-01-30 10:13:41 -0500
committerPatrick Palka <ppalka@redhat.com>2024-01-30 10:13:41 -0500
commitaf37bef86199e50368cbfbc97befe0622a07f12f (patch)
tree49da7d3efffe280f4a66990c607e706393a2d527 /gcc/c
parent5525dd754b84cef3afe43dc7fdf27664873f137b (diff)
downloadgcc-af37bef86199e50368cbfbc97befe0622a07f12f.zip
gcc-af37bef86199e50368cbfbc97befe0622a07f12f.tar.gz
gcc-af37bef86199e50368cbfbc97befe0622a07f12f.tar.bz2
c++: unifying integer parm with type-dep arg [PR113644]
Here when trying to unify P=42 A=T::value we ICE due to the latter's empty type, which same_type_p dislikes. PR c++/113644 gcc/cp/ChangeLog: * pt.cc (unify) <case INTEGER_CST>: Handle NULL_TREE type. gcc/testsuite/ChangeLog: * g++.dg/template/nontype30.C: New test.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions