[Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 27 02:37:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #16 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #15)
> Out of ideas at the moment, unassigning myself.

Without looking at your attempts, it seems one could parse in the scanner for
whether there is this optional argumanet. If not, set it to NULL and in that
case do what we do now, otherwise do a kind conversion.  Is this what you
tried?

Runtime would just check for the parameter and do it tat way. 

Or are you trying to inline this or do it all in the frontend?


More information about the Gcc-bugs mailing list