> [This message has also been posted.]
> I recently reported that .../arch/i386/kernel/init_task.c crashes
> gcc-2.7.2.2.f.2. Further investigation uncovered a subtle bug tickled by
> the union init_task_union initialization, due to the fact that spinlock_t is
> defined as an empty struct in .../include/asm-i386/spinlock.h, and is
> initialized as such here. I just reported the bug to the gcc folks, see
> below and enjoy (or weep, as the case may be). I hate to put something into
> spinlock_t just to get away with this (gcc does optimize empty structs
> away). Any other thoughts?
>
I just tried 2.7.2, 2.7.2.1 and 2.7.2.2.. all bomb out. The good news is
that pgcc-970426 works fine.
-Mike