1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
3 /* { dg-add-options bind_pic_locally } */
6 static int g (int b
, int c
)
8 printf ("%d %d\n", b
, c
);
12 /* Second parameter of g gets different values. */
25 /* { dg-final { scan-ipa-dump "Creating a specialized node of f" "cp" } } */
26 /* { dg-final { scan-ipa-dump "replacing param .0 a with const 7" "cp" } } */
27 /* { dg-final { scan-ipa-dump "Creating a specialized node of g" "cp" } } */
28 /* { dg-final { scan-ipa-dump "replacing param .0 b with const 7" "cp" } } */