re PR rtl-optimization/26026 (power of 2 mod missing optimisation)
authorAlan Modra <amodra@bigpond.net.au>
Tue, 18 Apr 2006 23:45:47 +0000 (23:45 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 18 Apr 2006 23:45:47 +0000 (09:15 +0930)
commit0f35201e17af50625338fc7478775f61ed194d9e
treef0c3476c5279bc39e419859f887be884c47c8f87
parent76f7a74ff6e0603026f74c23559b8b9fae209a10
re PR rtl-optimization/26026 (power of 2 mod missing optimisation)

PR rtl-optimization/26026
* fold-const.c (fold_binary): Optimize div and mod where the divisor
is a known power of two shifted left a variable amount.

From-SVN: r113060
gcc/ChangeLog
gcc/fold-const.c