[Bug libfortran/31760] missing elemental applicability

highegg at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 29 17:03:00 GMT 2007



------- Comment #2 from highegg at gmail dot com  2007-04-29 18:03 -------
(In reply to comment #1)
> Why is this a bug in your opinion?  ERF and the Bessel functions are MIL/GNU
> extensions.  I don't think there's a standard that requires these functions to
> be elemental.  Do you think this is a bug because the functions are treated as
> elemental by other compilers you use?  Some other reason?
> 
Several reasons: 
1. It's kind of systematic to make all simple (i.e. no scalar+vector) math
functions as elemental.
2. Others compilers (g95,Intel) do so.
3. The draft F2008 standard contains elemental ERF,ERFC as well as Bessel
functions (though with slightly different naming). 

But you're right, there is no standard enforcing this. I just thought that
perhaps this is an unintentional ommitment. I'll change this to enhancement if
this is possible.


-- 


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



More information about the Gcc-bugs mailing list