#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int);
int /*<<< orphan*/ stderr;
int main(void) {
  do {
    int result = (((0) > (0)) - ((0) < (0)));
    if (result != 0) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "0"
              ", "
              "0"
              ") resulted in %d but was expecting "
              "0"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((1) > (2)) - ((1) < (2)));
    if (result != -1) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "1"
              ", "
              "2"
              ") resulted in %d but was expecting "
              "-1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((1) > (1)) - ((1) < (1)));
    if (result != 0) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "1"
              ", "
              "1"
              ") resulted in %d but was expecting "
              "0"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((2) > (1)) - ((2) < (1)));
    if (result != 1) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "2"
              ", "
              "1"
              ") resulted in %d but was expecting "
              "1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((0U) > (0U)) - ((0U) < (0U)));
    if (result != 0) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "0U"
              ", "
              "0U"
              ") resulted in %d but was expecting "
              "0"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((1U) > (2U)) - ((1U) < (2U)));
    if (result != -1) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "1U"
              ", "
              "2U"
              ") resulted in %d but was expecting "
              "-1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((1U) > (1U)) - ((1U) < (1U)));
    if (result != 0) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "1U"
              ", "
              "1U"
              ") resulted in %d but was expecting "
              "0"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = (((2U) > (1U)) - ((2U) < (1U)));
    if (result != 1) {
      fprintf(stderr,
              "COMPARE_INT"
              "("
              "2U"
              ", "
              "1U"
              ") resulted in %d but was expecting "
              "1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = ((0) == (0) ? 0 : ((0) > (0) ? 1 : -1));
    if (result != 0) {
      fprintf(stderr,
              "COMPARE_FLOAT"
              "("
              "0"
              ", "
              "0"
              ") resulted in %d but was expecting "
              "0"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = ((1.0) == (2.0) ? 0 : ((1.0) > (2.0) ? 1 : -1));
    if (result != -1) {
      fprintf(stderr,
              "COMPARE_FLOAT"
              "("
              "1.0"
              ", "
              "2.0"
              ") resulted in %d but was expecting "
              "-1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = ((1.0) == (1.0) ? 0 : ((1.0) > (1.0) ? 1 : -1));
    if (result != 0) {
      fprintf(stderr,
              "COMPARE_FLOAT"
              "("
              "1.0"
              ", "
              "1.0"
              ") resulted in %d but was expecting "
              "0"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = ((2.0) == (1.0) ? 0 : ((2.0) > (1.0) ? 1 : -1));
    if (result != 1) {
      fprintf(stderr,
              "COMPARE_FLOAT"
              "("
              "2.0"
              ", "
              "1.0"
              ") resulted in %d but was expecting "
              "1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = ((0.1) == (0.2) ? 0 : ((0.1) > (0.2) ? 1 : -1));
    if (result != -1) {
      fprintf(stderr,
              "COMPARE_FLOAT"
              "("
              "0.1"
              ", "
              "0.2"
              ") resulted in %d but was expecting "
              "-1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  do {
    int result = ((0.2) == (0.1) ? 0 : ((0.2) > (0.1) ? 1 : -1));
    if (result != 1) {
      fprintf(stderr,
              "COMPARE_FLOAT"
              "("
              "0.2"
              ", "
              "0.1"
              ") resulted in %d but was expecting "
              "1"
              ".\n",
              result);
      return 1;
    }
  } while (0);
  ;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1154 <main+0x44>
mov    0x2ea9(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%edx
lea    0xebd(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1159 <main+0x49>
jmp    115e <main+0x4e>
movl   $0xffffffff,-0xc(%rbp)
cmpl   $0xffffffff,-0xc(%rbp)
je     1193 <main+0x83>
mov    0x2e6a(%rip),%rax
mov    (%rax),%edi
mov    -0xc(%rbp),%edx
lea    0xeb5(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1198 <main+0x88>
jmp    119d <main+0x8d>
movl   $0x0,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
je     11d2 <main+0xc2>
mov    0x2e2b(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%edx
lea    0xeae(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    11d7 <main+0xc7>
jmp    11dc <main+0xcc>
movl   $0x1,-0x14(%rbp)
cmpl   $0x1,-0x14(%rbp)
je     1211 <main+0x101>
mov    0x2dec(%rip),%rax
mov    (%rax),%edi
mov    -0x14(%rbp),%edx
lea    0xea6(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1216 <main+0x106>
jmp    121b <main+0x10b>
movl   $0x0,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
je     1250 <main+0x140>
mov    0x2dad(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%edx
lea    0xe9e(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1255 <main+0x145>
jmp    125a <main+0x14a>
movl   $0xffffffff,-0x1c(%rbp)
cmpl   $0xffffffff,-0x1c(%rbp)
je     128f <main+0x17f>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
mov    -0x1c(%rbp),%edx
lea    0xe98(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1294 <main+0x184>
jmp    1299 <main+0x189>
movl   $0x0,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
je     12ce <main+0x1be>
mov    0x2d2f(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%edx
lea    0xe93(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    12d3 <main+0x1c3>
jmp    12d8 <main+0x1c8>
movl   $0x1,-0x24(%rbp)
cmpl   $0x1,-0x24(%rbp)
je     130d <main+0x1fd>
mov    0x2cf0(%rip),%rax
mov    (%rax),%edi
mov    -0x24(%rbp),%edx
lea    0xe8d(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1312 <main+0x202>
jmp    1317 <main+0x207>
movl   $0x0,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     134c <main+0x23c>
mov    0x2cb1(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%edx
lea    0xe87(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1351 <main+0x241>
jmp    1356 <main+0x246>
movl   $0xffffffff,-0x2c(%rbp)
cmpl   $0xffffffff,-0x2c(%rbp)
je     138b <main+0x27b>
mov    0x2c72(%rip),%rax
mov    (%rax),%edi
mov    -0x2c(%rbp),%edx
lea    0xe81(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    1390 <main+0x280>
jmp    1395 <main+0x285>
movl   $0x0,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
je     13ca <main+0x2ba>
mov    0x2c33(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%edx
lea    0xe80(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    13cf <main+0x2bf>
jmp    13d4 <main+0x2c4>
movl   $0x1,-0x34(%rbp)
cmpl   $0x1,-0x34(%rbp)
je     1409 <main+0x2f9>
mov    0x2bf4(%rip),%rax
mov    (%rax),%edi
mov    -0x34(%rbp),%edx
lea    0xe7e(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    140e <main+0x2fe>
jmp    1413 <main+0x303>
movl   $0xffffffff,-0x38(%rbp)
cmpl   $0xffffffff,-0x38(%rbp)
je     1448 <main+0x338>
mov    0x2bb5(%rip),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%edx
lea    0xe7c(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    144d <main+0x33d>
jmp    1452 <main+0x342>
movl   $0x1,-0x3c(%rbp)
cmpl   $0x1,-0x3c(%rbp)
je     1487 <main+0x377>
mov    0x2b76(%rip),%rax
mov    (%rax),%edi
mov    -0x3c(%rbp),%edx
lea    0xe7b(%rip),%rsi
call   1030 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1493 <main+0x383>
jmp    148c <main+0x37c>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
@stderr = global i32 0
@.str = [55 x i8] c"COMPARE_INT(0, 0) resulted in %d but was expecting 0.\0A\00"
@.str.1 = [56 x i8] c"COMPARE_INT(1, 2) resulted in %d but was expecting -1.\0A\00"
@.str.2 = [55 x i8] c"COMPARE_INT(1, 1) resulted in %d but was expecting 0.\0A\00"
@.str.3 = [55 x i8] c"COMPARE_INT(2, 1) resulted in %d but was expecting 1.\0A\00"
@.str.4 = [57 x i8] c"COMPARE_INT(0U, 0U) resulted in %d but was expecting 0.\0A\00"
@.str.5 = [58 x i8] c"COMPARE_INT(1U, 2U) resulted in %d but was expecting -1.\0A\00"
@.str.6 = [57 x i8] c"COMPARE_INT(1U, 1U) resulted in %d but was expecting 0.\0A\00"
@.str.7 = [57 x i8] c"COMPARE_INT(2U, 1U) resulted in %d but was expecting 1.\0A\00"
@.str.8 = [57 x i8] c"COMPARE_FLOAT(0, 0) resulted in %d but was expecting 0.\0A\00"
@.str.9 = [62 x i8] c"COMPARE_FLOAT(1.0, 2.0) resulted in %d but was expecting -1.\0A\00"
@.str.10 = [61 x i8] c"COMPARE_FLOAT(1.0, 1.0) resulted in %d but was expecting 0.\0A\00"
@.str.11 = [61 x i8] c"COMPARE_FLOAT(2.0, 1.0) resulted in %d but was expecting 1.\0A\00"
@.str.12 = [62 x i8] c"COMPARE_FLOAT(0.1, 0.2) resulted in %d but was expecting -1.\0A\00"
@.str.13 = [61 x i8] c"COMPARE_FLOAT(0.2, 0.1) resulted in %d but was expecting 1.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i32 0, i32* %1
br label %16
16: ; preds = %0
store i32 0, i32* %2
%17 = load i32, i32* %2
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32, i32* @stderr
%21 = load i32, i32* %2
%22 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0), i32 %21)
store i32 1, i32* %1
br label %142
23: ; preds = %16
br label %24
24: ; preds = %23
br label %25
25: ; preds = %24
store i32 -1, i32* %3
%26 = load i32, i32* %3
%27 = icmp ne i32 %26, -1
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i32, i32* @stderr
%30 = load i32, i32* %3
%31 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0), i32 %30)
store i32 1, i32* %1
br label %142
32: ; preds = %25
br label %33
33: ; preds = %32
br label %34
34: ; preds = %33
store i32 0, i32* %4
%35 = load i32, i32* %4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, i32* @stderr
%39 = load i32, i32* %4
%40 = call i32 @fprintf(i32 %38, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0), i32 %39)
store i32 1, i32* %1
br label %142
41: ; preds = %34
br label %42
42: ; preds = %41
br label %43
43: ; preds = %42
store i32 1, i32* %5
%44 = load i32, i32* %5
%45 = icmp ne i32 %44, 1
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i32, i32* @stderr
%48 = load i32, i32* %5
%49 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0), i32 %48)
store i32 1, i32* %1
br label %142
50: ; preds = %43
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
store i32 0, i32* %6
%53 = load i32, i32* %6
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %52
%56 = load i32, i32* @stderr
%57 = load i32, i32* %6
%58 = call i32 @fprintf(i32 %56, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0), i32 %57)
store i32 1, i32* %1
br label %142
59: ; preds = %52
br label %60
60: ; preds = %59
br label %61
61: ; preds = %60
store i32 -1, i32* %7
%62 = load i32, i32* %7
%63 = icmp ne i32 %62, -1
br i1 %63, label %64, label %68
64: ; preds = %61
%65 = load i32, i32* @stderr
%66 = load i32, i32* %7
%67 = call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0), i32 %66)
store i32 1, i32* %1
br label %142
68: ; preds = %61
br label %69
69: ; preds = %68
br label %70
70: ; preds = %69
store i32 0, i32* %8
%71 = load i32, i32* %8
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %77
73: ; preds = %70
%74 = load i32, i32* @stderr
%75 = load i32, i32* %8
%76 = call i32 @fprintf(i32 %74, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0), i32 %75)
store i32 1, i32* %1
br label %142
77: ; preds = %70
br label %78
78: ; preds = %77
br label %79
79: ; preds = %78
store i32 1, i32* %9
%80 = load i32, i32* %9
%81 = icmp ne i32 %80, 1
br i1 %81, label %82, label %86
82: ; preds = %79
%83 = load i32, i32* @stderr
%84 = load i32, i32* %9
%85 = call i32 @fprintf(i32 %83, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.7, i64 0, i64 0), i32 %84)
store i32 1, i32* %1
br label %142
86: ; preds = %79
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
store i32 0, i32* %10
%89 = load i32, i32* %10
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %95
91: ; preds = %88
%92 = load i32, i32* @stderr
%93 = load i32, i32* %10
%94 = call i32 @fprintf(i32 %92, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0), i32 %93)
store i32 1, i32* %1
br label %142
95: ; preds = %88
br label %96
96: ; preds = %95
br label %97
97: ; preds = %96
store i32 -1, i32* %11
%98 = load i32, i32* %11
%99 = icmp ne i32 %98, -1
br i1 %99, label %100, label %104
100: ; preds = %97
%101 = load i32, i32* @stderr
%102 = load i32, i32* %11
%103 = call i32 @fprintf(i32 %101, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0), i32 %102)
store i32 1, i32* %1
br label %142
104: ; preds = %97
br label %105
105: ; preds = %104
br label %106
106: ; preds = %105
store i32 0, i32* %12
%107 = load i32, i32* %12
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %113
109: ; preds = %106
%110 = load i32, i32* @stderr
%111 = load i32, i32* %12
%112 = call i32 @fprintf(i32 %110, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.10, i64 0, i64 0), i32 %111)
store i32 1, i32* %1
br label %142
113: ; preds = %106
br label %114
114: ; preds = %113
br label %115
115: ; preds = %114
store i32 1, i32* %13
%116 = load i32, i32* %13
%117 = icmp ne i32 %116, 1
br i1 %117, label %118, label %122
118: ; preds = %115
%119 = load i32, i32* @stderr
%120 = load i32, i32* %13
%121 = call i32 @fprintf(i32 %119, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.11, i64 0, i64 0), i32 %120)
store i32 1, i32* %1
br label %142
122: ; preds = %115
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
store i32 -1, i32* %14
%125 = load i32, i32* %14
%126 = icmp ne i32 %125, -1
br i1 %126, label %127, label %131
127: ; preds = %124
%128 = load i32, i32* @stderr
%129 = load i32, i32* %14
%130 = call i32 @fprintf(i32 %128, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0), i32 %129)
store i32 1, i32* %1
br label %142
131: ; preds = %124
br label %132
132: ; preds = %131
br label %133
133: ; preds = %132
store i32 1, i32* %15
%134 = load i32, i32* %15
%135 = icmp ne i32 %134, 1
br i1 %135, label %136, label %140
136: ; preds = %133
%137 = load i32, i32* @stderr
%138 = load i32, i32* %15
%139 = call i32 @fprintf(i32 %137, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.13, i64 0, i64 0), i32 %138)
store i32 1, i32* %1
br label %142
140: ; preds = %133
br label %141
141: ; preds = %140
store i32 0, i32* %1
br label %142
142: ; preds = %141, %136, %127, %118, %109, %100, %91, %82, %73, %64, %55, %46, %37, %28, %19
%143 = load i32, i32* %1
ret i32 %143
}

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