lkml.org 
[lkml]   [2003]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Disallow compilation with gcc 3.2.3 (was: Re: 2.5.69-mm6: pccard oops while booting:)
From
Date
On Thu, 22 May 2003 15:24:06 +0200, Carl-Daniel Hailfinger said:

> Nobody has found an error in the code we talked about, so a compiler bug
> in gcc 3.2.3 seems to be the only explanation.

In the last 20 years, I've come across lots of cases where optimizers did
foolish things that broke code. I've also come across the odd case or three
where the optimizer merely exposed a bug. Favorite cases here are where
the optimizer removes what it thinks is a dead/redundant load/store, and
exposes a race condition on a variable that should have been 'volatile' but
wasn't, odd corner cases where sequence points actually matter (one of these was
just posted here the other day, in fact)... stuff like that.

So yes. It's probably something borked in gcc 3.2.3 - but we probably won't
know for sure till somebody goes over the assembler output with a fine tooth
comb...
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.094 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site