2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56992.c
blobe945a18ca84f3bbc8213d3891f688c369cbe347e
1 /* PR rtl-optimization/56992 */
2 /* { dg-do compile } */
3 /* { dg-options "-Og -g" } */
5 inline int
6 foo (const char *x)
8 return __builtin_strlen (x);
11 int
12 bar (const char *x, unsigned int *y)
14 unsigned int l = foo (x);
15 if (l > 15)
16 l = 15;
17 *y = l;