On Sat, 23 Nov 2002 22:22:30 -0500 (EST), Rich Salz wrote:
>>    But the compiler could know that the memory is zero, inline the check
>>and  then optimize it out.

>across compilation units? wow.  Remember, I said that check_memset() goes
>in a separate file.  I'd be scared to use such a compiler, although I'd
>hope volatile would prevent that level of optimizaiton.
>    /r$

        You're totally missing the point. The people who wrote this code thought it 
was safe, but they were wrong. Now you're suggesting code that you think is 
safe. I'd prefer code that's guaranteed to do the right thing by the relevant 
standards.

        DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to