[Bug target/42109] 16 byte stack alignment on random Linux kernel functions
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 19 18:35:00 GMT 2009
------- Comment #4 from pinskia at gcc dot gnu dot org 2009-11-19 18:34 -------
Is this really a bug since you have:
struct entry {
...
} __attribute__((__aligned__((1 << (4)))));
...
void timer_stats_update_stats(void *timer, pid_t pid, void *startf,
void *timerf, char *comm,
unsigned int timer_flag)
{
spinlock_t *lock;
struct entry *entry, input;
Since input is required to be 16byte aligned by the __aligned__ attribute on
the struct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109
More information about the Gcc-bugs
mailing list