Home | Contact | Pricing | News | Partners | Mailing List | Site Map

Developer Center

[GNAT] Eliminate range warnings in generic instances

Tuesday June 10, 2008

Warnings about range tests whose outcome is known at compile time, or that correspond to ‘Valid tests, are now suppressed in generic instances. This avoids confusing false positives in cases where the test in the generic template is reasonable in the general case, even if in some particular instance, it may be optimized away.

 

Posted by Posted in Development Log, GNAT Compilation System