[Bug libfortran/26890] SIZE parameter interacts with same variable in IO list character length specification.

paulthomas2 at wanadoo dot fr gcc-bugzilla@gcc.gnu.org
Tue Mar 28 04:08:00 GMT 2006



------- Comment #2 from paulthomas2 at wanadoo dot fr  2006-03-28 04:08 -------
Subject: Re:  SIZE parameter interacts with same variable
 in IO list character length specification.

jvdelisle at gcc dot gnu dot org wrote:

>------- Comment #1 from jvdelisle at gcc dot gnu dot org  2006-03-28 01:43 -------
>I will look into this if you would like.
>  
>
Yes, indeed - you are the expert, which was why I CC'd you....

All the best,

Paul

PS I suppose that the library zeros the variable pointed too by SIZE.  
This then leads to the calculation that the destination has zero length 
and that nothing should be read?  I guess a copy of SIZE is needed to 
work with an that it should be written back on exiting the library?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26890



More information about the Gcc-bugs mailing list