int main() {
  int a = 10, b = 5;
  if (a - b != 5)
    return 1;
  int c = a - b;
  if (c != 5)
    return 2;
  int d = a - 5;
  if (d != 5)
    return 3;
  if (3 - 4 - 5 == 3 - (4 - 5))
    return 4;
  if (3 - 4 - 5 != (3 - 4) - 5)
    return 5;
  int dummy;
  dummy = 0;
  long never_dead;
  never_dead = 1099511627776;
  long j = 1099511627776;
  never_dead = j - 1099511627776;
  if (never_dead != 1099511627776 - 1099511627776)
    return 7;
  long k = 1099511627776;
  never_dead = 1099511627776 - k;
  if (never_dead != 1099511627776 - 1099511627776)
    return 8;
  long not_dead = 1099511627776;
  never_dead = not_dead - 1099511627776;
  if (never_dead != 1099511627776 - 1099511627776)
    return 9;
  never_dead = 1099511627776 - not_dead;
  if (never_dead != 1099511627776 - 1099511627776)
    return 10;
  if (1099511627776 - 1099511627776 != never_dead)
    return 11;
  dummy = dummy - never_dead - not_dead;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
movl   $0xa,-0x8(%rbp)
movl   $0x5,-0xc(%rbp)
mov    -0x8(%rbp),%eax
sub    -0xc(%rbp),%eax
cmp    $0x5,%eax
je     1134 <main+0x34>
movl   $0x1,-0x4(%rbp)
jmp    1282 <main+0x182>
mov    -0x8(%rbp),%eax
sub    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
cmpl   $0x5,-0x10(%rbp)
je     1153 <main+0x53>
movl   $0x2,-0x4(%rbp)
jmp    1282 <main+0x182>
mov    -0x8(%rbp),%eax
sub    $0x5,%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x5,-0x14(%rbp)
je     1172 <main+0x72>
movl   $0x3,-0x4(%rbp)
jmp    1282 <main+0x182>
movl   $0x0,-0x18(%rbp)
movabs $0x10000000000,%rax
mov    %rax,-0x20(%rbp)
movabs $0x10000000000,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
movabs $0x10000000000,%rcx
sub    %rcx,%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     11c1 <main+0xc1>
movl   $0x7,-0x4(%rbp)
jmp    1282 <main+0x182>
movabs $0x10000000000,%rax
mov    %rax,-0x30(%rbp)
movabs $0x10000000000,%rax
sub    -0x30(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     11f8 <main+0xf8>
movl   $0x8,-0x4(%rbp)
jmp    1282 <main+0x182>
movabs $0x10000000000,%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
movabs $0x10000000000,%rcx
sub    %rcx,%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     1232 <main+0x132>
movl   $0x9,-0x4(%rbp)
jmp    1282 <main+0x182>
movabs $0x10000000000,%rax
sub    -0x38(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     125b <main+0x15b>
movl   $0xa,-0x4(%rbp)
jmp    1282 <main+0x182>
xor    %eax,%eax
cmp    -0x20(%rbp),%rax
je     1273 <main+0x173>
movl   $0xb,-0x4(%rbp)
jmp    1282 <main+0x182>
movslq -0x18(%rbp),%rax
sub    -0x20(%rbp),%rax
sub    -0x38(%rbp),%rax
mov    %eax,-0x18(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
store i32 0, i32* %1
store i32 10, i32* %2
store i32 5, i32* %3
%11 = load i32, i32* %2
%12 = load i32, i32* %3
%13 = sub nsw i32 %11, %12
%14 = icmp ne i32 %13, 5
br i1 %14, label %15, label %16
15: ; preds = %0
store i32 1, i32* %1
br label %65
16: ; preds = %0
%17 = load i32, i32* %2
%18 = load i32, i32* %3
%19 = sub nsw i32 %17, %18
store i32 %19, i32* %4
%20 = load i32, i32* %4
%21 = icmp ne i32 %20, 5
br i1 %21, label %22, label %23
22: ; preds = %16
store i32 2, i32* %1
br label %65
23: ; preds = %16
%24 = load i32, i32* %2
%25 = sub nsw i32 %24, 5
store i32 %25, i32* %5
%26 = load i32, i32* %5
%27 = icmp ne i32 %26, 5
br i1 %27, label %28, label %29
28: ; preds = %23
store i32 3, i32* %1
br label %65
29: ; preds = %23
store i32 0, i32* %6
store i64 1099511627776, i64* %7
store i64 1099511627776, i64* %8
%30 = load i64, i64* %8
%31 = sub nsw i64 %30, 1099511627776
store i64 %31, i64* %7
%32 = load i64, i64* %7
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 7, i32* %1
br label %65
35: ; preds = %29
store i64 1099511627776, i64* %9
%36 = load i64, i64* %9
%37 = sub nsw i64 1099511627776, %36
store i64 %37, i64* %7
%38 = load i64, i64* %7
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 8, i32* %1
br label %65
41: ; preds = %35
store i64 1099511627776, i64* %10
%42 = load i64, i64* %10
%43 = sub nsw i64 %42, 1099511627776
store i64 %43, i64* %7
%44 = load i64, i64* %7
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 9, i32* %1
br label %65
47: ; preds = %41
%48 = load i64, i64* %10
%49 = sub nsw i64 1099511627776, %48
store i64 %49, i64* %7
%50 = load i64, i64* %7
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 10, i32* %1
br label %65
53: ; preds = %47
%54 = load i64, i64* %7
%55 = icmp ne i64 0, %54
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 11, i32* %1
br label %65
57: ; preds = %53
%58 = load i32, i32* %6
%59 = sext i32 %58 to i64
%60 = load i64, i64* %7
%61 = sub nsw i64 %59, %60
%62 = load i64, i64* %10
%63 = sub nsw i64 %61, %62
%64 = trunc i64 %63 to i32
store i32 %64, i32* %6
br label %65
65: ; preds = %57, %56, %52, %46, %40, %34, %28, %22, %15
%66 = load i32, i32* %1
ret i32 %66
}

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}