aboutsummaryrefslogtreecommitdiff
path: root/libgcc/memcpy.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-12-11 11:51:14 -0500
committerJason Merrill <jason@gcc.gnu.org>2019-12-11 11:51:14 -0500
commit7ae01728007dcfcdec117706191adeb922cf7b76 (patch)
treec7f78a1d65960375235d14476bfb315fee35b9af /libgcc/memcpy.c
parent0e5def817a5142dd3eeb91ce4acf9ea22a43ad94 (diff)
downloadgcc-7ae01728007dcfcdec117706191adeb922cf7b76.zip
gcc-7ae01728007dcfcdec117706191adeb922cf7b76.tar.gz
gcc-7ae01728007dcfcdec117706191adeb922cf7b76.tar.bz2
PR c++/92105 - decltype(decltype) error cascade.
The primary change here is to do the CPP_DECLTYPE replacement even when we get an error, so we don't keep trying and giving the same parse error each time. We also commit to the tentative firewall parse more often, leading to better diagnostics. * parser.c (cp_parser_decltype_expr): Don't tentative_firewall here. (cp_parser_decltype): Do it here. Remember a non-tentative error. From-SVN: r279237
Diffstat (limited to 'libgcc/memcpy.c')
0 files changed, 0 insertions, 0 deletions