Commit b016d07e by Kaveh R. Ghazi Committed by Kaveh Ghazi

combine.c (num_sign_bit_copies): Avoid signed/unsigned warnings.

	* combine.c (num_sign_bit_copies): Avoid signed/unsigned
	warnings.

From-SVN: r46625
parent 1ac04695
2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* combine.c (num_sign_bit_copies): Avoid signed/unsigned
warnings.
* sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
......
......@@ -8510,8 +8510,8 @@ num_sign_bit_copies (x, mode)
if (! POINTERS_EXTEND_UNSIGNED && GET_MODE (x) == Pmode
&& (code == PLUS || code == MINUS)
&& GET_CODE (XEXP (x, 0)) == REG && REG_POINTER (XEXP (x, 0)))
result = MAX ((GET_MODE_BITSIZE (Pmode)
- GET_MODE_BITSIZE (ptr_mode) + 1),
result = MAX ((int)(GET_MODE_BITSIZE (Pmode)
- GET_MODE_BITSIZE (ptr_mode) + 1),
result);
#endif
return result;
......
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