public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Dominique d'Humières" <dominiq@lps.ens.fr>
To: Thomas Koenig <tkoenig@netcologne.de>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
	GNU GFortran <fortran@gcc.gnu.org>
Subject: Re: [patch, fortran, RFC] First steps towards inlining matmul
Date: Fri, 10 Apr 2015 16:57:00 -0000	[thread overview]
Message-ID: <94F9E9FE-A255-4306-86E2-EB4C7F393CFC@lps.ens.fr> (raw)
In-Reply-To: <EB7BCB68-CD2A-4211-AC93-1EC0F475D822@lps.ens.fr>


> Le 10 avr. 2015 à 16:15, Dominique d'Humières <dominiq@lps.ens.fr> a écrit :
> 
> 
>> 4. is required, I need to look at some more corner cases where bugs may still be lurking.
> 

Compiling the polyhedron test rnflow.f90 after the patch gives an ICE

f951: internal compiler error: gfc_array_dimen_size(): Bad dimension

Reduced test extracted from the subroutine evlrnf:

      subroutine evlrnf (ptrs0t, nclsm, prnf0t) 
      real, dimension (1:nclsm,1:nclsm), intent (in) :: ptrs0t
      integer, intent (in)            :: nclsm ! nombre de classes
      real, dimension (1:nclsm,1:nclsm), intent (out):: prnf0t
      real, allocatable, dimension (:,:) :: utrsft ! probas up
      real, allocatable, dimension (:)   :: vwrkft
      real, allocatable, dimension (:)   :: vwrk2t
      ncls = nclsm
      allocate (utrsft (1:ncls,1:ncls))
      allocate (vwrkft (1:ncls))
      allocate (vwrk2t (1:ncls))
         vwrk2t = matmul (utrsft, vwrkft)   ! U Fk
      deallocate (utrsft)
      deallocate (vwrk2t)
      deallocate (vwrkft)
      end subroutine evlrnf

Dominique

  reply	other threads:[~2015-04-10 16:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-05 13:55 Dominique Dhumieres
2015-04-05 14:33 ` Thomas Koenig
2015-04-05 18:25   ` Dominique d'Humières
2015-04-05 20:37     ` Thomas Koenig
2015-04-05 23:15       ` Dominique d'Humières
2015-04-06 12:18         ` Dominique d'Humières
2015-04-09 22:18           ` Thomas Koenig
2015-04-10 14:15             ` Dominique d'Humières
2015-04-10 16:57               ` Dominique d'Humières [this message]
2015-04-11 12:24               ` Thomas Koenig
2015-04-11 13:43                 ` Mikael Morin
2015-04-11 17:01                   ` Thomas Koenig
  -- strict thread matches above, loose matches on Subject: below --
2015-04-05 12:32 Thomas Koenig
2015-04-05 13:20 ` Jerry DeLisle
2015-04-05 13:48   ` Thomas Koenig
2015-04-07 19:24 ` David Malcolm

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=94F9E9FE-A255-4306-86E2-EB4C7F393CFC@lps.ens.fr \
    --to=dominiq@lps.ens.fr \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=tkoenig@netcologne.de \
    /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).