summaryrefslogtreecommitdiffstats
path: root/gcc/ada/misc.c
diff options
context:
space:
mode:
authorbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-30 23:47:02 +0000
committerbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-30 23:47:02 +0000
commit7ae0fe4438059aa4269cdaa14cf0e5d8b3600280 (patch)
tree83da11156aa18cfe31d15fc671d9640960188dca /gcc/ada/misc.c
parentf82a66fdf05d3c5e9fa8e01be430ed6ba16ef3d7 (diff)
downloadppe42-gcc-7ae0fe4438059aa4269cdaa14cf0e5d8b3600280.tar.gz
ppe42-gcc-7ae0fe4438059aa4269cdaa14cf0e5d8b3600280.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46659 138bc75d-0d04-0410-961f-82ee72b054a4
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:
OpenPOWER on IntegriCloud