This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/21331] [4.0 Regression] Incorrect folding of comparison
- 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: 2 May 2005 11:40:58 -0000
- Subject: [Bug middle-end/21331] [4.0 Regression] Incorrect folding of comparison
- References: <20050502100553.21331.tege-gcc@swox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-02 11:40 -------
Confirmed, another bug (PR 21293 is the other) fixed on the mainline by:
2005-03-14 Zdenek Dvorak <dvorakz@suse.cz>
* tree-cfg.c (find_taken_edge_cond_expr): Use zero_p instead of
integer_zerop.
* tree-gimple.c (is_gimple_min_invariant): Consider overflowed
constants invariant.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
BugsThisDependsOn| |21293
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed| |1
GCC build triplet|ia64-redhat-linux, powerpc- |
|apple-darwin8 |
GCC host triplet|ia64-redhat-linux, powerpc- |
|apple-darwin8 |
GCC target triplet|ia64-redhat-linux, powerpc- |any 64bit target
|apple-darwin8 |
Keywords| |wrong-code
Known to fail| |4.0.0
Known to work| |3.4.3 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-05-02 11:40:53
date| |
Summary|Incorrect folding of |[4.0 Regression] Incorrect
|comparison |folding of comparison
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21331