r271395 - in /trunk: gcc/testsuite/ChangeLog gc...

pinskia@gcc.gnu.org pinskia@gcc.gnu.org
Mon May 20 06:59:00 GMT 2019


Author: pinskia
Date: Mon May 20 06:59:06 2019
New Revision: 271395

URL: https://gcc.gnu.org/viewcvs?rev=271395&root=gcc&view=rev
Log:
[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.


Added:
    trunk/gcc/testsuite/g++.dg/pch/operator-1.C
    trunk/gcc/testsuite/g++.dg/pch/operator-1.Hs
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/lex.c



More information about the Gcc-cvs mailing list