Fix fail in inline-9.c testcase
Commit Message
Hi,
it turns out that I made testcase for value range propagation (which was
disabled by accidental return statement) but the testcase was confused
by partial inlininig. The right number of inlines is 2, since the
function in question is first split and then both function and the split
part should be inlined since based on value ranges we know that the
inlined part will become dead. This patch updates the template.
gcc/testsuite/ChangeLog:
2021-11-26 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/ipa/inline-9.c: Update template.c
@@ -20,4 +20,4 @@ main()
for (int i=0;i<100;i++)
test(i);
}
-/* { dg-final { scan-ipa-dump "Inlined 1 calls" "inline" } } */
+/* { dg-final { scan-ipa-dump "Inlined 2 calls" "inline" } } */