lkml.org 
[lkml]   [2002]   [Jan]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 9 Jan 2002 21:44:45 +0100
Fromjtv <>
SubjectRe: [PATCH] C undefined behavior fix
On Wed, Jan 09, 2002 at 08:47:15PM +0100, Gérard Roudier wrote:
> On Tue, 8 Jan 2002, J.A. Magallon wrote:
> 
> There is nothing in this code that requires the compiler to allocate
> memory for 'b'. You just invent the volatile constant concept. :)

What's so strange about volatile constant?  In C, const means you're
not allowed to modify something--not that it won't change.  A read-only
hardware register, for instance, would be const and volatile.


Jeroen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:15    [W:0.286 / U:0.050 seconds]
©2003-2008 Jasper Spaans