On 1/8/21 12:55 PM, Qing Zhao via Gcc-patches wrote: > Hi, > > Is there an utility routine in GCC to query the pointer width of the current > target? Whether it’s 32bit pointer or 64 bit pointer for the target? > > Thanks a lot for the help. You can look at the GET_MODE_SIZE (Pmode) or POINTER_SIZE. They can differ in some circumstances. jeff
- Pointer width in GCC? Qing Zhao via Gcc-patches
- Re: Pointer width in GCC? Jeff Law via Gcc-patches
- Re: Pointer width in GCC? H.J. Lu via Gcc-patches