OSDN Git Service

2011-10-18 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr49544.c
1 /* PR debug/49544 */
2 /* { dg-do compile } */
3 /* { dg-options "-g -O2" } */
4 /* { dg-require-effective-target ptr32plus } */
5
6 int baz (int, int, void *);
7
8 static inline __attribute__ ((always_inline)) long
9 foo (int x, int y, void *z)
10 {
11   if (y < 0)
12     return baz (x, y, z);
13   return 0;
14 }
15
16 long
17 bar (long x, long y, long z)
18 {
19   return foo (x, y, (void *) z);
20 }