lkml.org 
[lkml]   [1997]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: gcc bug tickled by non-SMP linux-2.1.37-pre2
On Thu, 1 May 1997, Horst von Brand wrote:

> [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


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.046 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site