Problem with optional argument in type-bound, character-valued function

Janus Weil janus@gcc.gnu.org
Thu Mar 4 15:52:00 GMT 2010


Dominique,

> The test works for me with gcc version 4.5.0 20100209 (experimental) [trunk revision 156618] (GCC)
> or gcc version 4.5.0 20091125 (experimental) [trunk revision 154654] (GCC):

are you sure it works? The output could be correct just because the
memory location of the optional arg is zero by chance. You should look
at the dump and see if a zero is passed for the actual arg or not.

Cheers,
Janus



More information about the Fortran mailing list