public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "giese025 at tc dot umn dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/13826] New: Derived types in DATA statements not PARAMETERs Date: Fri, 23 Jan 2004 06:22:00 -0000 [thread overview] Message-ID: <20040123062210.13826.giese025@tc.umn.edu> (raw) I installed G95 Download x86 Linux Binary (01/21/04) and observed what I think may be an error in G95. Attached to this messege is the source code to a fairly small program which simply prints out common scientific and mathematical constants (foo.f90). Also attached is the output of the program when compiled with the NAG FORTRAN 90/95 (v4.2) compiler (foo.f90.nag.out). NAG compiles the program without warning nor error. G95 fails to compile and produces the following error: In file foo.f90:138 & ConstantT('ELECTRON_VOLT', 'au / eV', & 1 Error: Symbol 'constantt' must be a PARAMETER in DATA statement at (1) Apparently it doesn't like derived types within a DATA statement? That's how I interpret it. I'm not finding a button at the moment to attach a file... I'll submit this now and perhaps one will appear... if not, I'll include the raw files as additional comments. -- Summary: Derived types in DATA statements not PARAMETERs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: giese025 at tc dot umn dot edu CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13826
next reply other threads:[~2004-01-23 6:22 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-01-23 6:22 giese025 at tc dot umn dot edu [this message] 2004-01-23 6:24 ` [Bug fortran/13826] " giese025 at tc dot umn dot edu 2004-01-23 6:25 ` [Bug fortran/13826] [gfortran] " pinskia at gcc dot gnu dot org 2004-01-23 6:26 ` giese025 at tc dot umn dot edu 2004-01-25 17:44 ` dhazeghi at yahoo dot com 2004-04-26 5:20 ` pinskia at gcc dot gnu dot org 2004-05-12 15:52 ` Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-05-16 20:30 ` cvs-commit at gcc dot gnu dot org 2004-05-16 20:43 ` cvs-commit at gcc dot gnu dot org 2004-05-16 21:42 ` tobi 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=20040123062210.13826.giese025@tc.umn.edu \ --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: linkBe 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).