r244550 - in /branches/gcc-6-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Jan 17 20:30:00 GMT 2017
Author: jakub
Date: Tue Jan 17 20:30:25 2017
New Revision: 244550
URL: https://gcc.gnu.org/viewcvs?rev=244550&root=gcc&view=rev
Log:
Backported from mainline
2017-01-04 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr71182.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/parser.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list