working on type declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to know at which level of GCC (GENERICS, GIMPLE...) I could get informations about the C types (created with typedef) which are defined. I would like to parse type definition in order to know if the type is a pointer or not, for exemple, if I have the following type:

typedef struct _account{
  int    account_number;
  float  balance;
} * account;


I have tried to look at GIMPLE and IPA, however it looks like, at this state, the work is already done and the use of the type are replaced by the use of a "struct account * ". Moreover I can't find where this struct is keept in gcc.


Thanks

Pierre Vittet



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux