Re: [PATCH v2] avoid alignment of static variables affecting stack's

2014-10-31 Thread Richard Biener
On Fri, Oct 24, 2014 at 4:57 PM, Jan Beulich wrote: > Function (or more narrow) scope static variables (as well as others not > placed on the stack) should also not have any effect on the stack > alignment. I noticed the issue first with Linux'es dynamic_pr_debug() > construct using an 8-byte alig

[PATCH v2] avoid alignment of static variables affecting stack's

2014-10-24 Thread Jan Beulich
Function (or more narrow) scope static variables (as well as others not placed on the stack) should also not have any effect on the stack alignment. I noticed the issue first with Linux'es dynamic_pr_debug() construct using an 8-byte aligned sub-file-scope local variable. According to my checking