1 /* PR tree-optimization/47443 */ 2 /* { dg-do compile } */ 3 /* { dg-require-stack-check "generic" } */ 4 /* { dg-options "-O -fstack-check=generic" } */ 5 bar(char * c,int i)6static inline int bar (char *c, int i) 7 { 8 return c + i > c; 9 } 10 foo()11int foo () 12 { 13 char c[100]; 14 return (bar (c, 1)); 15 } 16