Skip to content

Commit

Permalink
work around a gcc register allocation error
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Oct 7, 2015
1 parent 2d5d9a3 commit 1b41d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ void jl_compute_field_offsets(jl_datatype_t *st)
}
if (al != 0) {
size_t alsz = LLT_ALIGN(sz, al);
if (alsz > sz)
if (sz & (al - 1))
st->haspadding = 1;
sz = alsz;
if (al > alignm)
Expand Down

0 comments on commit 1b41d64

Please sign in to comment.