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/39594] compiler falls over in gfc_get_symbol_decl
Date: Tue, 31 Mar 2009 10:06:00 -0000	[thread overview]
Message-ID: <20090331100646.4729.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39594-14459@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from dominiq at lps dot ens dot fr  2009-03-31 10:06 -------
Confirmed for gfortran 4.4 and trunk, works on 4.3. Reduced test case:

      module df_f12_integrals
      implicit double precision (a-h,o-z)

      save
c
      parameter (maxint=2147483647)
      common/zahl/ z0,z1,z2,z4,z05,z10h6,z10hm8,z10m12

      CONTAINS
c-----------------------------------------------------------------------
      subroutine dfasmbl_f12(nibatch,numbti,lenbta,lenbtc,
     >           namout,ifout,offset,iaddmat,fac,
     >           cpu_asmbl,flops_asmbl,title)
c-----------------------------------------------------------------------
      implicit double precision (a-h,o-z)
c
      parameter (maxint=2147483647)
      common/zahl/ z0,z1,z2,z4,z05,z10h6,z10hm8,z10m12

      if(icase.gt.1) call writem_big(g,leng,ifout,namout,z0,'EX')
      end subroutine dfasmbl_f12
      end

[ibook-dhum] Downloads/gfortranbug% gfc44 -c dfasmbl_f12_no.f
dfasmbl_f12_no.f: In function 'dfasmbl_f12':
dfasmbl_f12_no.f:11: internal compiler error: in gfc_get_symbol_decl, at
fortran/trans-decl.c:950

If one of the COMMON or IF lines is commented, the ICE disappears.

Next time please take some time to do the reduction yourself.


-- 


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


  parent reply	other threads:[~2009-03-31 10:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31  8:11 [Bug fortran/39594] New: " KnowlesPJ at Cardiff dot ac dot uk
2009-03-31  8:13 ` [Bug fortran/39594] " KnowlesPJ at Cardiff dot ac dot uk
2009-03-31 10:06 ` dominiq at lps dot ens dot fr [this message]
2009-03-31 10:13 ` KnowlesPJ at Cardiff dot ac dot uk
2009-03-31 12:26 ` dominiq at lps dot ens dot fr
2009-03-31 12:57 ` dominiq at lps dot ens dot fr
2009-03-31 13:01 ` jakub at gcc dot gnu dot org
2009-03-31 13:37 ` dominiq at lps dot ens dot fr
2009-03-31 14:35 ` [Bug fortran/39594] [4.4/4.5 Regression] " jakub at gcc dot gnu dot org
2009-03-31 14:43 ` jakub at gcc dot gnu dot org
2009-03-31 20:03 ` burnus at gcc dot gnu dot org
2009-04-02 19:27 ` burnus at gcc dot gnu dot org
2009-04-02 19:49 ` KnowlesPJ at Cardiff dot ac dot uk
2009-04-03 18:27 ` burnus at gcc dot gnu dot org
2009-04-03 20:57 ` burnus at gcc dot gnu dot org
2009-04-03 20:57 ` burnus 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=20090331100646.4729.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).