This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C undefined behavior fix
- From: mike stump <mrs at windriver dot com>
- To: dewar at gnat dot com, torvalds at transmeta dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 5 Jan 2002 23:03:49 -0800 (PST)
- Subject: Re: [PATCH] C undefined behavior fix
> 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.