[ptx] Fix sso tests

Jeff Law law@redhat.com
Mon Nov 23 20:45:00 GMT 2015


On 11/23/2015 01:16 PM, Nathan Sidwell wrote:
> The gcc.dg/sso tests gratuitously fail on PTX because they use IO
> facilities that don't exist there.  This  patch changes the dumping to
> use the putchar function call (and not a macro), and not use fputs.
>
> With this they all pass.
>
> I'm not quite sure where the maintainer  boundaries lie for this kind of
> fix. Any objections?
In the 'put' function, why not just make all targets go through putchar? 
  It's not like this is performance critical code and I don't think it 
compromises any of the tests, does it?

jeff



More information about the Gcc-patches mailing list