[hackers] [scc] Modify README || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 16 Jun 2016 11:43:33 +0200 (CEST)

commit 23f5f2a42ef1065d2c3eb91fe2161e4e570ba557
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Jun 16 11:36:55 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Jun 16 11:36:55 2016 +0200

    Modify README
    
    The text about volatile was not correct. The definition of the standard
    about volatile is very precise, and it is not related to optimizations
    like it is said there. It is related to the concept of control points.

diff --git a/README b/README
index d3c382e..f65a08c 100644
--- a/README
+++ b/README
_AT_@ -17,10 +17,7 @@ unnecessary complexity to the compiler (and increased compilation time):
           the compiler will treat them like normal variables (the standard
           specifies that a diagnostic message must be printed).
 
- - volatile: The definition of volatile is not concrete, because
- it is defined as 'remove all optimizations applied to the
- variable', which of course depends on the kind of optimizations
- applied to the variable. This qualifier was added to the standard
+ - volatile: This qualifier was added to the standard
           to be able to deal with longjmp (local variables that are not
           volatile have undefined state) and for memory mapped registers
           or variables whose values are modified asynchronously. This can
_AT_@ -39,7 +36,7 @@ unnecessary complexity to the compiler (and increased compilation time):
           numerical algorithms, where FORTRAN could achieve a better
           performance (and in fact even with this specifier FORTRAN has a
           better performance in this field). Ignoring it doesn't make the
- code non-standard and in almost all applications the performance
+ compiler non-standard and in almost all applications the performance
           will be the same.
 
 - Function type names
Received on Thu Jun 16 2016 - 11:43:33 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 16 2016 - 11:48:15 CEST