public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/37159] RANDOM_SEED: PUT= check array size at compile time
Date: Mon, 10 Nov 2008 13:51:00 -0000 [thread overview]
Message-ID: <20081110135002.23992.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37159-13404@http.gcc.gnu.org/bugzilla/>
------- Comment #11 from michael dot a dot richmond at nasa dot gov 2008-11-10 13:50 -------
(In reply to comment #10)
> Admitted, it does not say SIZE = 8, because this value may be
> compiler- and system-dependent (may also be 12 for gfortran on some
> platforms), which is why the standard provides the SIZE argument in
> the first place.
>
> I fail to see the problem - could you clarify?
>
A default integer on i386 is 4 bytes. The instruction "print sizeof(size)"
prints 4. I assume it should also print 4 if I use:
CALL Random_Seed(size=size)
print *, size
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37159
next prev parent reply other threads:[~2008-11-10 13:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 6:29 [Bug fortran/37159] New: " burnus at gcc dot gnu dot org
2008-08-24 6:38 ` [Bug fortran/37159] " burnus at gcc dot gnu dot org
2008-08-24 18:35 ` tkoenig at gcc dot gnu dot org
2008-09-18 21:01 ` dennis dot wassel at googlemail dot com
2008-11-01 10:27 ` tkoenig at gcc dot gnu dot org
2008-11-01 10:30 ` tkoenig at gcc dot gnu dot org
2008-11-02 14:19 ` burnus at gcc dot gnu dot org
2008-11-10 0:11 ` michael dot a dot richmond at nasa dot gov
2008-11-10 3:18 ` jvdelisle at gcc dot gnu dot org
2008-11-10 13:01 ` michael dot a dot richmond at nasa dot gov
2008-11-10 13:33 ` dennis dot wassel at googlemail dot com
2008-11-10 13:51 ` michael dot a dot richmond at nasa dot gov [this message]
2008-11-10 15:02 ` kargl at gcc dot gnu dot org
2008-12-09 22:38 ` [Bug fortran/37159] RANDOM_SEED: GET= check array size at compile time and respect -fdefault-integer-* dfranke at gcc dot gnu dot org
2009-01-05 19:34 ` dfranke at gcc dot gnu dot org
2009-05-01 15:10 ` fxcoudert at gcc dot gnu dot org
2009-05-01 15:21 ` dfranke at gcc dot gnu dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081110135002.23992.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).