[Patch,testsuite]: Fix testcase that bangs long and int against void*

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Fri Jan 13 17:23:00 GMT 2012


Mike Stump <mikestump@comcast.net> writes:

> On Jan 13, 2012, at 4:33 AM, Georg-Johann Lay wrote:
>> This test case is obviously written for 32-bit platforms, thus added
>> "dg-require-effective-target ilp32" to ensure that the pointer mess won't lead
>> to FAILs because of
>> 
>> warning: cast to pointer from integer of different size
>> 
>> and
>> 
>> warning: cast from pointer to integer of different size
>> 
>> Ok to apply?
>
> Ok.
>
>> 	* gcc.dg/lto/20091013-1_0.c: Add dg-require-effective-target ilp32.

I wonder if the fix is right, though: the testcase currenly passes for
64-bit multilibs, but won't run there any longer if the patch is
applied.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list