type_qualifier_list(qq) int *qq;
{
  int q;
  int q2;
  switch (yyselect()) {
  case 29: {
    type_qualifier(&q);
    *qq |= q;
    while (1) {
      switch (yyselect()) {
      case 125: {
        type_qualifier(&q2);
        *qq |= q2;
      } break;
      default:
        goto yy3;
      }
    }
  yy3:;
  } break;
  }
}


x86 assembly (clang, -O0):
<type_qualifier_list>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
xor    %eax,%eax
call   1040 <yyselect@plt>
sub    $0x1d,%eax
jne    1196 <type_qualifier_list+0x76>
jmp    1141 <type_qualifier_list+0x21>
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   1030 <type_qualifier@plt>
mov    -0x14(%rbp),%ecx
mov    -0x10(%rbp),%rax
or     (%rax),%ecx
mov    %ecx,(%rax)
xor    %eax,%eax
call   1040 <yyselect@plt>
sub    $0x7d,%eax
jne    1187 <type_qualifier_list+0x67>
jmp    116c <type_qualifier_list+0x4c>
lea    -0x18(%rbp),%rdi
mov    $0x0,%al
call   1030 <type_qualifier@plt>
mov    -0x18(%rbp),%ecx
mov    -0x10(%rbp),%rax
or     (%rax),%ecx
mov    %ecx,(%rax)
jmp    118c <type_qualifier_list+0x6c>
jmp    1191 <type_qualifier_list+0x71>
jmp    1157 <type_qualifier_list+0x37>
jmp    1196 <type_qualifier_list+0x76>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<type_qualifier_list>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
xor    %eax,%eax
call   1040 <yyselect@plt>
cmp    $0x1d,%eax
jne    117b <type_qualifier_list+0x5b>
lea    0x4(%rsp),%rdi
xor    %eax,%eax
call   1030 <type_qualifier@plt>
mov    0x4(%rsp),%eax
or     %eax,(%rbx)
xor    %eax,%eax
call   1040 <yyselect@plt>
cmp    $0x7d,%eax
jne    117b <type_qualifier_list+0x5b>
mov    %rsp,%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <type_qualifier@plt>
mov    (%rsp),%eax
or     %eax,(%rbx)
xor    %eax,%eax
call   1040 <yyselect@plt>
cmp    $0x7d,%eax
je     1160 <type_qualifier_list+0x40>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define i32 @type_qualifier_list(i32* %0) {
%2 = alloca i32
%3 = alloca i32*
%4 = alloca i32
%5 = alloca i32
store i32* %0, i32** %3
%6 = call i32 (...) @yyselect()
switch i32 %6, label %24 [
i32 29, label %7
]
7: ; preds = %1
%8 = call i32 (i32*, ...) bitcast (i32 (...)* @type_qualifier to i32 (i32*, ...)*)(i32* %4)
%9 = load i32, i32* %4
%10 = load i32*, i32** %3
%11 = load i32, i32* %10
%12 = or i32 %11, %9
store i32 %12, i32* %10
br label %13
13: ; preds = %7, %22
%14 = call i32 (...) @yyselect()
switch i32 %14, label %21 [
i32 125, label %15
]
15: ; preds = %13
%16 = call i32 (i32*, ...) bitcast (i32 (...)* @type_qualifier to i32 (i32*, ...)*)(i32* %5)
%17 = load i32, i32* %5
%18 = load i32*, i32** %3
%19 = load i32, i32* %18
%20 = or i32 %19, %17
store i32 %20, i32* %18
br label %22
21: ; preds = %13
br label %23
22: ; preds = %15
br label %13
23: ; preds = %21
br label %24
24: ; preds = %1, %23
%25 = load i32, i32* %2
ret i32 %25
}

LLVM IR (-O2):
define i32 @type_qualifier_list(i32* nocapture %0) {
%2 = alloca i32
%3 = alloca i32
%4 = bitcast i32* %2 to i8*
%5 = bitcast i32* %3 to i8*
%6 = tail call i32 (...) @yyselect()
%7 = icmp eq i32 %6, 29
br i1 %7, label %8, label %22
8: ; preds = %1
%9 = call i32 (i32*, ...) bitcast (i32 (...)* @type_qualifier to i32 (i32*, ...)*)(i32* %2)
%10 = load i32, i32* %2
%11 = load i32, i32* %0
%12 = or i32 %11, %10
store i32 %12, i32* %0
%13 = call i32 (...) @yyselect()
%14 = icmp eq i32 %13, 125
br i1 %14, label %15, label %22
15: ; preds = %8, %15
%16 = call i32 (i32*, ...) bitcast (i32 (...)* @type_qualifier to i32 (i32*, ...)*)(i32* %3)
%17 = load i32, i32* %3
%18 = load i32, i32* %0
%19 = or i32 %18, %17
store i32 %19, i32* %0
%20 = call i32 (...) @yyselect()
%21 = icmp eq i32 %20, 125
br i1 %21, label %15, label %22
22: ; preds = %15, %8, %1
ret i32 undef
}