This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/22368] [meta-bugs] mis-match types in GCC
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2005 17:33:53 -0000
- Subject: [Bug other/22368] [meta-bugs] mis-match types in GCC
- References: <20050708152146.22368.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 17:33 -------
Note the comparisions patch because of the way gimple removes casts to void* gets:
int f(int *a, char*b)
{
return ((void*)a) == ((void*)b);
}
wrong.
The following is also effected:
g++.dg/abi/vbase13.C:
g++.dg/expr/cond1.C
g++.old-deja/g++.abi/primary.C
I have to figure out how to handle that. Maybe in tree_ssa_useless_type_conversion_1 remove the
special case for void*.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368