OSDN Git Service

2011-11-01 Tom de Vries <tom@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr47443.c
1 /* PR tree-optimization/47443 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fstack-check=generic" } */
4
5 static inline bar (char *c, int i)
6 {
7   return c + i > c;
8 }
9
10 int foo ()
11 {
12   char c[100];
13   return (bar (c, 1));
14 }