r269702 - in /trunk/gcc: ChangeLog fold-const.c...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Mar 15 09:23:00 GMT 2019


Author: jakub
Date: Fri Mar 15 09:23:11 2019
New Revision: 269702

URL: https://gcc.gnu.org/viewcvs?rev=269702&root=gcc&view=rev
Log:
	PR c++/89709
	* tree.c (inchash::add_expr): Strip any location wrappers.
	* fold-const.c (operand_equal_p): Move stripping of location wrapper
	after hash verification.

	* g++.dg/cpp0x/constexpr-89709.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-89709.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c



More information about the Gcc-cvs mailing list