Detemining the size of int_fast8_t etc. in the frontend

2007-03-07 Thread Tobias Burnus
Hi, gfortran provides via ISO C Bindings access to the C types int, float etc. It also provides access to int_fast8_t, int_fast16_t, etc. of stdint.h. Using #include stdint.h with e.g. sizeof(int_fast8_t) does not work with cross compilations. (It actually fails already for -m32 on x86-64.) On

Re: Detemining the size of int_fast8_t etc. in the frontend

2007-03-07 Thread Mike Stump
On Mar 7, 2007, at 11:21 AM, Tobias Burnus wrote: Using #include stdint.h with e.g. sizeof(int_fast8_t) does not work with cross compilations. Sounds like a bug? When I try it on my compiler, it works just fine natively and with cross compilations. I'd file a bug report. If it is an

Re: Detemining the size of int_fast8_t etc. in the frontend

2007-03-07 Thread Daniel Jacobowitz
On Wed, Mar 07, 2007 at 12:05:32PM -0800, Mike Stump wrote: On Mar 7, 2007, at 11:21 AM, Tobias Burnus wrote: Using #include stdint.h with e.g. sizeof(int_fast8_t) does not work with cross compilations. Sounds like a bug? When I try it on my compiler, it works just fine natively and

Re: Detemining the size of int_fast8_t etc. in the frontend

2007-03-07 Thread Joseph S. Myers
On Wed, 7 Mar 2007, Tobias Burnus wrote: Hi, gfortran provides via ISO C Bindings access to the C types int, float etc. It also provides access to int_fast8_t, int_fast16_t, etc. of stdint.h. Using #include stdint.h with e.g. sizeof(int_fast8_t) does not work with cross compilations. (It

Re: Detemining the size of int_fast8_t etc. in the frontend

2007-03-07 Thread François-Xavier Coudert
Hi Tobias, What is the proper way to obtain this information? I fear the answer to this question is there's no way. We already discussed that a few months ago, at the thread starting here: http:// gcc.gnu.org/ml/gcc/2006-10/msg00346.html From private discussion, with Paul Brook Joseph