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 rtl-optimization/23047] Combine ignores flag_wrapv


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

Paolo Bonzini <bonzini at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org
      Known to fail|                            |

--- Comment #8 from Paolo Bonzini <bonzini at gnu dot org> 2010-11-03 18:51:46 UTC ---
flag_wrapv should not be respected by combine because PLUS/MINUS in RTL should
_always_ have wrapping semantics.

The right place for this optimization is in fold-const.c, especially in the
current GCC world.


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