r249845 - in /trunk/gcc: cp/ChangeLog cp/parser...

dmalcolm@gcc.gnu.org dmalcolm@gcc.gnu.org
Fri Jun 30 15:20:00 GMT 2017


Author: dmalcolm
Date: Fri Jun 30 15:20:55 2017
New Revision: 249845

URL: https://gcc.gnu.org/viewcvs?rev=249845&root=gcc&view=rev
Log:
Fix location of typeid() (PR c++/80014)

gcc/cp/ChangeLog:
	PR c++/80014
	* parser.c (cp_parser_postfix_expression): Construct a location
	for typeid expressions.

gcc/testsuite/ChangeLog:
	PR c++/80014
	* g++.dg/plugin/diagnostic-test-expressions-1.C (std::type_info):
	Add declaration.
	(test_typeid): New test function.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/plugin/diagnostic-test-expressions-1.C



More information about the Gcc-cvs mailing list