[Patch, Fortran] PR32980 - Add GAMMA and LGAMMA intrinsics
Tobias Burnus
burnus@net-b.de
Tue Aug 21 21:29:00 GMT 2007
Hi Tobias,
Tobias Schlüter wrote:
> Ok, since you and Steve agree on this, I have a suggestion that I
> think we all could live with: if the user defines a function that has
> the same name as an intrinsic available with the selected standard,
> issue a warning, perhaps only with -Wall.
Filled as bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33141
To you regard this as conditio sine qua non for this patch?
* * *
By the way, we currently have already some warning problems, e.g.,
print *, acosh(1.0)
compiles without any warning/error with "gfortran -std=f95" only using
"-std=f95 -Wall" one gets an error.
(See bug report for suggested fix.)
gfortran 4.2 used the user function and gave thus a link-time error if
there was no user function.
Tobias
More information about the Fortran
mailing list