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 regression/20139] [4.0 regression] cris-elf testsuite: gcc.c-torture/execute/20020720-1.c


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 13:48 -------
Caused by:
2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>

        * tree-cfg.c (fold_cond_expr_cond): New.
        (make_edges): Call fold_cond_expr_cond.
        (find_taken_edge): Accept nothing but INTEGER_CST.
        (find_taken_edge_cond_expr): Reject INTEGER_CST other than 0
        and 1.
        (find_taken_edge_switch_expr): Remove a check for INTEGER_CST.

Basically we are no longer folding it (because forward-progate does not call fold) and this was the only 
place where we called fold.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-22 13:48:37
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20139


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