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/29600] [F03] MINLOC and MAXLOC take an optional KIND argument


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?

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