Beispiel #1
0
int
test01 (int x)
{
  /* We must see a stc gbr,rn before the function call, because
     a function call could modify the gbr.  In this case the user requests
     the old gbr value, before the function call.  */
  int* p = (int*)__builtin_thread_pointer ();
  p[5] = test00 ();
  return 0;
}
Beispiel #2
0
test01 (int a, int b, int c, int d)
{
  return test00 (a, b) + c;
}
Beispiel #3
0
int
main( int argc, char *argv[] )
{
    test00();
}
Beispiel #4
0
int
main (int argc, char** argv)
{
  return test00 (argc, 123) + test01 (argc, 123);
}