lkml.org 
[lkml]   [1999]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] *(int*)0 = 0 & variations
Date
> > If they have no side-effect, then there is no point in evaluating them with
> > NDEBUG set. Please, let's not try to hide bugs.
> If they have no side-effect, they'll compile to *NO CODE*.
> It doesn't matter what kassert does in this case.

Oh, yes it does: the compiler cannot always prove the code to be side-effect
free, else the same analysis could be used to warn of improper use of
assert.


Stefan


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

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