diff options
| author | grischka <grischka> | 2010-09-15 13:25:19 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2011-07-14 19:00:46 +0200 |
| commit | 232650f8b3a786e82071c12a1ee8eea60684279a (patch) | |
| tree | c65de4b5734e1b9b9fd3f1fbb695dfedfc48886e | |
| parent | 5280293d6b16bbe24dfda76e37f32322fa2874ca (diff) | |
| download | tinycc-232650f8b3a786e82071c12a1ee8eea60684279a.tar.gz tinycc-232650f8b3a786e82071c12a1ee8eea60684279a.tar.bz2 | |
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.
| -rw-r--r-- | tccgen.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5738,6 +5738,7 @@ static int decl0(int l, int is_for_loop_init) } next(); } + ad.aligned = 0; } } return 0; |
