[PATCH] C undefined behavior fix

mike stump mrs@windriver.com
Sat Jan 5 23:05:00 GMT 2002


> Date: Sat, 5 Jan 2002 20:46:26 -0800 (PST)
> From: Linus Torvalds <torvalds@transmeta.com>
> To: <dewar@gnat.com>

>  - there's closer to 4 million lines of code there. MOST of which is
>    device driver stuff, written by thousands of people of varying levels
>    of knowledge of C. You can draw your own conclusions..

I know some kernels in which all device code is compiled with
-fvolatile for just this reason.  :-( I can hardly understand...
but, they do.



More information about the Gcc mailing list