[coreboot-gerrit] Change in coreboot[master]: lib/gnat: Drop Restriction `No_Exception_Propagation`

Nico Huber (Code Review) gerrit at coreboot.org
Thu May 17 16:10:05 CEST 2018


Nico Huber has uploaded this change for review. ( https://review.coreboot.org/26350


Change subject: lib/gnat: Drop Restriction `No_Exception_Propagation`
......................................................................

lib/gnat: Drop Restriction `No_Exception_Propagation`

It turns out that even with the `-gnatp` switch to suppress runtime
checks, the compiler is still allowed to generate them (it only doesn't
have to). If we can't control generation of exceptions, we also can't
make assumptions about their propagation.

Change-Id: I7470d74b1f96f90d0d15b24dfd636d5f1c778d46
Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
M src/lib/gnat/system.ads
1 file changed, 0 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/26350/1

diff --git a/src/lib/gnat/system.ads b/src/lib/gnat/system.ads
index aed5592..74ced54 100644
--- a/src/lib/gnat/system.ads
+++ b/src/lib/gnat/system.ads
@@ -34,7 +34,6 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
-pragma Restrictions (No_Exception_Propagation);
 pragma Restrictions (No_Exception_Registration);
 
 pragma Restrictions (No_Implicit_Dynamic_Code);

-- 
To view, visit https://review.coreboot.org/26350
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7470d74b1f96f90d0d15b24dfd636d5f1c778d46
Gerrit-Change-Number: 26350
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180517/c64e50f2/attachment.html>


More information about the coreboot-gerrit mailing list