This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: jakub
Date: Wed Jun  8 12:57:26 2016
New Revision: 237212

URL: https://gcc.gnu.org/viewcvs?rev=237212&root=gcc&view=rev
Log:
	PR c++/71448
	* fold-const.c (fold_comparison): Handle CONSTANT_CLASS_P (base0)
	the same as DECL_P (base0) for indirect_base0.  Use equality_code
	in one further place.

	* g++.dg/torture/pr71448.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr71448.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]