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 tree-optimization/48783] ~0ULL % (a / (a & -a)) == 0 is not optimized to false on the tree level


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization, TREE
             Target|Arm                         |
   Last reconfirmed|2011-05-31 22:28:11         |2012-01-28
          Component|c                           |tree-optimization
            Summary|ARM: kernel compiled at -O2 |~0ULL % (a / (a & -a)) == 0
                   |has a unused reference to   |is not optimized to false
                   |__aeabi_uldivmod            |on the tree level

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-29 01:44:28 UTC ---
~0ULL % (a / (a & -a)) == 0
Is not optimized to false on the tree level.

Basically we should figure that out and we would then remove the reference to
the uldivmod libcall.


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