[PATCH] Fix PR 81721: ICE with PCH and Pragma warning and C++ operator
libcpp/ChangeLog: 2019-05-19 Andrew Pinski <apinski@marvell.com> PR pch/81721 * lex.c (cpp_token_val_index <case SPELL_OPERATOR>): If tok->flags has NAMED_OP set, then return CPP_TOKEN_FLD_NODE. gcc/testsuite/ChangeLog: 2019-05-19 Andrew Pinski <apinski@marvell.com> PR pch/81721 * g++.dg/pch/operator-1.C: New testcase. * g++.dg/pch/operator-1.Hs: New file. From-SVN: r271395
This commit is contained in:
committed by
Andrew Pinski
parent
55fd9fcd83
commit
3f23e487f3
@@ -1,3 +1,9 @@
|
||||
2019-05-19 Andrew Pinski <apinski@marvell.com>
|
||||
|
||||
PR pch/81721
|
||||
* lex.c (cpp_token_val_index <case SPELL_OPERATOR>): If tok->flags
|
||||
has NAMED_OP set, then return CPP_TOKEN_FLD_NODE.
|
||||
|
||||
2019-05-14 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR preprocessor/90382
|
||||
|
||||
Reference in New Issue
Block a user