Module expert needed
Paul Richard Thomas
paul.richard.thomas@gmail.com
Wed Aug 5 10:22:00 GMT 2015
Hi FX,
Did you by any chance try using:
use, intrinsic :: ieee_arithmetic ?
This seems to be necessary in gdb sessions to ensure that
current_intmod is set. Without this, sym->from_intmod never gets set.
Cheers
Paul
On 4 August 2015 at 21:17, FX <fxcoudert@gmail.com> wrote:
>> *** /home/pault/svn/trunk/gcc/fortran/module.c (revision 226571)
>> --- /home/pault/svn/trunk/gcc/fortran/module.c (working copy)
>> *************** load_generic_interfaces (void)
>> *** 4499,4504 ****
>> --- 4499,4507 ----
>> sym->attr.generic_copy = 1;
>> }
>>
>> + if (generic && generic->sym && generic->sym->from_intmod)
>> + sym->from_intmod = generic->sym->from_intmod;
>> +
>> /* If a procedure that is not generic has generic interfaces
>> that include itself, it is generic! We need to take care
>> to retain symbols ambiguous that were already so. */
>
> Apparently doesn’t work, either by itself or in addition to my own patch. I’m lost.
>
> FX
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Groucho Marx
More information about the Fortran
mailing list