Re: Obtaining type equivilance in C front end

2006-11-09 Thread Brendon Costa
The function you want is comptypes. Thanks. That is working well. Hi Brendon, Wouldn't the C++ one (mostly) be a superset of the C? Types are reasonably different between the C and C++ front ends though you do have the common ones because as you said, C++ is a superset of C. The C++

Re: Obtaining type equivilance in C front end

2006-11-09 Thread Andrew Pinski
> > 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

Re: Obtaining type equivilance in C front end

2006-11-08 Thread Sohail Somani
On Thu, 2006-11-09 at 06:17 +, Brendon Costa wrote: > 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. Hi Brendon, Wouldn't the C++ one (mostly) be a superset of the C? Thanks, Sohail

Obtaining type equivilance in C front end

2006-11-08 Thread Brendon Costa
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. Thanks, Brendon.