https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360
--- Comment #11 from Andrew Macleod <amacleod at redhat dot com> --- (In reply to Alan Modra from comment #10) > Here's elf32-arc.i creduced. > > a; > b(); > c() { > void *d; > if (d == b && e()) is that actually allowed? if (d == b) is void * == (void * ()) I was under the impression that void * and pointers to functions were not compatible? I notice we don't issue a warning, and let it go tho. The problem is "different" than the original problem. yes, they trigger in the same place, but this is a comparison of !types_compatible_p() which I didn't think was allowed without a cast?