Message ID | 20140122165341.GA24764@adacore.com |
---|---|
State | New |
Headers | show |
Index: checks.adb =================================================================== --- checks.adb (revision 206918) +++ checks.adb (working copy) @@ -5257,6 +5257,10 @@ elsif Is_Entity_Name (Expr) and then Is_Known_Valid (Entity (Expr)) + + -- Exclude volatile variables + + and then not Treat_As_Volatile (Entity (Expr)) then return True;