Message ID | 20140129152212.GA26518@adacore.com |
---|---|
State | New |
Headers | show |
Index: exp_ch9.adb =================================================================== --- exp_ch9.adb (revision 207243) +++ exp_ch9.adb (working copy) @@ -13425,6 +13425,14 @@ -- Start of processing for Is_Exception_Safe begin + + -- When exceptions can not be propagated, the subprogram will always + -- return normaly. + + if No_Exception_Handlers_Set then + return True; + end if; + -- If the checks handled by the back end are not disabled, we cannot -- ensure that no exception will be raised.