#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 CHAR_BIT;
int CHAR_MAX;
int CHAR_MIN;
int INT_MAX;
int INT_MIN;
char *LONG_MAX;
char *LONG_MIN;
int SCHAR_MAX;
int SCHAR_MIN;
int SHRT_MAX;
int SHRT_MIN;
int UCHAR_MAX;
int UINT_MAX;
char *ULONG_MAX;
int USHRT_MAX;
int /*<<< orphan*/ printf(char *, ...);
int main() {
  printf("-------------------------%s-----------------------------\n", "CHAR");
  printf("CHAR_BIT\t%d\n", CHAR_BIT);
  printf("SCHAR_MIN\t%d\n", SCHAR_MIN);
  printf("SCHAR_MAX\t%d\n", SCHAR_MAX);
  printf("UCHAR_MAX\t%u\n", UCHAR_MAX);
  printf("CHAR_MIN\t%d\n", CHAR_MIN);
  printf("CHAR_MAX\t%d\n", CHAR_MAX);
  printf("\n-------------------------%s-----------------------------\n",
         "SHORT");
  printf("SHRT_MIN\t%d\n", SHRT_MIN);
  printf("SHRT_MAX\t%d\n", SHRT_MAX);
  printf("USHRT_MAX\t%u\n", USHRT_MAX);
  printf("\n-------------------------%s-----------------------------\n", "INT");
  printf("INT_MIN\t\t%d\n", INT_MIN);
  printf("INT_MAX\t\t%d\n", INT_MAX);
  printf("UINT_MAX\t%u\n", UINT_MAX);
  printf("\n-------------------------%s-----------------------------\n",
         "LONG");
  printf("LONG_MIN\t%ld\n", LONG_MIN);
  printf("LONG_MAX\t%ld\n", LONG_MAX);
  printf("ULONG_MAX\t%lu\n", ULONG_MAX);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf17(%rip),%rdi
lea    0xed3(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e55(%rip),%rax
mov    (%rax),%esi
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e4e(%rip),%rax
mov    (%rax),%esi
lea    0xeb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e2f(%rip),%rax
mov    (%rax),%esi
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e70(%rip),%rax
mov    (%rax),%esi
lea    0xea5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e41(%rip),%rax
mov    (%rax),%esi
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%esi
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe77(%rip),%rdi
lea    0xeab(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2da6(%rip),%rax
mov    (%rax),%esi
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d87(%rip),%rax
mov    (%rax),%esi
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2dc8(%rip),%rax
mov    (%rax),%esi
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe1d(%rip),%rdi
lea    0xe7f(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d7c(%rip),%rax
mov    (%rax),%esi
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d7d(%rip),%rax
mov    (%rax),%esi
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d5e(%rip),%rax
mov    (%rax),%esi
lea    0xe58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdc3(%rip),%rdi
lea    0xe50(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d2a(%rip),%rax
mov    (%rax),%rsi
lea    0xe3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2ce2(%rip),%rax
mov    (%rax),%rsi
lea    0xe33(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2caa(%rip),%rax
mov    (%rax),%rsi
lea    0xe29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xf25(%rip),%rdi
lea    0xee1(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e63(%rip),%rax
mov    (%rax),%esi
lea    0xecf(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%esi
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e3d(%rip),%rax
mov    (%rax),%esi
lea    0xebc(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e7e(%rip),%rax
mov    (%rax),%esi
lea    0xeb3(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e4f(%rip),%rax
mov    (%rax),%esi
lea    0xe81(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2e40(%rip),%rax
mov    (%rax),%esi
lea    0xe78(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe85(%rip),%rbx
lea    0xeb9(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2db1(%rip),%rax
mov    (%rax),%esi
lea    0xea5(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d92(%rip),%rax
mov    (%rax),%esi
lea    0xe9b(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2dd3(%rip),%rax
mov    (%rax),%esi
lea    0xe91(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe91(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d8b(%rip),%rax
mov    (%rax),%esi
lea    0xe7b(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d8c(%rip),%rax
mov    (%rax),%esi
lea    0xe71(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d6d(%rip),%rax
mov    (%rax),%esi
lea    0xe67(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe66(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2d3d(%rip),%rax
mov    (%rax),%rsi
lea    0xe50(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2cf5(%rip),%rax
mov    (%rax),%rsi
lea    0xe46(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x2cbd(%rip),%rax
mov    (%rax),%rsi
lea    0xe3c(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [58 x i8] c"-------------------------%s-----------------------------\0A\00"
@.str.1 = [5 x i8] c"CHAR\00"
@.str.2 = [13 x i8] c"CHAR_BIT\09%d\0A\00"
@CHAR_BIT = global i32 0
@.str.3 = [14 x i8] c"SCHAR_MIN\09%d\0A\00"
@SCHAR_MIN = global i32 0
@.str.4 = [14 x i8] c"SCHAR_MAX\09%d\0A\00"
@SCHAR_MAX = global i32 0
@.str.5 = [14 x i8] c"UCHAR_MAX\09%u\0A\00"
@UCHAR_MAX = global i32 0
@.str.6 = [13 x i8] c"CHAR_MIN\09%d\0A\00"
@CHAR_MIN = global i32 0
@.str.7 = [13 x i8] c"CHAR_MAX\09%d\0A\00"
@CHAR_MAX = global i32 0
@.str.8 = [59 x i8] c"\0A-------------------------%s-----------------------------\0A\00"
@.str.9 = [6 x i8] c"SHORT\00"
@.str.10 = [13 x i8] c"SHRT_MIN\09%d\0A\00"
@SHRT_MIN = global i32 0
@.str.11 = [13 x i8] c"SHRT_MAX\09%d\0A\00"
@SHRT_MAX = global i32 0
@.str.12 = [14 x i8] c"USHRT_MAX\09%u\0A\00"
@USHRT_MAX = global i32 0
@.str.13 = [4 x i8] c"INT\00"
@.str.14 = [13 x i8] c"INT_MIN\09\09%d\0A\00"
@INT_MIN = global i32 0
@.str.15 = [13 x i8] c"INT_MAX\09\09%d\0A\00"
@INT_MAX = global i32 0
@.str.16 = [13 x i8] c"UINT_MAX\09%u\0A\00"
@UINT_MAX = global i32 0
@.str.17 = [5 x i8] c"LONG\00"
@.str.18 = [14 x i8] c"LONG_MIN\09%ld\0A\00"
@LONG_MIN = global i8* null
@.str.19 = [14 x i8] c"LONG_MAX\09%ld\0A\00"
@LONG_MAX = global i8* null
@.str.20 = [15 x i8] c"ULONG_MAX\09%lu\0A\00"
@ULONG_MAX = global i8* null
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = load i32, i32* @CHAR_BIT
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @SCHAR_MIN
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @SCHAR_MAX
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @UCHAR_MAX
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @CHAR_MIN
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @CHAR_MAX
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %13)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%16 = load i32, i32* @SHRT_MIN
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i32 %16)
%18 = load i32, i32* @SHRT_MAX
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0), i32 %18)
%20 = load i32, i32* @USHRT_MAX
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), i32 %20)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%23 = load i32, i32* @INT_MIN
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @INT_MAX
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @UINT_MAX
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0), i32 %27)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%30 = load i8*, i8** @LONG_MIN
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* %30)
%32 = load i8*, i8** @LONG_MAX
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.19, i64 0, i64 0), i8* %32)
%34 = load i8*, i8** @ULONG_MAX
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0), i8* %34)
ret i32 0
}

LLVM IR (-O2):
@.str = [58 x i8] c"-------------------------%s-----------------------------\0A\00"
@.str.1 = [5 x i8] c"CHAR\00"
@.str.2 = [13 x i8] c"CHAR_BIT\09%d\0A\00"
@CHAR_BIT = global i32 0
@.str.3 = [14 x i8] c"SCHAR_MIN\09%d\0A\00"
@SCHAR_MIN = global i32 0
@.str.4 = [14 x i8] c"SCHAR_MAX\09%d\0A\00"
@SCHAR_MAX = global i32 0
@.str.5 = [14 x i8] c"UCHAR_MAX\09%u\0A\00"
@UCHAR_MAX = global i32 0
@.str.6 = [13 x i8] c"CHAR_MIN\09%d\0A\00"
@CHAR_MIN = global i32 0
@.str.7 = [13 x i8] c"CHAR_MAX\09%d\0A\00"
@CHAR_MAX = global i32 0
@.str.8 = [59 x i8] c"\0A-------------------------%s-----------------------------\0A\00"
@.str.9 = [6 x i8] c"SHORT\00"
@.str.10 = [13 x i8] c"SHRT_MIN\09%d\0A\00"
@SHRT_MIN = global i32 0
@.str.11 = [13 x i8] c"SHRT_MAX\09%d\0A\00"
@SHRT_MAX = global i32 0
@.str.12 = [14 x i8] c"USHRT_MAX\09%u\0A\00"
@USHRT_MAX = global i32 0
@.str.13 = [4 x i8] c"INT\00"
@.str.14 = [13 x i8] c"INT_MIN\09\09%d\0A\00"
@INT_MIN = global i32 0
@.str.15 = [13 x i8] c"INT_MAX\09\09%d\0A\00"
@INT_MAX = global i32 0
@.str.16 = [13 x i8] c"UINT_MAX\09%u\0A\00"
@UINT_MAX = global i32 0
@.str.17 = [5 x i8] c"LONG\00"
@.str.18 = [14 x i8] c"LONG_MIN\09%ld\0A\00"
@LONG_MIN = global i8* null
@.str.19 = [14 x i8] c"LONG_MAX\09%ld\0A\00"
@LONG_MAX = global i8* null
@.str.20 = [15 x i8] c"ULONG_MAX\09%lu\0A\00"
@ULONG_MAX = global i8* null
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%2 = load i32, i32* @CHAR_BIT
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @SCHAR_MIN
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 %4)
%6 = load i32, i32* @SCHAR_MAX
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @UCHAR_MAX
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @CHAR_MIN
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @CHAR_MAX
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %12)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%15 = load i32, i32* @SHRT_MIN
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @SHRT_MAX
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @USHRT_MAX
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), i32 %19)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%22 = load i32, i32* @INT_MIN
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i32 %22)
%24 = load i32, i32* @INT_MAX
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0), i32 %24)
%26 = load i32, i32* @UINT_MAX
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0), i32 %26)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%29 = load i8*, i8** @LONG_MIN
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* %29)
%31 = load i8*, i8** @LONG_MAX
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.19, i64 0, i64 0), i8* %31)
%33 = load i8*, i8** @ULONG_MAX
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0), i8* %33)
ret i32 0
}