public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/44430]  New: [4.6 Regression] Infinite recursion with -fdump-parse-tree
Date: Sun, 06 Jun 2010 10:11:00 -0000	[thread overview]
Message-ID: <bug-44430-10391@http.gcc.gnu.org/bugzilla/> (raw)

This is with revision 160336.

$ cat > a.f90
subroutine foo(a,b)
  real :: a(10), b(5)
  a(1:5) = b
end
$ gfortran -fdump-parse-tree a.f90 |  head -40

        Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
        procedure name = foo
        symtree: __convert_i4_i8  Ambig 0
        symbol __convert_i4_i8 (INTEGER 8)(PROCEDURE UNKNOWN-INTENT
UNKNOWN-ACCESS UNKNOWN-PROC UNKNOWN FUNCTION ELEMENTAL PURE)
        result: __convert_i4_i8

        symtree: a  Ambig 0
        symbol a (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
UNKNOWN DIMENSION DUMMY)
        Array spec:(1 [0] AS_EXPLICIT 1 10 )

        symtree: b  Ambig 0
        symbol b (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
UNKNOWN DIMENSION DUMMY)
        Array spec:(1 [0] AS_EXPLICIT 1 5 )

        symtree: foo  Ambig 0
        symbol foo (UNKNOWN 0)(PROCEDURE UNKNOWN-INTENT UNKNOWN-ACCESS
UNKNOWN-PROC UNKNOWN SUBROUTINE)
        Formal arglist: a b
        Formal namespace
          Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
          procedure name = foo
          symtree: __convert_i4_i8  Ambig 0
          symbol __convert_i4_i8 (INTEGER 8)(PROCEDURE UNKNOWN-INTENT
UNKNOWN-ACCESS UNKNOWN-PROC UNKNOWN FUNCTION ELEMENTAL PURE)
          result: __convert_i4_i8

          symtree: a  Ambig 0
          symbol a (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
UNKNOWN DIMENSION DUMMY)
          Array spec:(1 [0] AS_EXPLICIT 1 10 )

          symtree: b  Ambig 0
          symbol b (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
UNKNOWN DIMENSION DUMMY)
          Array spec:(1 [0] AS_EXPLICIT 1 5 )

          symtree: foo  Ambig 0
          symbol foo (UNKNOWN 0)(PROCEDURE UNKNOWN-INTENT UNKNOWN-ACCESS
UNKNOWN-PROC UNKNOWN SUBROUTINE)
          Formal arglist: a b
          Formal namespace
            Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
            procedure name = foo
            symtree: __convert_i4_i8  Ambig 0
            symbol __convert_i4_i8 (INTEGER 8)(PROCEDURE UNKNOWN-INTENT
UNKNOWN-ACCESS UNKNOWN-PROC UNKNOWN FUNCTION ELEMENTAL PURE)
            result: __convert_i4_i8

            symtree: a  Ambig 0
            symbol a (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS
UNKNOWN-PROC UNKNOWN DIMENSION DUMMY)
            Array spec:(1 [0] AS_EXPLICIT 1 10 )

            symtree: b  Ambig 0
            symbol b (REAL 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS
UNKNOWN-PROC UNKNOWN DIMENSION DUMMY)
            Array spec:(1 [0] AS_EXPLICIT 1 5 )

... and so on.


-- 
           Summary: [4.6 Regression] Infinite recursion with -fdump-parse-
                    tree
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


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


             reply	other threads:[~2010-06-06 10:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-06 10:11 tkoenig at gcc dot gnu dot org [this message]
2010-06-06 10:11 ` [Bug fortran/44430] " tkoenig at gcc dot gnu dot org
2010-06-06 10:32 ` dominiq at lps dot ens dot fr
2010-06-06 11:22 ` [Bug fortran/44430] [4.5/4.6 " tkoenig at gcc dot gnu dot org
2010-06-06 20:15 ` tkoenig at gcc dot gnu dot org
2010-06-06 20:39 ` dominiq at lps dot ens dot fr
2010-06-06 20:52 ` tkoenig at gcc dot gnu dot org
2010-06-06 21:31 ` janus at gcc dot gnu dot org
2010-06-06 21:46 ` janus at gcc dot gnu dot org
2010-06-06 21:46 ` janus at gcc dot gnu dot org
2010-06-06 21:51 ` janus at gcc dot gnu dot org
2010-06-09 18:38 ` janus at gcc dot gnu dot org
2010-06-12  4:02 ` janus at gcc dot gnu dot org
2010-06-12  4:03 ` 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=bug-44430-10391@http.gcc.gnu.org/bugzilla/ \
    --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).