aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-01-04 21:05:14 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-01-04 21:05:14 +0100
commit066435fe10c4982780b05844793ddf287ac1d225 (patch)
tree703db28e3bf3d68d2213426b81d687c7014bf97c /libcpp
parentfb85f9d05f09a3e122d702f85b8af306a3999357 (diff)
downloadgcc-066435fe10c4982780b05844793ddf287ac1d225.zip
gcc-066435fe10c4982780b05844793ddf287ac1d225.tar.gz
gcc-066435fe10c4982780b05844793ddf287ac1d225.tar.bz2
re PR c++/71182 (parser.c cp_lexer_previous_token sanitizer detects member call on null pointer)
PR c++/71182 * parser.c (cp_lexer_previous_token): Use vec_safe_address in the assertion, as lexer->buffer may be NULL. * g++.dg/cpp0x/pr71182.C: New test. From-SVN: r244070
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions