aboutsummaryrefslogtreecommitdiff
path: root/gcc/iterator-utils.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-01-21 11:03:26 -0500
committerJason Merrill <jason@redhat.com>2022-01-21 14:41:00 -0500
commit2e01fde49eab8dfb7ba48b22c2da596b16571525 (patch)
treef84355c2ba7ca6da9fdc1da1456ad9de358fbaa1 /gcc/iterator-utils.h
parent847a8301add0a316767878342c1367948835c181 (diff)
downloadgcc-2e01fde49eab8dfb7ba48b22c2da596b16571525.zip
gcc-2e01fde49eab8dfb7ba48b22c2da596b16571525.tar.gz
gcc-2e01fde49eab8dfb7ba48b22c2da596b16571525.tar.bz2
c++: explain failing static_assert
While looking at another bug I wanted the compiler to tell me what the two unequal values were. gcc/cp/ChangeLog: * semantics.cc (find_failing_clause): Return expr if not decomposable. (finish_static_assert): Show constant values in failing comparison. gcc/testsuite/ChangeLog: * g++.dg/template/explicit-args6.C: Add expected message.
Diffstat (limited to 'gcc/iterator-utils.h')
0 files changed, 0 insertions, 0 deletions