pr81814.c
1016 Bytes
-
re PR middle-end/81814 (Incorrect behaviour at -O0 (conditional operator)) · e67bbd5d
PR middle-end/81814 * fold-const.c (operand_equal_for_comparison_p): Remove code that used to mimic what shorten_compare did. Change the return type to bool. (fold_cond_expr_with_comparison): Update call to operand_equal_for_comparison_p. (fold_ternary_loc): Likewise. * gcc.dg/torture/pr81814.c: New test. From-SVN: r251152
Marek Polacek committed