This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14669] [3.4/3.5 Regression] Wrong code with -O for enum values expression E4 <= t && t <= E6
- 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: 21 Mar 2004 15:31:43 -0000
- Subject: [Bug optimization/14669] [3.4/3.5 Regression] Wrong code with -O for enum values expression E4 <= t && t <= E6
- References: <20040321141018.14669.wanderer@rsu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-21 15:31 -------
In fact it worked earlier this year (3.4.0 20040116):
Expr1: False = 0.
Expr2: False = 0.
Confirmed on a mainline compiler built today.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Known to fail| |3.4.0 3.5.0
Known to work| |3.3
Last reconfirmed|0000-00-00 00:00:00 |2004-03-21 15:31:43
date| |
Summary|Wrong code with -O for enum |[3.4/3.5 Regression] Wrong
|values expression E4 <= t &&|code with -O for enum values
|t <= E6 |expression E4 <= t && t <=
| |E6
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14669