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/23518] some gcc optimizations do not take overflow into account with -fwrapv


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-22 19:45 -------
Note signed overflow is undefined unless you use -fwrapv except that does not fix this.

This is a bug in fold, most likely build_range_check. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|rtl-optimization            |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
      Known to fail|                            |3.4.0 4.0.0 4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-22 19:45:50
               date|                            |
            Summary|some gcc optimizations do   |some gcc optimizations do
                   |not take overflow into      |not take overflow into
                   |account                     |account with -fwrapv


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23518


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