#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 */
float INFINITY;
int INT_MIN;
float NAN;
int main(int argc, const char *argv[]) {
  int a = 4 - 5;
  int b = a - 1;
  int c = a - b;
  int d = INT_MIN - 1;
  unsigned e = 0 - 1;
  unsigned char f = 255 - 256;
  float nan = NAN;
  float inf = INFINITY;
  float g = inf - inf;
  float h = inf - (-inf);
  float i = inf - nan;
  float j = inf - 10;
  float k = -inf - inf;
  float l = -inf - -inf;
  float m = -inf - -nan;
  float n = -inf - 158;
  float o = nan - inf;
  float p = nan - -inf;
  float q = nan - nan;
  float r = nan - 14789;
  float s = 1589 - inf;
  float t = 148997 - -inf;
  float u = 148997 - nan;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0xffffffff,-0x14(%rbp)
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%eax
sub    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    0x2ea6(%rip),%rax
mov    (%rax),%eax
sub    $0x1,%eax
mov    %eax,-0x20(%rbp)
movl   $0xffffffff,-0x24(%rbp)
movb   $0xff,-0x25(%rbp)
mov    0x2eac(%rip),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x2c(%rbp)
mov    0x2e84(%rip),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x30(%rbp)
movss  -0x30(%rbp),%xmm0
subss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x30(%rbp),%xmm0
movss  -0x30(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x30(%rbp),%xmm0
subss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x30(%rbp),%xmm0
movss  0xe60(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
subss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x44(%rbp)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x30(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x2c(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  0xdc3(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x50(%rbp)
movss  -0x2c(%rbp),%xmm0
subss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x2c(%rbp),%xmm0
movss  -0x30(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x2c(%rbp),%xmm0
subss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x2c(%rbp),%xmm0
movss  0xd6b(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  0xd56(%rip),%xmm0
subss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
movss  0xd2e(%rip),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  0xd1d(%rip),%xmm0
subss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x6c(%rbp)
xor    %eax,%eax
pop    %rbp
ret

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

LLVM IR (-O0):
@INT_MIN = global i32 0
@NAN = global float 0.000000e+00
@INFINITY = global float 0.000000e+00
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i8
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
%26 = alloca float
%27 = alloca float
%28 = alloca float
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 -1, i32* %6
%29 = load i32, i32* %6
%30 = sub nsw i32 %29, 1
store i32 %30, i32* %7
%31 = load i32, i32* %6
%32 = load i32, i32* %7
%33 = sub nsw i32 %31, %32
store i32 %33, i32* %8
%34 = load i32, i32* @INT_MIN
%35 = sub nsw i32 %34, 1
store i32 %35, i32* %9
store i32 -1, i32* %10
store i8 -1, i8* %11
%36 = load float, float* @NAN
store float %36, float* %12
%37 = load float, float* @INFINITY
store float %37, float* %13
%38 = load float, float* %13
%39 = load float, float* %13
%40 = fsub float %38, %39
store float %40, float* %14
%41 = load float, float* %13
%42 = load float, float* %13
%43 = fneg float %42
%44 = fsub float %41, %43
store float %44, float* %15
%45 = load float, float* %13
%46 = load float, float* %12
%47 = fsub float %45, %46
store float %47, float* %16
%48 = load float, float* %13
%49 = fsub float %48, 1.000000e+01
store float %49, float* %17
%50 = load float, float* %13
%51 = fneg float %50
%52 = load float, float* %13
%53 = fsub float %51, %52
store float %53, float* %18
%54 = load float, float* %13
%55 = fneg float %54
%56 = load float, float* %13
%57 = fneg float %56
%58 = fsub float %55, %57
store float %58, float* %19
%59 = load float, float* %13
%60 = fneg float %59
%61 = load float, float* %12
%62 = fneg float %61
%63 = fsub float %60, %62
store float %63, float* %20
%64 = load float, float* %13
%65 = fneg float %64
%66 = fsub float %65, 1.580000e+02
store float %66, float* %21
%67 = load float, float* %12
%68 = load float, float* %13
%69 = fsub float %67, %68
store float %69, float* %22
%70 = load float, float* %12
%71 = load float, float* %13
%72 = fneg float %71
%73 = fsub float %70, %72
store float %73, float* %23
%74 = load float, float* %12
%75 = load float, float* %12
%76 = fsub float %74, %75
store float %76, float* %24
%77 = load float, float* %12
%78 = fsub float %77, 1.478900e+04
store float %78, float* %25
%79 = load float, float* %13
%80 = fsub float 1.589000e+03, %79
store float %80, float* %26
%81 = load float, float* %13
%82 = fneg float %81
%83 = fsub float 1.489970e+05, %82
store float %83, float* %27
%84 = load float, float* %12
%85 = fsub float 1.489970e+05, %84
store float %85, float* %28
ret i32 0
}

LLVM IR (-O2):
@INT_MIN = global i32 0
@NAN = global float 0.000000e+00
@INFINITY = global float 0.000000e+00
define i32 @main(i32 %0, i8** nocapture readnone %1) {
ret i32 0
}