[Bug fortran/44582] gfortran generates wrong results due to wrong ABI in function with array return

yin at absoft dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 18 19:00:00 GMT 2010



------- Comment #4 from yin at absoft dot com  2010-06-18 19:00 -------
O.K. I doublechecked the standard. The array declared does not need to be
initialized in this case. So the return value could be any number. However,
this kind of implementation should fail in a certian case. I am trying to write
a small example to prove this. I will post it later.


-- 


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



More information about the Gcc-bugs mailing list