This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,testsuite]: Fix testcase with sizeof(void*) < 4
- From: Mike Stump <mikestump at comcast dot net>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 Jan 2012 09:14:11 -0800
- Subject: Re: [Patch,testsuite]: Fix testcase with sizeof(void*) < 4
- References: <4F101D00.6040005@gjlay.de>
On Jan 13, 2012, at 4:01 AM, Georg-Johann Lay wrote:
> This patch adds -Wno-pointer-to-int-cast to the options in order to avoid FAIL
> because of "warning: cast from pointer to integer of different size" when
> sizeof(void*) = 2.
Ok.
> * gcc.dg/pr50527.c: Don't FAIL if sizeof(void*) = 2