* gcc.dg/pure-2.c: Update line numbers.
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2014 08:48:54 +0000 (08:48 +0000)
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2014 08:48:54 +0000 (08:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217754 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pure-2.c

index 118805c..0d84fe2 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-19  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.dg/pure-2.c: Update line numbers.
+
 2014-11-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/63843
index 638bd7c..fe6e2bc 100644 (file)
@@ -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);
 }