open64-compiler / open64

open64 compiler
78 stars 29 forks source link

[SPEC2006]### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:1082: ### Find_parm_type cannot find _temp_vararg1 #35

Open zqb-all opened 1 year ago

zqb-all commented 1 year ago

spec2k6 456.hmmer build fail. one of the errors can be reproduce by the following code:

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

void
Die(char *format, ...)
{
  va_list  argp;
                /* format the error mesg */
  fprintf(stderr, "\nFATAL: ");
  va_start(argp, format);
  vfprintf(stderr, format, argp);
  va_end(argp);
  fprintf(stderr, "\n");
  fflush(stderr);
                /* exit  */
  exit(1);
}

error:

2023-10-28 11:11:33,263 - xcalcc - ERROR - !!! Log: (null) :Translating Die(0)

### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:1082:
### Find_parm_type cannot find _temp_vararg1
### For a.O in Die (xcalcc:583)