+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
/* 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++)
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);
}