re PR c++/15069 (a bit test on a variable of enum type is miscompiled)
PR middle-end/15069 * fold-const.c (fold_single_bit_test): Only perform "(X & C) != 0" into "X < 0" (where C is the signbit) if X's type is a full mode. * g++.dg/opt/fold3.C: New test case. From-SVN: r82490
Showing
gcc/testsuite/g++.dg/opt/fold3.C
0 → 100644
Please
register
or
sign in
to comment