Skip to content

Commit

Permalink
Merge pull request #6931 from WalterBright/sroa-fv
Browse files Browse the repository at this point in the history
don't sroa far pointers in 16 bit code
merged-on-behalf-of: Daniel Murphy <yebblies@gmail.com>
  • Loading branch information
dlang-bot committed Jun 25, 2017
2 parents b23f1f1 + d9957b3 commit 5b56b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddmd/backend/gsroa.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static void sliceStructs_Gather(SymInfo *sia, elem *e)
{
assert(si < globsym.top);
unsigned sz = tysize(e->Ety);
if (sz == 2 * REGSIZE)
if (sz == 2 * REGSIZE && !tyfv(e->Ety))
{
// Rewrite as OPpair later
sia[si].usePair = true;
Expand Down

0 comments on commit 5b56b88

Please sign in to comment.