This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/8093] Wrong warning by gcc suggests adding dead code to end of function
- 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: 5 May 2004 03:39:09 -0000
- Subject: [Bug c/8093] Wrong warning by gcc suggests adding dead code to end of function
- References: <20020930052559.8093.andreaha-bugs@lexx.infeline.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-05 03:39 -------
I think for the tree-ssa, one of the problems is that the statement "(a != 1 && a != 2 && a !=
3 && a != 4)" is converted too early to be "((unsigned int)(a - 1) > 3)" by fold.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Last reconfirmed|2004-02-04 09:06:18 |2004-05-05 03:39:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8093