Re: [Testsuite] getpid in gcc.c-torture/execute/pr58419.c

2014-04-30 Thread Jeff Law
On 04/25/14 03:16, Dhakshinamoorthy, Soundararajan wrote: 2014-04-25 Soundararajan Dhakshinamoorthy * gcc.c-torture/execute/pr58419.c: Adjust the test to work with bare metal targets. The test code references to functions that is not implemented for the avr target (getpid(

RE: [Testsuite] getpid in gcc.c-torture/execute/pr58419.c

2014-04-25 Thread Dhakshinamoorthy, Soundararajan
u.org Subject: Re: [Testsuite] getpid in gcc.c-torture/execute/pr58419.c On 04/23/14 05:50, Dhakshinamoorthy, Soundararajan wrote: > Hi all, > > The test mentioned in the link had a call to getpid which causes the test to > fail for bare metal targets. Is it ok to replace it

Re: [Testsuite] getpid in gcc.c-torture/execute/pr58419.c

2014-01-28 Thread Jeff Law
On 01/28/14 11:14, Janis Johnson wrote: The testcase in the PR had a call to printf. The modified test doesn't call printf, and doesn't declare getpid. I assume that getpid is called simply to have an external call, but there must be something that could be used instead that is available for an

Re: [Testsuite] getpid in gcc.c-torture/execute/pr58419.c

2014-01-28 Thread Janis Johnson
On 01/27/2014 10:51 PM, Senthil Kumar Selvaraj wrote: > This is on trunk - I was under the impression that it is always trunk, > unless otherwise stated? > > getpid doesn't really make sense for bare metal targets, I would think? > > Regards > Senthil > > On Mon, Jan 27, 2014 at 01:04:48PM +

Re: [Testsuite] getpid in gcc.c-torture/execute/pr58419.c

2014-01-27 Thread Senthil Kumar Selvaraj
This is on trunk - I was under the impression that it is always trunk, unless otherwise stated? getpid doesn't really make sense for bare metal targets, I would think? Regards Senthil On Mon, Jan 27, 2014 at 01:04:48PM +, Umesh Kalappa wrote: > Senthil, > Please do let us know the gcc versio