URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr33961.c] - Rev 300
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/33961 */ /* { dg-do run } */ /* { dg-options "-O2 -ftree-cselim" } */ void decode(char *d, int len); void decode(char *d, int len) { int i = len - 1; while(i >= 0) { d[i]; if(d[i] == 0) d[i]=' '; if(d[i] == 1) d[i]='x'; i--; } } int main(int argc, char **argv) { decode("this bug is really weird", 24); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log