Richard Biener <rguent...@suse.de> writes: > Index: gcc/testsuite/gcc.dg/torture/pr66952.c > =================================================================== > --- gcc/testsuite/gcc.dg/torture/pr66952.c (revision 0) > +++ gcc/testsuite/gcc.dg/torture/pr66952.c (working copy) > @@ -0,0 +1,28 @@ > +/* { dg-do run } */ > + > +int a = 128, b; > + > +static int > +fn1 (char p1, int p2) > +{ > + return p1 < 0 || p1 > 1 >> p2 ? 0 : p1 << 1;
This is broken, p1 can never be < 0. FAIL: gcc.dg/torture/pr66952.c -O0 execution test Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."