------- Comment #4 from aoliva at gcc dot gnu dot org 2010-09-21 08:53 ------- Created an attachment (id=21854) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21854&action=view) Patch that fixes the problem
Here's the patch I'm testing. Turns out it's not enough to take only the second pointer type into account, the first also matters because we'll get different dump output depending on whether they're equal or not. In this case, we failed to distinguish (void*)0B and (struct type*)0B in the first operands. Richi, care to pre-approve it in case it passes regstrap? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45673