diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-14 14:09:38 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-14 14:09:38 +0000 |
commit | 08faa217dd0cad967e3747cf25133fd2b0ca7c65 (patch) | |
tree | 4a73e45526ddb48295d919dce3f9ab9d54d0cdea /gcc/ada/ada-tree.def | |
parent | 374115303fa27c9818c05602da0ac4e4f2e59f62 (diff) | |
download | gcc-08faa217dd0cad967e3747cf25133fd2b0ca7c65.tar.gz |
* ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.
* ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP.
* decl.c (gnat_to_gnu_entity): Also set force_global for imported
subprograms.
* trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack;
all callers changed.
(gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change
the way that EXIT_STMT finds the loop label.
(gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise.
(gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here.
(add_stmt): Use annotate_with_locus insted of setting directly.
(pos_to_construct): Set TREE_PURPOSE of each entry to index.
(gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF.
* utils.c (gnat_install_builtins): Install __builtin_memcmp.
(build_vms_descriptor): Add extra args to ARRAY_REF.
(convert): Use VIEW_CONVERT_EXPR between aggregate types.
* utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST):
New cases.
(build_binary_op): Don't make explicit CONVERT_EXPR.
Add extra rgs to ARRAY_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83103 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/ada-tree.def')
-rw-r--r-- | gcc/ada/ada-tree.def | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ada/ada-tree.def b/gcc/ada/ada-tree.def index 5922d54ef51..b185106f62e 100644 --- a/gcc/ada/ada-tree.def +++ b/gcc/ada/ada-tree.def @@ -61,13 +61,13 @@ DEFTREECODE (STMT_STMT, "stmt_stmt", 's', 1) /* A loop. LOOP_STMT_TOP_COND and LOOP_STMT_BOT_COND are the tests to exit a loop at the top and bottom, respectively. LOOP_STMT_UPDATE is the statement to update the loop iterator at the continue point. LOOP_STMT_BODY are the - statements in the body of the loop. LOOP_STMT_LABEL is used during - gimplification to point to the LABEL_DECL of the end label of the loop. */ + statements in the body of the loop. LOOP_STMT_LABEL points to the LABEL_DECL + of the end label of the loop. */ DEFTREECODE (LOOP_STMT, "loop_stmt", 's', 5) /* Conditionally exit a loop. EXIT_STMT_COND is the condition, which, if true, will cause the loop to be exited. If no condition is specified, - the loop is unconditionally exited. EXIT_STMT_LOOP is the LOOP_STMT + the loop is unconditionally exited. EXIT_STMT_LABEL is the end label corresponding to the loop to exit. */ DEFTREECODE (EXIT_STMT, "exit_stmt", 's', 2) @@ -85,4 +85,3 @@ DEFTREECODE (HANDLER_STMT, "handler_stmt", 's', 3) /* A statement that emits a USE for its single operand. */ DEFTREECODE (USE_STMT, "use_expr", 's', 1) - |