re PR c++/87386 (Error message for static_assert show wrong range)
authorJakub Jelinek <jakub@redhat.com>
Thu, 22 Nov 2018 09:26:29 +0000 (10:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 22 Nov 2018 09:26:29 +0000 (10:26 +0100)
commit3bcd988251e21dbc5bc6617b1c67aad6cf24a465
tree20b684332a75aafb0ef85201fcf449b25f7aaa2f
parent577fe16a1aa9f4c7e5634a59830d663c93779c5c
re PR c++/87386 (Error message for static_assert show wrong range)

PR c++/87386
* parser.c (cp_parser_operator): Use str.get_value () instead of just
str in USERDEF_LITERAL_VALUE and USERDEF_LITERAL_SUFFIX_ID arguments.

From-SVN: r266369
gcc/cp/ChangeLog
gcc/cp/parser.c