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/] [20061124-1.c] - Rev 328
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-require-effective-target sync_char_short } */ /* This testcase failed on s390 because no compare instruction for the check of FLAG was emitted. */ unsigned short int count = 0; int flag = 1; extern void abort (void); extern void exit (int); int main () { __sync_add_and_fetch (&count, -1); if (!flag) abort (); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log