[PATCH, testsuite]: Use -O0 for gcc.dg/plugin/poly-int-07_plugin.c ...

Uros Bizjak ubizjak@gmail.com
Wed Aug 1 11:59:00 GMT 2018


... as is the case with all other
gcc.dg/plugin/poly-int-0{1,2,3,4,5,6}_plugin.c testcases. This lowers
testcase wall time from 4min 45 sec to 1min 17sec on a slow target.

2018-08-01  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.dg/plugin/poly-int-07_plugin.c (dg-options): Use -O0.

Tested on alphaev68-linux-gnu, committed to mainline as obvious.

Uros.

Index: gcc.dg/plugin/poly-int-07_plugin.c
===================================================================
--- gcc.dg/plugin/poly-int-07_plugin.c  (revision 263193)
+++ gcc.dg/plugin/poly-int-07_plugin.c  (working copy)
@@ -1,5 +1,5 @@
 /* Not worth spending time optimizing this.  */
-/* { dg-options "-O" } */
+/* { dg-options "-O0" } */

 #include "config.h"
 #include "gcc-plugin.h"



More information about the Gcc-patches mailing list