aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-12-17 22:40:14 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-12-17 22:40:14 +0100
commit775670d792fb8ff314ed519ff295583ab31d90ef (patch)
tree94943061d740b279a0ec3ea2703b678fad5b23f8 /gcc/ada/gcc-interface
parent7c32b0d5ccd3dcd0358f4fa2207713754b768649 (diff)
downloadgcc-775670d792fb8ff314ed519ff295583ab31d90ef.zip
gcc-775670d792fb8ff314ed519ff295583ab31d90ef.tar.gz
gcc-775670d792fb8ff314ed519ff295583ab31d90ef.tar.bz2
re PR c++/59655 (incorrect diagnostic on templatized function with lambda parameter)
PR c++/59655 * pt.c (push_tinst_level_loc): If limit_bad_template_recursion, set TREE_NO_WARNING on tldcl. * decl2.c (no_linkage_error): Treat templates with TREE_NO_WARNING as defined during error recovery. * g++.dg/cpp0x/diag3.C: New test. From-SVN: r279470
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions