Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] New pragma Short_Circuit_And_Or

Tuesday September 22, 2009

A new configuration pragma Short_Circuit_And_Or causes any occurrences of AND on operands of type Standard.Boolean to be treated as short circuited (i.e. to be converted to AND THEN). OR is similarly converted to OR ELSE. This may be useful in certification protocols requiring the use of short-circuited logical operations.

 

Posted by Posted in Development Log, GNAT Compilation System