re PR rtl-optimization/14851 (suboptimal fp division with -ffast-math)

PR rtl-optimization/14851
        * rtlanal.c (commutative_operand_precedence): Calculate
        precedence of stripped constant.

From-SVN: r87788
This commit is contained in:
Uros Bizjak 2004-09-21 07:10:54 +02:00 committed by Uros Bizjak
parent 6f2aec072e
commit 79b82df36c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-09-21 Uros Bizjak <uros@kss-loka.si>
PR rtl-optimization/14851
* rtlanal.c (commutative_operand_precedence): Calculate
precedence of stripped constant.
2004-09-20 Jeff Law <law@redhat.com>
Jan Hubicka <jh@suse.cz>

View File

@ -2980,6 +2980,7 @@ commutative_operand_precedence (rtx op)
if (code == CONST_DOUBLE)
return -6;
op = avoid_constant_pool_reference (op);
code = GET_CODE (op);
switch (GET_RTX_CLASS (code))
{