LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / ipa-clone-1.c
blob0b0f6213172407d85109648d72f31a11e7b59212
1 /* PR ipa/64693 */
2 /* { dg-do compile } */
3 /* { dg-require-named-sections "" } */
4 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp" } */
6 static int __attribute__ ((noinline, section ("test_section")))
7 foo (int arg)
9 return 7 * arg;
12 int
13 bar (int arg)
15 return foo (5);
18 /* { dg-final { scan-assembler "test_section" } } */
19 /* { dg-final { scan-ipa-dump "Creating a specialized node of foo" "cp" } } */