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 middle-end/21331] [4.0 Regression] Incorrect folding of comparison


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


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