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