pr58419.c: Use dummy no-inline function instead of getpid.
2014-04-30 Soundararajan Dhakshinamoorthy <sounderarajan.d@atmel.com> * gcc.c-torture/execute/pr58419.c: Use dummy no-inline function instead of getpid. From-SVN: r209957
This commit is contained in:
parent
598cc4fada
commit
ba49cc990b
|
@ -1,3 +1,8 @@
|
|||
2014-04-30 Soundararajan Dhakshinamoorthy <sounderarajan.d@atmel.com>
|
||||
|
||||
* gcc.c-torture/execute/pr58419.c: Use dummy no-inline function
|
||||
instead of getpid.
|
||||
|
||||
2014-04-30 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* gfortran.dg/coarray_poly_7.f90
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
int printf(const char *, ...);
|
||||
__attribute__((__noinline__))
|
||||
void
|
||||
dummy ()
|
||||
{
|
||||
asm volatile("");
|
||||
}
|
||||
|
||||
int a, g, i, k, *p;
|
||||
signed char b;
|
||||
|
@ -31,6 +36,6 @@ main ()
|
|||
*l = a;
|
||||
g = foo (*m = k && *d, 1 > i) || bar ();
|
||||
}
|
||||
getpid();
|
||||
dummy();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue