r237447 - in /branches/gcc-6-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Jun 14 14:43:00 GMT 2016


Author: jakub
Date: Tue Jun 14 14:43:42 2016
New Revision: 237447

URL: https://gcc.gnu.org/viewcvs?rev=237447&root=gcc&view=rev
Log:
	Backported from mainline
	2016-06-08  Jakub Jelinek  <jakub@redhat.com>
		    Richard Biener  <rguenther@suse.de>

	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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/torture/pr71448.C
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/fold-const.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list