[lkml]   [2000]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Kernel 2.2.17 with RedHat 7 Problem !
On Mon, Oct 23, 2000 at 07:48:08PM -0400, David Relson wrote:
> Horst,
> What you say is correct. Early comments on gcc-2.96 reflected preprocessor
> changes which made it impossible to compile a kernel. Later comments,
> particularly David Wragg's "struct itimerval" example, show that compiler
> optimizations is broken.
> My recollection is that the behavior of "a[i] = b[i++]" is well defined,
> i.e. in the standard. However it's been years since I paid attention to
> those details, so I may be wrong.

Umm, no, since

a[i] = b[i++]

does not have a sequence, it is explicitly undefined behavior in the standard.
As I recall Bernd Schmidt recently found a number of places where the above
construct is used in the Linux kernel.

Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: phone: +1 978-486-9304
Non-work: fax: +1 978-692-4482
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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