Skip to content

Commit

Permalink
Issue 13795 - Add longdouble to UnionExp to provide alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
fb-pja committed Dec 9, 2014
1 parent f81eaaf commit 6f42e72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/expression.h
Expand Up @@ -1586,6 +1586,9 @@ struct UnionExp
char addrexp [sizeof(AddrExp)];
char indexexp [sizeof(IndexExp)];
char sliceexp [sizeof(SliceExp)];

// Ensure that the union is suitably aligned.
longdouble for_alignment_only;
};
U u;
};
Expand Down

0 comments on commit 6f42e72

Please sign in to comment.