aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-04-07 00:45:26 -0400
committerJason Merrill <jason@redhat.com>2020-04-08 01:12:12 -0400
commit845d451e1f73d8a9a84382c3c6d4fca9c8220403 (patch)
tree72b481f86d22f55976656952389f782a7316d498 /gcc/c/c-parser.c
parentf1a6150ecb7b17f068150e98bc107d730604f5b6 (diff)
downloadgcc-845d451e1f73d8a9a84382c3c6d4fca9c8220403.zip
gcc-845d451e1f73d8a9a84382c3c6d4fca9c8220403.tar.gz
gcc-845d451e1f73d8a9a84382c3c6d4fca9c8220403.tar.bz2
c++: requires-expression and tentative parse [PR94480]
The problem here was that cp_parser_requires_expression committing to a tentative parse confused cp_parser_decltype_expr, which needs to still be tentative. The only reason to commit here is to get syntax errors within the requires-expression, which we can still do when the commit is firewalled from the enclosing context. gcc/cp/ChangeLog 2020-04-07 Jason Merrill <jason@redhat.com> PR c++/94480 * parser.c (cp_parser_requires_expression): Use tentative_firewall.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions