summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr16461.c
blob: b48eee2058afb4d50a6fe7ebff4189e1869c6d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/16461  */

int DVDinput_read(int);
int DVDReadBlocksPath(int offset, int block_count) {
    int ret = 0, ret2 = 0;
    for (;;) {
	if (offset)
	    ret = DVDinput_read(block_count);
	else 
	    ret2 = DVDinput_read(block_count);
	break;
    }
    return ret + ret2;
}