public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/39861] [4.5 Regression] ICE with INTRINSIC in module: write_symbol(): bad module symbol
Date: Thu, 23 Apr 2009 11:25:00 -0000	[thread overview]
Message-ID: <20090423112546.13674.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39861-12313@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from dominiq at lps dot ens dot fr  2009-04-23 11:25 -------
> Where does the symbol 'x' come from?

Good question! The code generate a file vector_calculus.mod0 containing:

GFORTRAN module version '0' created from pr36192_mod_red.f90 on Thu Apr 23
13:17:45 2009
MD5:00000000000000000000000000000000 -- If you edit this, you'll get what you
deserve.

(() () () () () () () () () () () () () () () () () () () () () () () ()
() () ())

()

()

()

()

(2 'dot_product' '(intrinsic)' 'dot_product' 1 ((PROCEDURE
UNKNOWN-INTENT UNKNOWN-PROC DECL UNKNOWN INTRINSIC FUNCTION) (REAL 4 0 0
REAL ()) 3 0 (4 5) () 2 () () () 0 0)
6 'len' 'vector_calculus' 'len' 1 ((PROCEDURE UNKNOWN-INTENT MODULE-PROC
DECL UNKNOWN FUNCTION ALWAYS_EXPLICIT) (REAL 4 0 0 REAL ()) 7 0 (8) () 6
() () () 0 0)
9 'sqrt' '(intrinsic)' 'sqrt' 1 ((PROCEDURE UNKNOWN-INTENT UNKNOWN-PROC
DECL UNKNOWN INTRINSIC FUNCTION) (REAL 4 0 0 REAL ()) 10 0 (11) () 9 ()
() () 0 0)
12 'vector_calculus' 'vector_calculus' 'vector_calculus' 1 ((MODULE
UNKNOWN-INTENT UNKNOWN-PROC UNKNOWN UNKNOWN) (UNKNOWN 0 0 0 UNKNOWN ())
0 0 () () 0 () () () 0 0)
8 'r' '' 'r' 7 ((VARIABLE IN UNKNOWN-PROC UNKNOWN UNKNOWN DIMENSION
DUMMY) (REAL 4 0 0 REAL ()) 0 0 () (1 ASSUMED_SHAPE (CONSTANT (INTEGER 4
0 0 INTEGER ()) 0 '1') ()) 0 () () () 0 0)

the only 'x' being in "ALWAYS_EXPLICIT".


-- 


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


  parent reply	other threads:[~2009-04-23 11:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23  6:50 [Bug fortran/39861] New: Internal Error with INTRINSIC in module dominiq at lps dot ens dot fr
2009-04-23  9:31 ` [Bug fortran/39861] [4.5 Regression] ICE with INTRINSIC in module: write_symbol(): bad module symbol burnus at gcc dot gnu dot org
2009-04-23 11:10 ` pault at gcc dot gnu dot org
2009-04-23 11:25 ` dominiq at lps dot ens dot fr [this message]
2009-04-23 12:24 ` janus at gcc dot gnu dot org
2009-04-24  8:34 ` janus at gcc dot gnu dot org
2009-04-24  8:39 ` janus 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=20090423112546.13674.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).