OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [stackalign/] [non-local-goto-5.c] - Blame information for rev 424

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
 
3
#if !defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
4
extern void abort (void);
5
extern void exit (int);
6
int s(i){if(i>0){__label__ l1;int f(int i){if(i==2)goto l1;return 0;}return f(i);l1:;}return 1;}
7
int x(){return s(0)==1&&s(1)==0&&s(2)==1;}
8
int main(){if(x()!=1)abort();exit(0);}
9
#else
10
int main(){ exit (0); }
11
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.