This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, fortran] Interoperability with C int128_t types
- From: FX <fxcoudert at gmail dot com>
- To: "Sa Liu" <SALIU at de dot ibm dot com>
- Cc: "Fortran List" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 16 Apr 2008 13:49:56 +0100
- Subject: Re: [PATCH, fortran] Interoperability with C int128_t types
- References: <OF4336A9CE.6A5BA92E-ONC125741E.003AAF65-C125741E.003C32E4@de.ibm.com> <B7608842-8DA7-4235-B1CD-F7AA1D69BCF6@gmail.com> <OF3BDAB2D8.F151E864-ONC125742C.0034A070-C125742C.00359BCC@de.ibm.com> <20080415111800.GA25796@mx.loc> <OF23CE1612.89A9D421-ONC125742D.00329AD1-C125742D.0032D2F0@de.ibm.com> <19c433eb0804160300u2087ad0djad6c0650edd68e89@mail.gmail.com> <19c433eb0804160301n24eb57cejf5f6975a029fa228@mail.gmail.com> <OF759B70E7.26F7C0D5-ONC125742D.0040EA57-C125742D.0041DDE1@de.ibm.com>
> Even if no extension types are used in program, the
> compiler will go through the type definitions and check their standards.
Yep, you're right. I somehow convinced myself that we would only load
specified symbols, but it's of course not true when you use a simple
"use iso_c_binding" without use-list or rename-list.
> if (gfc_notification_std (std_for_isocbinding_symbol (s)) == FAILURE)
> return;
That is indeed a better alternative. Sorry for the confusion,
FX
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/