diff mbox

[testsuite] Add bind_pic_locally to certain tests

Message ID mvmbno3y3qu.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab Nov. 19, 2014, 8:49 a.m. UTC
* gcc.dg/pure-2.c: Update line numbers.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/pure-2.c b/gcc/testsuite/gcc.dg/pure-2.c
index 638bd7c..fe6e2bc 100644
--- a/gcc/testsuite/gcc.dg/pure-2.c
+++ b/gcc/testsuite/gcc.dg/pure-2.c
@@ -8,14 +8,14 @@  extern int v;
 /* Trivial.  */
 int
 foo1(int a)  /* { dg-bogus "normally" "detect pure candidate" } */
-{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "9" } */
+{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "10" } */
   return v;
 }
 
 /* Loops known to be normally and extern const calls should be safe.  */
 int __attribute__ ((noinline))
 foo2(int n)  /* { dg-bogus "normally" "detect pure candidate" } */
-{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "16" } */
+{ /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "17" } */
   int ret = 0;
   int i;
   for (i=0; i<n; i++)
@@ -53,6 +53,6 @@  foo4(int n)  /* { dg-warning "pure\[^\n\]* normally" "detect pure candidate" } *
 
 int
 foo5(int n)  /* { dg-bogus "normally" "detect pure candidate" } */
-{  /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "54" } */
+{  /* { dg-warning "pure" "detect pure candidate" { target *-*-* } "55" } */
   return foo2(n);
 }