This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Fix PR33724, fix PR19382 differently
> I remember now ;) If we compare pointed-to types we lose checking of
> qualifiers and the ability to handle (void *), as the middle-end strips
> qualifiers from the toplevel type before determining compatibility.
>
> So with the old way of checking (volatile int *) and (int *) would be
> compatible types. [(int * volatile) and (int *) still are]
Thanks for the explanation.
--
Eric Botcazou