This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for merging graphite branch (before tuplification)
- From: "Sebastian Pop" <sebpop at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Richard Guenther" <richard dot guenther at gmail dot com>, "Mark Mitchell" <mark at codesourcery dot com>, "Jakub Jelinek" <jakub at redhat dot com>, "David Edelsohn" <edelsohn at gmail dot com>, "Harle, Christophe" <christophe dot harle at amd dot com>, "Tobias Grosser" <grosser at fim dot uni-passau dot de>, "Konrad Trifunovic" <konrad dot trifunovic at gmail dot com>, "Albert Cohen" <Albert dot Cohen at inria dot fr>
- Date: Sun, 3 Aug 2008 18:31:25 -0500
- Subject: Re: patch for merging graphite branch (before tuplification)
- References: <cb9d34b20807251914jb7fb76q4452be18461d7464@mail.gmail.com> <cb9d34b20807251919x59b6bca2vf171fb2304c602cc@mail.gmail.com> <Pine.LNX.4.64.0807261046270.16205@digraph.polyomino.org.uk> <cb9d34b20808031527x107314e9h50f83ef5ae76308b@mail.gmail.com> <Pine.LNX.4.64.0808032304380.15922@digraph.polyomino.org.uk>
On Sun, Aug 3, 2008 at 6:06 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> Where is the error in this patch? By an error, I mean the compiler prints
> a message to stderr and exits with nonzero exit status if any unsupported
> option (-fgraphite or one of the options implying it) is passed; not that
> it puts something in a dump file.
>
Like this?
Index: tree-ssa-loop.c
===================================================================
--- tree-ssa-loop.c (revision 138569)
+++ tree-ssa-loop.c (working copy)
@@ -304,6 +304,7 @@ graphite_transforms (void)
fprintf (dump_file, "GCC has not been configured with the required "
"libraries for Graphite loop optimizations.");
}
+ fatal ("Graphite loop optimizations cannot be used");
#endif
return 0;