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:
grischka 2010-09-15 13:25:19 +02:00
parent 5280293d6b
commit 232650f8b3

View File

@ -5738,6 +5738,7 @@ static int decl0(int l, int is_for_loop_init)
}
next();
}
ad.aligned = 0;
}
}
return 0;