public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37961]  New: [F2003] random_seed - allow integer(8) for the arguments
@ 2008-10-30 20:05 burnus at gcc dot gnu dot org
  2008-10-30 20:22 ` [Bug fortran/37961] " kargl at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-10-30 20:05 UTC (permalink / raw)
  To: gcc-bugs

Fortran 2003 allows all kinds for arguments (-> please re-check).

For i8 the library already contains: random_seed_i8. How to handle i16?

Note: One still needs to support calls with different integer types, esp. if
one needs to modify the variable (-> convert back). [Unless there can be only
one argument at a time.]

Additionally, the front end currently rejects i8:

Error: 'size' argument of 'random_seed' intrinsic at (1) must be of kind 4     
               1
Error: 'put' argument of 'random_seed' intrinsic at (1) must be of kind 4


-- 
           Summary: [F2003] random_seed - allow integer(8) for the arguments
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37961


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-31  6:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 20:05 [Bug fortran/37961] New: [F2003] random_seed - allow integer(8) for the arguments burnus at gcc dot gnu dot org
2008-10-30 20:22 ` [Bug fortran/37961] " kargl at gcc dot gnu dot org
2008-10-31  1:05 ` sgk at troutmask dot apl dot washington dot edu
2008-10-31  6:45 ` burnus at gcc dot gnu dot org
2008-10-31  6:59 ` sgk at troutmask dot apl dot washington dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).