[Bug tree-optimization/16220] [4.0 Regression] Jump pessimization
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 30 18:06:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-30 18:06 -------
Roger I almost think this was caused by:
2004-05-20 Roger Sayle <roger@eyesopen.com>
PR middle-end/3074
* fold-const.c (strip_compound_expr): Delete function.
(count_cond): Delete function.
(fold_binary_op_with_conditional_arg): Only perform transformations
"a + (b?c:d) -> b ? a+c : a+d" and "(b?c:d) + a -> b ? c+a : d+a"
when a is constant. This greatly simplifies this routine.
but I could be wrong.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at eyesopen dot com
Known to fail|4.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16220
More information about the Gcc-bugs
mailing list