URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Test for string translation. */
|
/* Test for string translation. */
|
/* { dg-do compile }
|
/* { dg-do compile }
|
{ dg-require-iconv "IBM1047" }
|
{ dg-require-iconv "IBM1047" }
|
{ dg-final { scan-assembler "foo" } } */
|
{ dg-final { scan-assembler "foo" } } */
|
int main()
|
int main()
|
{
|
{
|
unsigned long int *ptr;
|
unsigned long int *ptr;
|
ptr = ((unsigned long int *)
|
ptr = ((unsigned long int *)
|
( { void *stack_ptr;
|
( { void *stack_ptr;
|
__asm__ __volatile__ ( "foo %0" : "=r" (stack_ptr) );
|
__asm__ __volatile__ ( "foo %0" : "=r" (stack_ptr) );
|
(stack_ptr); } ) );
|
(stack_ptr); } ) );
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.