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/56719] missed optimization: i > 0xffff || i*4 > 0xffff


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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-03-25 11:41:15 UTC ---
0x3fff is wrong as 0x3fff * 4 is just 0xfffc.  So proper optimization here is i
> 0x3fffu.  That is a missed opportunity in VRP.


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