blob: 9d9a9f08f80395894362850b73ab3cd0de837240 [file] [log] [blame]
// PR debug/100852
// { dg-do compile }
// { dg-options "-Og -fif-conversion -fno-tree-ccp -fno-tree-copy-prop -fcompare-debug" }
static inline int
min (unsigned a, int b)
{
return a < b ? a : b;
}
struct S { S (char); };
static inline S
foo (unsigned x)
{
int h;
h += min (x * 4, h);
return h;
}
void
bar ()
{
foo (0);
}