aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2025-03-18 14:44:08 -0400
committerJason Merrill <jason@redhat.com>2025-03-18 16:20:22 -0400
commit145c90720640ec6711ed3e5aa4152bbe1ee21751 (patch)
tree5441d2132d11421ac21f2835c93a8558ff129b97 /libcpp
parent6751bd4ac48a8529e2476a6848a77e81de540814 (diff)
downloadgcc-145c90720640ec6711ed3e5aa4152bbe1ee21751.zip
gcc-145c90720640ec6711ed3e5aa4152bbe1ee21751.tar.gz
gcc-145c90720640ec6711ed3e5aa4152bbe1ee21751.tar.bz2
c++: constexpr ref template arg [PR119194]
Here we were assuming that a constant variable appearing in a template argument is used for its value. We also need to handle seeing its address taken. PR c++/119194 gcc/cp/ChangeLog: * decl2.cc (min_vis_expr_r) [ADDR_EXPR]: New case. gcc/testsuite/ChangeLog: * g++.dg/template/linkage7.C: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions