Fix scan-tree-dump in gcc.dg/graphite/scop-19.c for fpic
authorTom de Vries <tom@codesourcery.com>
Mon, 9 Feb 2015 10:35:43 +0000 (10:35 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 9 Feb 2015 10:35:43 +0000 (10:35 +0000)
2015-02-09  Tom de Vries  <tom@codesourcery.com>

* gcc.dg/graphite/scop-19.c: Fix scan-tree-dump for fpic.

From-SVN: r220532

gcc/ChangeLog
gcc/testsuite/gcc.dg/graphite/scop-19.c

index 202a815a9a38093a1ee12197d9d5c0f2386d75e0..f7cb38eb26bed6b819b5ea7c1ca1024f74b9fec5 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-09  Tom de Vries  <tom@codesourcery.com>
+
+       * gcc.dg/graphite/scop-19.c: Fix scan-tree-dump for fpic.
+
 2015-02-09  Martin Liska  <mliska@suse.cz>
 
        * ipa-icf.c (sem_item_optimizer::register_hooks): Register hooks
index 9dfc86580f5e088aa3daa96a514dee450dd40c4a..ab23bb4d4d124374c8e37e0c5152851441b811b2 100644 (file)
@@ -31,6 +31,7 @@ d_growable_string_append_buffer (struct d_growable_string *dgs,
   if (need > dgs->alc)
     d_growable_string_resize (dgs, need);
 }
-/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 2 "graphite"} } */ 
+/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 2 "graphite" { target nonpic } } } */
+/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 1 "graphite" { target { ! nonpic } } } } */
 /* { dg-final { cleanup-tree-dump "graphite" } } */