shithub: scc

Download patch

ref: 0c581bc0c0bac79db689a457723af4a7e373467a
parent: d3469c8a968688f658775c60ba29a3d341f05174
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Jun 16 07:36:55 EDT 2016

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.

--- a/README
+++ b/README
@@ -17,10 +17,7 @@
 	  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
@@ -39,7 +36,7 @@
 	  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