diff options
Diffstat (limited to 'gcc-4.4.0/gcc/testsuite/gcc.dg/tree-prof/pr32773.c')
-rw-r--r-- | gcc-4.4.0/gcc/testsuite/gcc.dg/tree-prof/pr32773.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc-4.4.0/gcc/testsuite/gcc.dg/tree-prof/pr32773.c b/gcc-4.4.0/gcc/testsuite/gcc.dg/tree-prof/pr32773.c new file mode 100644 index 000000000..24ed96030 --- /dev/null +++ b/gcc-4.4.0/gcc/testsuite/gcc.dg/tree-prof/pr32773.c @@ -0,0 +1,17 @@ +/* { dg-options "-O" } */ +/* { dg-options "-O -m4" { target sh-*-* } } */ + +void foo (int *p) +{ + if (p) + *p = 0; +} + +int main() +{ + int x; + foo (&x); + return 0; +} + +/* { dg-final { cleanup-coverage-files } } */ |