This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]