[llvm-commits] [llvm] r134820 - in /llvm/trunk/test: Assembler/ CodeGen/Blackfin/ CodeGen/CBackend/ CodeGen/Generic/ CodeGen/X86/ Feature/ Transforms/SimplifyCFG/ Verifier/
Anton Korobeynikov
anton at korobeynikov.info
Thu Jul 14 14:14:45 PDT 2011
>> I wasn't planning to track this down. I barely care about llvm-gcc at all, and I really don't care about gfortran-4.2
> This is not gfortran crash, this is C frontend crash while compiling
> gfrotran frontend (written in C), so really a *proper* llvm-gcc
> problem.
> I'll try to reproduce this locally.
Here is the reduced testcase (fails on darwin as well):
typedef struct gfc_array_ref {
struct gfc_expr *start[7];
} gfc_array_ref;
typedef struct {
int _mp_alloc;
} __mpz_struct;
typedef __mpz_struct mpz_t[1];
typedef struct {
} __mpfr_struct;
typedef struct gfc_expr {
mpz_t *shape;
union {
mpz_t integer;
} value;
} gfc_expr;
gfc_array_ref * gfc_copy_array_ref (gfc_array_ref * src) { }
It asserts asking alignment of [1 x %struct.__mpz_struct] which is the
LLVM type corresponding to union inside gfc_expr.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-commits
mailing list