diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-10-25 17:26:04 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-10-25 17:26:04 +0000 |
commit | 8c211c83bba629be6318b5b3fba7137cf633ef9a (patch) | |
tree | 579321e1bafe5b6bd421b4622738b3e8515093cd /gcc/ada/gcc-interface/decl.c | |
parent | 570f4691719a51481deae0109e358a605dd35604 (diff) | |
download | gcc-8c211c83bba629be6318b5b3fba7137cf633ef9a.zip gcc-8c211c83bba629be6318b5b3fba7137cf633ef9a.tar.gz gcc-8c211c83bba629be6318b5b3fba7137cf633ef9a.tar.bz2 |
decl.c (gnat_to_gnu_entity): Do not set TREE_THIS_NOTRAP on the INDIRECT_REF node built for the template.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do not set
TREE_THIS_NOTRAP on the INDIRECT_REF node built for the template.
From-SVN: r165925
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
-rw-r--r-- | gcc/ada/gcc-interface/decl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 8a284ea..b7fe778 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -1942,7 +1942,6 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition) gnu_template_reference = build_unary_op (INDIRECT_REF, gnu_template_type, tem); TREE_READONLY (gnu_template_reference) = 1; - TREE_THIS_NOTRAP (gnu_template_reference) = 1; /* Now create the GCC type for each index and add the fields for that index to the template. */ |