This is the mail archive of the gcc-patches@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]

Re: [gfortran] Fortran 2003 command line argument intrinsics.


On Thu, Jul 08, 2004 at 08:42:27PM +0100, Paul Brook wrote:
> > ... and this to add_sym_4s. That function has to be added as well.

Ah, I thought about this too, but I assumed there was a good reason
(tm) for that function missing. Oh well, live and learn..

[snip]

> +  add_sym_4s ("get_command_argument", 0, 1, BT_UNKNOWN, 0,
> +	      NULL, NULL, gfc_resolve_get_command_argument,
> +	      num, BT_INTEGER, di, 0,
> +	      val, BT_CHARACTER, dc, 1,
> +	      length, BT_INTEGER, di, 1,
> +	      st, BT_INTEGER, di, 1);
>  	     
>    /* Extension */

I just noticed that this comment ought to be removed lest it confuse
somebody, as the subroutines following it, mvbits, random_number and
random_seed are all in the f90 standard.

>  
> +  /* This needs changing to add_sym_5s if it gets a resolution function.  */
>    add_sym_5 ("mvbits", 1, 1, BT_UNKNOWN, 0,
>  	     gfc_check_mvbits, gfc_simplify_mvbits, NULL,
>  	     f, BT_INTEGER, di, 0, fp, BT_INTEGER, di, 0,

-- 
Janne Blomqvist


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