tccgen: reset aligned attribute for next type
Basically, with:
typedef __attribute__((aligned(16))) struct _xyz {
...
} xyz, *pxyz;
we want the struct aligned but not the pointer.
FIXME: This patch is a hack, waiting for someone in the knowledge
of correct __attribute__ semantics.
This commit is contained in:
parent
5280293d6b
commit
232650f8b3
1 changed files with 1 additions and 0 deletions
1
tccgen.c
1
tccgen.c
|
|
@ -5738,6 +5738,7 @@ static int decl0(int l, int is_for_loop_init)
|
|||
}
|
||||
next();
|
||||
}
|
||||
ad.aligned = 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue