aboutsummaryrefslogtreecommitdiff
path: root/libffi/src/tile
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2025-09-12 23:26:20 +1000
committerNathaniel Shead <nathanieloshead@gmail.com>2026-02-01 12:10:27 +1100
commitff7d7898bb40d4bc72ad157d48eaa42fbe022512 (patch)
tree72c6c18f52bf000fb3a34f87f7a2d7a721e7e5b9 /libffi/src/tile
parent56d85ab2a552db247dda7310ed68377cdf42c7bc (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
c++: Fix error recovery after export keyword [PR121832]HEADtrunkmaster
When we enter cp_parser_explicit_template_declaration with the following tokens being 'template <>', we never parse a parameter list and so with -fconcepts we crash dereferencing a null pointer. This can currently only happen after a non-modules 'export' declaration, as all other paths check early for this case. PR c++/121832 gcc/cp/ChangeLog: * parser.cc (cp_parser_explicit_template_declaration): Check for null. gcc/testsuite/ChangeLog: * g++.dg/concepts/pr121832.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'libffi/src/tile')
0 files changed, 0 insertions, 0 deletions