Controls the scope of variables declared in the expression parts of if, while, do, and for statements.
#pragma ARM_scoping on | off | reset
If you enable this pragma, any variables you define in the conditional expression of an if, while, do, or for statement remain in scope until the end of the block that contains the statement. Otherwise, the variables only remain in scope until the end of that statement. The following listing shows an example.
for(int i=1; i<1000; i++) { /* . . . */ } return i; // OK if ARM_scoping is on, error if ARM_scoping is off.