[Bug target/42109] stack alignment happens _before_ mcount "push %ebp ..." depending on -mtune flags

2009-11-19 Thread tglx at linutronix dot de
--- Comment #6 from tglx at linutronix dot de 2009-11-20 00:52 --- I changed the summary to match the real problem. Further info: While testing various kernel configs we found out that the problem comes and goes. Finally I started to compare the gcc command line options and after some

[Bug target/42109] 16 byte stack alignment on random Linux kernel functions

2009-11-19 Thread tglx at linutronix dot de
--- Comment #5 from tglx at linutronix dot de 2009-11-19 19:27 --- (In reply to comment #4) > Is this really a bug since you have: > struct entry { > ... > } __attribute__((__aligned__((1 << (4); > > ... > > void timer_stats_update_stats(void *

[Bug c/42109] 16 byte stack alignment on random Linux kernel functions

2009-11-19 Thread tglx at linutronix dot de
--- Comment #3 from tglx at linutronix dot de 2009-11-19 18:30 --- Created an attachment (id=19059) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19059&action=view) compiler command line -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109

[Bug c/42109] 16 byte stack alignment on random Linux kernel functions

2009-11-19 Thread tglx at linutronix dot de
--- Comment #2 from tglx at linutronix dot de 2009-11-19 18:28 --- Created an attachment (id=19058) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19058&action=view) intermediate file timer_stats.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109

[Bug c/42109] 16 byte stack alignment on random Linux kernel functions

2009-11-19 Thread tglx at linutronix dot de
--- Comment #1 from tglx at linutronix dot de 2009-11-19 18:27 --- Created an attachment (id=19057) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19057&action=view) source code (kernel/time/timer_stat.c) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109

[Bug c/42109] New: 16 byte stack alignment on random Linux kernel functions

2009-11-19 Thread tglx at linutronix dot de
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tglx at linutronix dot de GCC build triplet: i586-redhat-linux GCC host triplet: i586-redhat-linux GCC target triplet: i586-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109