Eric Botcazou writes:
>> The new gcc.dg/torture/pr47917.c test currently fails the execution test
>> on IRIX 6.5. To get a C99-conformant snprintf, one needs to include
>> with _XOPEN_SOURCE defined as 500. The following patch does
>> this.
>
> Likewise on Solaris 8 (It's deprecated, I know, b
> 2011-04-05 Eric Botcazou
>
> * gcc.dg/torture/pr47917.c: Add -D_XOPEN_SOURCE=500 to dg-options for
> Solaris 8 as well.
I somehow missed that the same change is needed on Solaris 9... Adjusted.
--
Eric Botcazou
> The new gcc.dg/torture/pr47917.c test currently fails the execution test
> on IRIX 6.5. To get a C99-conformant snprintf, one needs to include
> with _XOPEN_SOURCE defined as 500. The following patch does
> this.
Likewise on Solaris 8 (It's deprecated, I know, but I have access to a quite
fa
On Tue, 2011-03-29 at 19:50 +0200, Rainer Orth wrote:
> /* { dg-options "-std=gnu99" { target *-*-hpux* } } */
>
> Alternatively, the mips-sgi-irix6.5 variant might work, too. Either
> patch is preapproved if this works for you.
>
> Thanks.
> Rainer
I went with the -std=gnu99 option. He
Steve,
> This patch re-broke pr47917.c on HP-UX because it doesn't see the
> snprintf prototype in stdio.h when using -std=c99. I do see it if I use
sorry for that. I noticed later that this standards-conformant snprintf
business is a total mess on several platforms (e.g. it also fails on
Tru64
On Fri, Mar 25, 2011 at 4:27 PM, Rainer Orth wrote:
> The new gcc.dg/torture/pr47917.c test currently fails the execution test
> on IRIX 6.5. To get a C99-conformant snprintf, one needs to include
> with _XOPEN_SOURCE defined as 500. The following patch does
> this.
Rainer,
This patch re-broke
On Fri, Mar 25, 2011 at 4:27 PM, Rainer Orth
wrote:
> The new gcc.dg/torture/pr47917.c test currently fails the execution test
> on IRIX 6.5. To get a C99-conformant snprintf, one needs to include
> with _XOPEN_SOURCE defined as 500. The following patch does
> this.
>
> Tested with the appropri
The new gcc.dg/torture/pr47917.c test currently fails the execution test
on IRIX 6.5. To get a C99-conformant snprintf, one needs to include
with _XOPEN_SOURCE defined as 500. The following patch does
this.
Tested with the appropriate runtest invocations on mips-sgi-irix6.5 and
i386-pc-solaris2