summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr26833.c
blob: 76c201c6ea08c196473dd96a7a88f78f7300aa63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
void yasm_lc3b__parse_insn( int num_info, int *num_operands
 , int *operands, int op)
{
  int found = 0;
  int i;
  for (; num_info>0 && !found; num_info--)
   {
    int mismatch = 0;
     for(i = 0;op && (i<*num_operands)&& !mismatch; i++)
     {
       if (!(int)(operands[i] & 0x1))
         mismatch = 1;
       if (mismatch)
         break;
     }
    if (!mismatch)
      found = 1;
  }
}