This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/14993] RAN (extension) intrinsic/function not supported


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]