int EigenRealGeneral(n, a, v, vi, u, iwork, work)
int n;
double **a;
double *v;
double *vi;
double **u;
int *iwork;
double *work;
{
  if (EigenRG(n, a, v, vi, u, iwork, work) != 0) {
    puts("\nInternal error in 'EigenRealGeneral'.");
    return 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<EigenRealGeneral>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x10(%rbp),%rax
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
mov    0x10(%rbp),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <EigenRG@plt>
cmp    $0x0,%eax
je     118c <EigenRealGeneral+0x6c>
lea    0xe87(%rip),%rdi
mov    $0x0,%al
call   1040 <puts@plt>
movl   $0x1,-0x4(%rbp)
jmp    1193 <EigenRealGeneral+0x73>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<EigenRealGeneral>:
push   %rbx
sub    $0x10,%rsp
mov    0x20(%rsp),%rax
mov    %rax,(%rsp)
xor    %ebx,%ebx
xor    %eax,%eax
call   1030 <EigenRG@plt>
test   %eax,%eax
je     114e <EigenRealGeneral+0x2e>
lea    0xebe(%rip),%rdi
xor    %eax,%eax
call   1040 <puts@plt>
mov    $0x1,%ebx
mov    %ebx,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [39 x i8] c"\0AInternal error in 'EigenRealGeneral'.\00"
define i32 @EigenRealGeneral(i32 %0, double** %1, double* %2, double* %3, double** %4, i32* %5, double* %6) {
%8 = alloca i32
%9 = alloca i32
%10 = alloca double**
%11 = alloca double*
%12 = alloca double*
%13 = alloca double**
%14 = alloca i32*
%15 = alloca double*
store i32 %0, i32* %9
store double** %1, double*** %10
store double* %2, double** %11
store double* %3, double** %12
store double** %4, double*** %13
store i32* %5, i32** %14
store double* %6, double** %15
%16 = load i32, i32* %9
%17 = load double**, double*** %10
%18 = load double*, double** %11
%19 = load double*, double** %12
%20 = load double**, double*** %13
%21 = load i32*, i32** %14
%22 = load double*, double** %15
%23 = call i32 (i32, double**, double*, double*, double**, i32*, double*, ...) bitcast (i32 (...)* @EigenRG to i32 (i32, double**, double*, double*, double**, i32*, double*, ...)*)(i32 %16, double** %17, double* %18, double* %19, double** %20, i32* %21, double* %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %7
%26 = call i32 (i8*, ...) bitcast (i32 (...)* @puts to i32 (i8*, ...)*)(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %8
br label %28
27: ; preds = %7
store i32 0, i32* %8
br label %28
28: ; preds = %27, %25
%29 = load i32, i32* %8
ret i32 %29
}

LLVM IR (-O2):
@.str = [39 x i8] c"\0AInternal error in 'EigenRealGeneral'.\00"
define i32 @EigenRealGeneral(i32 %0, double** %1, double* %2, double* %3, double** %4, i32* %5, double* %6) {
%8 = tail call i32 (i32, double**, double*, double*, double**, i32*, double*, ...) bitcast (i32 (...)* @EigenRG to i32 (i32, double**, double*, double*, double**, i32*, double*, ...)*)(i32 %0, double** %1, double* %2, double* %3, double** %4, i32* %5, double* %6)
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 (i8*, ...) bitcast (i32 (...)* @puts to i32 (i8*, ...)*)(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
br label %12
12: ; preds = %7, %10
%13 = phi i32 [ 1, %10 ], [ 0, %7 ]
ret i32 %13
}