This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c/14092
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: bonzini at gnu dot org, roger at eyesopen dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Feb 2004 22:03:00 +0100 (CET)
- Subject: Re: [PATCH] Fix PR c/14092
Paolo Bonzini wrote:
> plci->x = -((int)(plci->buf)) & 3;
This test case fails on s390x (and presumably other 64-bit platforms)
with a "cast from pointer to integer of different size" warning.
Could you please fix the test case (maybe using intptr_t)?
Thanks,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de