diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-18 09:24:26 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-18 09:24:26 +0000 |
commit | bd006389830f7c09cff46e01a87ca2d683753d7c (patch) | |
tree | 0f172a6213b135d03aceb6cfb31e481cd3bb99be /gcc/ada/exp_attr.adb | |
parent | 72a21fdd09d9fc5dd56a92e81a03f3a8cbdc08df (diff) | |
download | gcc-bd006389830f7c09cff46e01a87ca2d683753d7c.tar.gz |
2014-07-18 Robert Dewar <dewar@adacore.com>
* exp_attr.adb, debug.adb: Update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_attr.adb')
-rw-r--r-- | gcc/ada/exp_attr.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/exp_attr.adb b/gcc/ada/exp_attr.adb index 9e427b56118..373faaaa7d0 100644 --- a/gcc/ada/exp_attr.adb +++ b/gcc/ada/exp_attr.adb @@ -3246,6 +3246,9 @@ package body Exp_Attr is -- container). In that case rewrite the attribute as a Raise to -- prevent any run-time use. + -- This is not an explicit raise, the Reason code is wrong, we most + -- likely need a new Reason code ??? + if Restriction_Active (No_Streams) then Rewrite (N, Make_Raise_Program_Error (Sloc (N), |