1 /* PR optimization/11864
2 * Reporter: Kazumoto Kojima <kkojima@gcc.gnu.org>
3 * Summary: [3.3/3.4 regression] miscompiles zero extension and test
5 * gcc-3.3/3.4 -O2 for sh target may miscompile the combination of zero extension
6 * and test if it's zero.
8 * Testcase tweaked by dank@kegel.com. Not marked as xfail because it's a regression.
11 /* { dg-options "-O2" } */
13 extern void abort(void);
32 a
[0] = 1 + (f() & 127);
35 int main(int argc
, char **argv
)