Commit c25bc8a1 by Dale Johannesen

Removing

From-SVN: r100624
parent 16191a64
/* { dg-do run { target powerpc*-*-* } } */
#include <locale.h>
#include <stdlib.h>
register int *testreg asm ("r29");
int x;
int y;
int *ext_func (int *p) { return p; }
void test_reg_save_restore (int*) __attribute__((noinline));
void
test_reg_save_restore (int *p)
{
setlocale (LC_ALL, "C");
testreg = ext_func(p);
}
main() {
testreg = &x;
test_reg_save_restore (&y);
if (testreg != &y)
abort ();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment