URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr26630.c] - Rev 826
Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-require-effective-target int32plus } */ extern void abort(void); int main() { int a1 = 40000; int c1 = ( ((int)(short)(a1-10000)) + 10000)*2; if (c1 != 80000) abort(); return 0; }