Commit 170f473b by Martin Jambor Committed by Martin Jambor

Fix Solaris bootstrap

2015-10-08  Martin Jambor  <mjambor@suse.cz>

	* ipa-cp.c (meet_with_1): Make the argument of abs signed.  Remove
	unnecessary MIN.

From-SVN: r228607
parent 338976c2
2015-10-08 Martin Jambor <mjambor@suse.cz>
* ipa-cp.c (meet_with_1): Make the argument of abs signed. Remove
unnecessary MIN.
2015-10-08 Yuri Rumyantsev <ysrumyan@gmail.com>
* tree-vect-loop.c (vect_analyze_loop_operations): Skip virtual phi
......@@ -852,8 +852,8 @@ ipcp_alignment_lattice::meet_with_1 (unsigned new_align, unsigned new_misalign)
}
if (misalign != (new_misalign % align))
{
int diff = abs (misalign - (new_misalign % align));
align = MIN (align, (unsigned) diff & -diff);
int diff = abs ((int) misalign - (int) (new_misalign % align));
align = (unsigned) diff & -diff;
if (align)
misalign = misalign % align;
else
......
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