2006-07-05 Richard Guenther <rguenther@suse.de>
commit649f86a45599cb85b6271811eb662d04dcf3ad92
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jul 2006 10:54:17 +0000 (5 10:54 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jul 2006 10:54:17 +0000 (5 10:54 +0000)
treee368e3fa103fb7e3f8554ee770014694170aa611
parentc136ae61ea0d35bb9995ba419833fb4fc0f77fd0
2006-07-05  Richard Guenther  <rguenther@suse.de>
Andrew Pinski  <pinskia@gcc.gnu.org>

PR c++/27084
* cp-objcp-common.c (cxx_types_compatible_p): Ignore
top level qualifiers for pointer type comparisons.

* g++.dg/tree-ssa/copyprop-1.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115200 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/copyprop-1.C [new file with mode: 0644]