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 optimization/14669] [3.4/3.5 Regression] Wrong code with -O for enum values expression E4 <= t && t <= E6


------- 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


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