diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 17:25:25 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 17:25:25 +0200 |
commit | 052e0603b1b8a2dbbcee2261642764fcea84fe51 (patch) | |
tree | ffce63d4e87a8d73bf0ba2edf33ccda1cdab0cd0 /gcc/ada/sinfo.ads | |
parent | 4fbad0ba4c093d5653e70679aba43193a20881e5 (diff) | |
download | gcc-052e0603b1b8a2dbbcee2261642764fcea84fe51.zip gcc-052e0603b1b8a2dbbcee2261642764fcea84fe51.tar.gz gcc-052e0603b1b8a2dbbcee2261642764fcea84fe51.tar.bz2 |
[multiple changes]
2011-08-02 Robert Dewar <dewar@adacore.com>
* exp_ch9.adb, exp_sel.adb, restrict.ads, exp_disp.adb, erroutc.ads,
exp_ch3.adb: Minor reformatting.
2011-08-02 Emmanuel Briot <briot@adacore.com>
* adaint.c (__gnat_locate_exec_on_path): only returns executable
files, not any regular file.
(__gnat_locate_file_with_predicate): new subprogram.
2011-08-02 Yannick Moy <moy@adacore.com>
* sinfo.adb, sinfo.ads: Restrict the use of flags
Has_Dynamic_Length_Check and Has_Dynamic_Range_Check to expression
nodes, plus N_Subtype_Declaration for the 2nd one.
From-SVN: r177180
Diffstat (limited to 'gcc/ada/sinfo.ads')
-rw-r--r-- | gcc/ada/sinfo.ads | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads index e5ca5aa..88bcafb 100644 --- a/gcc/ada/sinfo.ads +++ b/gcc/ada/sinfo.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2010, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -424,6 +424,8 @@ package Sinfo is -- Raises_Constraint_Error (Flag7-Sem) evaluation raises CE -- Must_Not_Freeze (Flag8-Sem) set if must not freeze -- Do_Range_Check (Flag9-Sem) set if a range check needed + -- Has_Dynamic_Length_Check (Flag10-Sem) set if length check inserted + -- Has_Dynamic_Range_Check (Flag12-Sem) set if range check inserted -- Assignment_OK (Flag15-Sem) set if modification is OK -- Is_Controlling_Actual (Flag16-Sem) set for controlling argument @@ -485,18 +487,6 @@ package Sinfo is -- refers to a node or is posted on its source location, and has the -- effect of inhibiting further messages involving this same node. - -- Has_Dynamic_Length_Check (Flag10-Sem) - -- This flag is present on all nodes. It is set to indicate that one of - -- the routines in unit Checks has generated a length check action which - -- has been inserted at the flagged node. This is used to avoid the - -- generation of duplicate checks. - - -- Has_Dynamic_Range_Check (Flag12-Sem) - -- This flag is present on all nodes. It is set to indicate that one of - -- the routines in unit Checks has generated a range check action which - -- has been inserted at the flagged node. This is used to avoid the - -- generation of duplicate checks. - ------------------------------------ -- Description of Semantic Fields -- ------------------------------------ @@ -1125,6 +1115,19 @@ package Sinfo is -- handler is deleted during optimization. For further details on why -- this is required, see Exp_Ch11.Remove_Handler_Entries. + -- Has_Dynamic_Length_Check (Flag10-Sem) + -- This flag is present on all expression nodes. It is set to indicate + -- that one of the routines in unit Checks has generated a length check + -- action which has been inserted at the flagged node. This is used to + -- avoid the generation of duplicate checks. + + -- Has_Dynamic_Range_Check (Flag12-Sem) + -- This flag is present in N_Subtype_Declaration nodes and on all + -- expression nodes. It is set to indicate that one of the routines in + -- unit Checks has generated a range check action which has been inserted + -- at the flagged node. This is used to avoid the generation of duplicate + -- checks. + -- Has_Local_Raise (Flag8-Sem) -- Present in exception handler nodes. Set if the handler can be entered -- via a local raise that gets transformed to a goto statement. This will @@ -2217,6 +2220,7 @@ package Sinfo is -- Subtype_Indication (Node5) -- Generic_Parent_Type (Node4-Sem) (set for an actual derived type). -- Exception_Junk (Flag8-Sem) + -- Has_Dynamic_Range_Check (Flag12-Sem) ------------------------------- -- 3.2.2 Subtype Indication -- |