PrintHeader(Title) char *Title;
{
  char *ctime(), TitleLine[80];
  long clock, time();
  short Underline;
  clock = time(0);
  sprintf(TitleLine, "C4.5 [release %s] %s", "8", Title);
  printf("\n%s\t%s", TitleLine, ctime(&clock));
  Underline = strlen(TitleLine);
  while (Underline--)
    putchar('-');
  putchar('\n');
}


x86 assembly (clang, -O0):
<PrintHeader>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x10(%rbp)
xor    %edi,%edi
mov    $0x0,%al
call   1070 <time@plt>
mov    %rax,-0x68(%rbp)
lea    -0x60(%rbp),%rdi
mov    -0x10(%rbp),%rcx
lea    0xe75(%rip),%rsi
lea    0xe83(%rip),%rdx
mov    $0x0,%al
call   1080 <sprintf@plt>
lea    -0x60(%rbp),%rax
mov    %rax,-0x78(%rbp)
lea    -0x68(%rbp),%rdi
mov    $0x0,%al
call   1040 <ctime@plt>
mov    -0x78(%rbp),%rsi
mov    %rax,%rdx
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x60(%rbp),%rdi
call   1050 <strlen@plt>
mov    %ax,-0x6a(%rbp)
mov    -0x6a(%rbp),%ax
mov    %ax,%cx
add    $0xffff,%cx
mov    %cx,-0x6a(%rbp)
cmp    $0x0,%ax
je     11f8 <PrintHeader+0x98>
mov    $0x2d,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
jmp    11ce <PrintHeader+0x6e>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrintHeader>:
push   %r14
push   %rbx
sub    $0x68,%rsp
mov    %rdi,%rbx
xor    %edi,%edi
xor    %eax,%eax
call   1070 <time@plt>
mov    %rax,0x8(%rsp)
lea    0xe81(%rip),%rsi
lea    0xe8f(%rip),%rdx
lea    0x10(%rsp),%r14
mov    %r14,%rdi
mov    %rbx,%rcx
xor    %eax,%eax
call   1080 <sprintf@plt>
lea    0x8(%rsp),%rdi
xor    %eax,%eax
call   1040 <ctime@plt>
lea    0xe6c(%rip),%rdi
mov    %r14,%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
call   1050 <strlen@plt>
mov    %rax,%rbx
test   %bx,%bx
je     11e2 <PrintHeader+0x82>
nopl   0x0(%rax,%rax,1)
mov    $0x2d,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
add    $0xffff,%bx
jne    11d0 <PrintHeader+0x70>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
add    $0x68,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [21 x i8] c"C4.5 [release %s] %s\00"
@.str.1 = [2 x i8] c"8\00"
@.str.2 = [7 x i8] c"\0A%s\09%s\00"
define i32 @PrintHeader(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca [80 x i8]
%5 = alloca i64
%6 = alloca i16
store i8* %0, i8** %3
%7 = call i64 (i32, ...) bitcast (i64 (...)* @time to i64 (i32, ...)*)(i32 0)
store i64 %7, i64* %5
%8 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%9 = load i8*, i8** %3
%10 = call i32 (i8*, i8*, ...) @sprintf(i8* %8, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* %9)
%11 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%12 = call i8* (i64*, ...) bitcast (i8* (...)* @ctime to i8* (i64*, ...)*)(i64* %5)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* %11, i8* %12)
%14 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%15 = call i64 @strlen(i8* %14)
%16 = trunc i64 %15 to i16
store i16 %16, i16* %6
br label %17
17: ; preds = %21, %1
%18 = load i16, i16* %6
%19 = add i16 %18, -1
store i16 %19, i16* %6
%20 = icmp ne i16 %18, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 45)
br label %17
23: ; preds = %17
%24 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%25 = load i32, i32* %2
ret i32 %25
}

LLVM IR (-O2):
@.str = [21 x i8] c"C4.5 [release %s] %s\00"
@.str.1 = [2 x i8] c"8\00"
@.str.2 = [7 x i8] c"\0A%s\09%s\00"
define i32 @PrintHeader(i8* %0) {
%2 = alloca [80 x i8]
%3 = alloca i64
%4 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%5 = bitcast i64* %3 to i8*
%6 = tail call i64 (i32, ...) bitcast (i64 (...)* @time to i64 (i32, ...)*)(i32 0)
store i64 %6, i64* %3
%7 = call i32 (i8*, i8*, ...) @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%8 = call i8* (i64*, ...) bitcast (i8* (...)* @ctime to i8* (i64*, ...)*)(i64* %3)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* %4, i8* %8)
%10 = call i64 @strlen(i8* %4)
%11 = trunc i64 %10 to i16
%12 = icmp eq i16 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %1, %13
%14 = phi i16 [ %15, %13 ], [ %11, %1 ]
%15 = add i16 %14, -1
%16 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 45)
%17 = icmp eq i16 %15, 0
br i1 %17, label %18, label %13
18: ; preds = %13, %1
%19 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
ret i32 undef
}