Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / ipa / ipa-5.c
blob1485d3725433adc5b2c14b15478ba335ec8f47ac
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fipa-cp -fdump-ipa-cp -fno-early-inlining" } */
3 /* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
5 /* Float & short constants. */
7 #include <stdio.h>
8 int g (float b, short c)
10 return c + (int)b;
12 int f (float a)
14 /* a is modified. */
15 if (a++ > 0)
16 g (a, 3);
18 int main ()
20 f (7.6);
21 return 0;
25 /* { dg-final { scan-ipa-dump-times "versioned function" 2 "cp" } } */
26 /* { dg-final { scan-ipa-dump-times "propagating const" 2 "cp" } } */
27 /* { dg-final { cleanup-ipa-dump "cp" } } */