------- 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