1 /* PR rtl-optimization/56992 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Og -g" } */ 4 5 inline int foo(const char * x)6foo (const char *x) 7 { 8 return __builtin_strlen (x); 9 } 10 11 int bar(const char * x,unsigned int * y)12bar (const char *x, unsigned int *y) 13 { 14 unsigned int l = foo (x); 15 if (l > 15) 16 l = 15; 17 *y = l; 18 } 19