This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/16220] [4.0 Regression] Jump pessimization


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]