This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14993] RAN (extension) intrinsic/function not supported
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2004 19:21:51 -0000
- Subject: [Bug fortran/14993] RAN (extension) intrinsic/function not supported
- References: <20040417154917.14993.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-08-31 19:21 -------
(In reply to comment #11)
> Andrew, I don't know how to enclose RAN() in an option. Reading through
> intrinsic.c, gfortran builds tables of intrinsic function and subroutine
> names. Currently, we can't mark a member of a table for inclusion/exclusion
> by an option. Although I agree with you on the use of an option, I think
> this would require a massive rewrite of intrinsic.c. Frankly, I lack the
> skill to do such a rewrite before 3.5 is released.
What we could do is add an option, say -fno-nonstandard-intrinsics, and then
conditionalize the add_sym calls for all nonstandard intrinsics on this flag not
being set, i.e.
if (!gfc_option.only_standard)
{
add_sym ("fancyintrinsic");
add_sym ("fancyintrinsic2");
}
add_sym ("standardintrinsic");
etc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14993