Commit 1cd7d53f by Joern Rennecke Committed by Joern Rennecke

re PR target/46739 (mmix-knuth-mmixware --enable-werror-always build fails for 64 bit host)

        PR target/46739
        * config/mmix/mmix.c (mmix_intval): Split shift count.

From-SVN: r167509
parent 2f5b1308
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
(frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise. (frv_emit_movsi, output_move_single, frv_emit_cond_move): Likewise.
(frv_split_cond_move, frv_rtx_costs): Likewise. (frv_split_cond_move, frv_rtx_costs): Likewise.
PR target/46739
* config/mmix/mmix.c (mmix_intval): Split shift count.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com> 2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (m_COREI7): New. * config/i386/i386.c (m_COREI7): New.
...@@ -2747,7 +2747,7 @@ mmix_intval (rtx x) ...@@ -2747,7 +2747,7 @@ mmix_intval (rtx x)
retval |= retval |=
(unsigned HOST_WIDEST_INT) CONST_DOUBLE_HIGH (x) (unsigned HOST_WIDEST_INT) CONST_DOUBLE_HIGH (x)
<< (HOST_BITS_PER_LONG); << (HOST_BITS_PER_LONG)/2 << (HOST_BITS_PER_LONG)/2;
} }
else else
retval = CONST_DOUBLE_HIGH (x); retval = CONST_DOUBLE_HIGH (x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment