1 // This testcase was miscompiled on s390x, because strength-reduction
2 // did not see biv in C::foo as used after loop, but it was used
3 // in a REG_EQUAL note.
5 // { dg-options "-O2" }
7 extern "C" void abort (void);
11 int foo (char ch, int offset = __INT_MAX__) const;
12 int bar (int offset, char c) const;
16 int C::bar (int offset, char c) const
26 int C::foo (char ch, int offset) const
28 int len = __builtin_strlen (a);
34 while (bar (offset, ch) != 0)
47 c.a = "/some/dir/file.ext";