Detemining the size of int_fast8_t etc. in the frontend

François-Xavier Coudert Francois-Xavier.Coudert@lcp.u-psud.fr
Wed Mar 7 21:10:00 GMT 2007


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 Myers IIRC, the conclusion is that GCC can't  
do that right now, but it could if target-specific files provided the  
information. Maybe there's a PR open for that, otherwise you can open  
it, and we can try to get people implement the framework for this...

Christopher's original ISO_C_BINDING patch used autoconf to guess it,  
and I remove that (before creating the fortran-experiments branch).  
Currently, there's no other option than to return -2 for the  
corresponding ISO_C_BINDING constants.

FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2786 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20070307/16a15b26/attachment.p7s>


More information about the Gcc mailing list