[PATCH][RFC] Fix PR33724, fix PR19382 differently

Eric Botcazou ebotcazou@adacore.com
Thu Oct 11 10:55:00 GMT 2007


> 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



More information about the Gcc-patches mailing list