This is part of the series started by D68484.
Restrict variables that are declared inside a loop must get
an unique scope when the loop body is unrolled.
Note: this is a stable point and tests should run fine with the patches applied up to this point.
SNAN name can conflict with SNAN macro in math.h