diff options
author | Jason Merrill <jason@redhat.com> | 2020-04-07 00:22:55 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-04-07 16:49:29 -0400 |
commit | 31449cf8e119bbe172a68689068591827472da5c (patch) | |
tree | 95d85f2965934a6c8f971f4f2d4fe43aa5af4cbf /gcc/omp-grid.c | |
parent | c23c899aedf11069e992eed7358802b262d62f98 (diff) | |
download | gcc-31449cf8e119bbe172a68689068591827472da5c.zip gcc-31449cf8e119bbe172a68689068591827472da5c.tar.gz gcc-31449cf8e119bbe172a68689068591827472da5c.tar.bz2 |
c++: ICE on invalid concept placeholder [PR94481].
Here the 'decltype' is missing '(auto)', so open_paren was NULL, and trying
to get its location is a SEGV. Using matching_parens avoids that problem.
gcc/cp/ChangeLog
2020-04-07 Jason Merrill <jason@redhat.com>
PR c++/94481
* parser.c (cp_parser_placeholder_type_specifier): Use
matching_parens.
Diffstat (limited to 'gcc/omp-grid.c')
0 files changed, 0 insertions, 0 deletions