This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Obtaining type equivilance in C front end
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: bcosta at avdat dot com dot au (Brendon Costa)
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 9 Nov 2006 11:48:45 -0500 (EST)
- Subject: Re: Obtaining type equivilance in C front end
>
> How do i determine if two type nodes in the C front end are equivilent?
> In C++ i use same_type_p() but do not see an equivilant for the C front end.
The function you want is comptypes.
Thanks,
Andrew Pinski