[Bug fortran/38205] Tranformational function SUM rejected in initialization expressions

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 26 13:51:00 GMT 2008



------- Comment #4 from burnus at gcc dot gnu dot org  2008-11-26 13:50 -------
I think that patch is not enough (though useful!). I think one needs to add a
gfc_simplify_sum to simplify.c and replace then the NULL by the function name
in intrinsic.c for "sum". Possibly as well for the other transformational
intrinsics which are allowed in initialization expressions.


-- 


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



More information about the Gcc-bugs mailing list