[LLVMbugs] [Bug 10474] New: Assert during gfortran compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 24 22:46:41 PDT 2011


           Summary: Assert during gfortran compilation
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wendling at apple.com
                CC: llvmbugs at cs.uiuc.edu

This program aborts when compiled with llvm-gcc. This is failing on the
buildbots during a build of gfortran:

$ cat testcase.i

struct __mpz_struct {
  int _mp_size;
typedef struct __mpz_struct mpz_t[1];
typedef struct gfc_expr {
  mpz_t *shape;
  union {
    struct __mpz_struct integer[1];
  } value;
} gfc_exec_op;
struct gfc_array_ref {
  struct gfc_expr *start[7];
void gfc_copy_array_ref (struct gfc_array_ref *src) {}

$ llvm-gcc -c testcase.i
Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a type that is
unsized!"), function getTypeSizeInBits, file
/Users/void/llvm/llvm.src/lib/Target/TargetData.cpp, line 393.
testcase.i: In function ‘gfc_copy_array_ref’:
testcase.i:14: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list