This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16220] [4.0 Regression] Jump pessimization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2004 18:06:16 -0000
- Subject: [Bug tree-optimization/16220] [4.0 Regression] Jump pessimization
- References: <20040626172348.16220.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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