This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch for merging graphite branch (before tuplification)


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]