fold3.C
289 Bytes
-
re PR c++/15069 (a bit test on a variable of enum type is miscompiled) · 1f7a8dcc
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
Roger Sayle committed