This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping #1: [Committed,testsuite]: Fix testcase that bangs long and int against void*
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Mike Stump <mikestump at comcast dot net>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Date: Wed, 15 Feb 2012 15:51:45 +0100
- Subject: Re: Ping #1: [Committed,testsuite]: Fix testcase that bangs long and int against void*
- References: <4F102494.9050807@gjlay.de> <B7A49BDB-8597-4466-BB29-833E6DB4C82E@comcast.net> <yddk44v8qkd.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <69900B58-6F87-4582-BA37-F400F8BE5A42@comcast.net> <4F107ABB.2050209@gjlay.de> <20120113191250.GS18768@tyan-ft48-01.lab.bos.redhat.com> <4F22E8FF.106@gjlay.de> <4F293785.7020306@gjlay.de> <20120201131532.GP18768@tyan-ft48-01.lab.bos.redhat.com> <4F294A5D.1020203@gjlay.de>
Georg-Johann Lay wrote:
> Jakub Jelinek wrote:
>> On Wed, Feb 01, 2012 at 02:00:53PM +0100, Georg-Johann Lay wrote:
>>>> * gcc.dg/lto/20091013-1_1.c: xfail for avr.
>>>> * gcc.dg/lto/20091013-1_2.c: xfail for avr.
>> If it is just because of the warnings, can't you
>> add
>> -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
>> to dg-options?
>
> dg-additional-options triggers
> WARNING: lto.exp does not support dg-additional-options
>
>> Also, not sure how effective is dg-xfail-if in the secondary
>> source files, the *_0.c is where all the dg directives are for it.
>
> The FAILs return if dg-xfail-if is removed from 1.c/2.c and added to 0.c
>
> dg-xfail-if only works if added in each and every individual source that
> triggers a warning.
I went ahead and installed the patch. It only disables for avr to avoid
disturbing other targets:
http://gcc.gnu.org/viewcvs?view=revision&revision=184276
Johann