summaryrefslogtreecommitdiff
path: root/gcc/ada/misc.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gnat.com>2001-10-30 23:47:02 +0000
committerGeert Bosch <bosch@gcc.gnu.org>2001-10-31 00:47:02 +0100
commitc296e5fc6ce887ba553d64dba39a5df0864db7cf (patch)
tree83da11156aa18cfe31d15fc671d9640960188dca /gcc/ada/misc.c
parent07c809df76ada4414a2fcf7a79b67a499a29e082 (diff)
downloadgcc-c296e5fc6ce887ba553d64dba39a5df0864db7cf.tar.gz
misc.c (gnat_expand_expr, [...]): Remove call to set_mem_attributes since not needed and wrong if RESULT if a REG...
* misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to set_mem_attributes since not needed and wrong if RESULT if a REG; fixes ACATS failures. From-SVN: r46659
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r--gcc/ada/misc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index edd1d2d2c42..5d1c398f5f5 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -634,7 +634,6 @@ gnat_expand_expr (exp, target, tmode, modifier)
else
result = assign_temp (type, 0, TREE_ADDRESSABLE (exp), 1);
- set_mem_attributes (result, exp, 1);
return result;
case ALLOCATE_EXPR: