aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-04-07 00:22:55 -0400
committerJason Merrill <jason@redhat.com>2020-04-07 16:49:29 -0400
commit31449cf8e119bbe172a68689068591827472da5c (patch)
tree95d85f2965934a6c8f971f4f2d4fe43aa5af4cbf /libphobos/src
parentc23c899aedf11069e992eed7358802b262d62f98 (diff)
downloadgcc-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 'libphobos/src')
0 files changed, 0 insertions, 0 deletions