This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/20139] [4.0 regression] cris-elf testsuite: gcc.c-torture/execute/20020720-1.c
- 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: 22 Feb 2005 13:48:39 -0000
- Subject: [Bug regression/20139] [4.0 regression] cris-elf testsuite: gcc.c-torture/execute/20020720-1.c
- References: <20050222120036.20139.hp@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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