aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-11-19 08:48:54 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2014-11-19 08:48:54 +0000
commit8f7d0ab920d2863472c4899e6a9222400d1c9a89 (patch)
tree0855e886fda256ed814b2723ad456a6ac36050b4
parent05f9c67507bd614e1fa1e5184a855a8257bc04fe (diff)
downloadgcc-8f7d0ab920d2863472c4899e6a9222400d1c9a89.zip
gcc-8f7d0ab920d2863472c4899e6a9222400d1c9a89.tar.gz
gcc-8f7d0ab920d2863472c4899e6a9222400d1c9a89.tar.bz2
* gcc.dg/pure-2.c: Update line numbers.
From-SVN: r217754
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pure-2.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 118805c..0d84fe2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
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);
}