aboutsummaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-02-19 15:01:41 +0000
committerJonathan Wakely <jwakely@redhat.com>2020-02-19 15:28:45 +0000
commit5f031f9747fdfb04213c20d24f109fb5ffc877df (patch)
tree658c7d6af15e28d790c40d72f9fc488a0d316e37 /gcc/collect2.c
parent66ae31eb308e5bc90ce6dfd0a67381a0929a6aa0 (diff)
downloadgcc-5f031f9747fdfb04213c20d24f109fb5ffc877df.zip
gcc-5f031f9747fdfb04213c20d24f109fb5ffc877df.tar.gz
gcc-5f031f9747fdfb04213c20d24f109fb5ffc877df.tar.bz2
libstdc++: midpoint should not constrain T is complete (LWG 3200)
* include/std/numeric (midpoint(T8, T*)): Do not check for complete type during overload resolution, use static assert instead (LWG 3200). * testsuite/26_numerics/midpoint/pointer.cc: Do not test with incomplete type. * testsuite/26_numerics/midpoint/pointer_neg.cc: New test.
Diffstat (limited to 'gcc/collect2.c')
0 files changed, 0 insertions, 0 deletions