[PPL-devel] [Fwd: Re: patch for merging graphite branch (before tuplification)]

Roberto Bagnara bagnara at cs.unipr.it
Wed Aug 13 09:00:54 CEST 2008



-------- Original Message --------
Subject: Re: patch for merging graphite branch (before tuplification)
Date: Tue, 12 Aug 2008 23:51:01 -0400
From: Jack Howarth <howarth at bromo.msbb.uc.edu>
To: Albert Cohen <Albert.Cohen at inria.fr>
CC: Mark Mitchell <mark at codesourcery.com>, Paolo Bonzini <bonzini at gnu.org>,        Roberto Bagnara <bagnara at cs.unipr.it>,        "Joseph S. Myers" <joseph at codesourcery.com>,        Richard Guenther <richard.guenther at gmail.com>,        Sebastian Pop <sebpop at gmail.com>,        GCC Patches <gcc-patches at gcc.gnu.org>,        Jakub Jelinek <jakub at redhat.com>, David Edelsohn <edelsohn at gmail.com>,        "Harle, Christophe" <christophe.harle at amd.com>,        Tobias Grosser <grosser at fim.uni-passau.de>,        Konrad Trifunovic <konrad.trifunovic at gmail.com>
References: <Pine.LNX.4.64.0808031809020.15922 at digraph.polyomino.org.uk> <84fc9c000808031220t14f60e5bie1760eaaa413aeb5 at mail.gmail.com> <Pine.LNX.4.64.0808031925260.15922 at digraph.polyomino.org.uk> <84fc9c000808031320m153160b0l60db9d80b1f58742 at mail.gmail.com> <Pine.LNX.4.64.0808032051010.15922 at digraph.polyomino.org.uk> <489C60E3.6010105 at cs.unipr.it> <489C67D0.8080004 at codesourcery.com> <489C6BD7.3010405 at gnu.org> <489C6CD1.3000109 at codesourcery.com> <48A01732.4080702 at inria.fr>

     The current gcc trunk with the proposed graphite patch supplemented with all
the subsequent patches to the graphite branch now builds usable binaries
for almost all of the fortran polyhedron benchmarks using the
-funroll-loops -O3 -floop-block -floop-interchange -fgraphite flags.
We have one remaining compile failure with these flags in channel.f90.
The compile line...

gfortran -funroll-loops -O3 -floop-strip-mine -fgraphite channel.f90 -o channel

...or...

gfortran -funroll-loops -O3 -floop-block -fgraphite channel.f90 -o channel

produces the compile error...

channel.f90: In function ‘sw’:
channel.f90:6: internal compiler error: vector VEC(loop_p,base) index domain error, in strip_mine_profitable_p at graphite.c:4321
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

...while the compile line...

gfortran -funroll-loops -O3 -floop-interchange -fgraphite channel.f90 -o channel

...produces the compile error of...

channel.f90: In function ‘sw’:
channel.f90:6: internal compiler error: in graphite_trans_bb_move_loop, at graphite.c:4017
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

                               Jack


-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list