This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Thomas Schwinge <thomas at codesourcery dot com>, <gcc-patches at gcc dot gnu dot org>, <danglin at gcc dot gnu dot org>, John David Anglin <dave dot anglin at bell dot net>, James Norris <jnorris at codesourcery dot com>, Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 04 May 2015 16:38:49 +0200
- Subject: Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests
- Authentication-results: sourceware.org; auth=none
- References: <54FF0C91 dot 8020307 at mentor dot com> <871tj1rdfc dot fsf at schwinge dot name> <87pp6gvj3v dot fsf at kepler dot schwinge dot homeip dot net> <yddvbg8iid0 dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <87pp6g8lbv dot fsf at igel dot home>
Andreas Schwab <schwab@linux-m68k.org> writes:
> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> You cannot expect printf to print "(nil)" or variant for NULL pointers.
>> E.g. on Solaris 10 you get a SEGV instead.
>
> You are probably mixing it up with %s. %p is required to handle NULL
> like any other valid pointer value.
Seems so. Sorry for the noise.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University