From c296e5fc6ce887ba553d64dba39a5df0864db7cf Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 30 Oct 2001 23:47:02 +0000 Subject: 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 --- gcc/ada/ChangeLog | 6 ++++++ gcc/ada/misc.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ca9dd0e..153cc63 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2001-10-30 Richard Kenner + + * 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. + 2001-10-30 Geert Bosch * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index edd1d2d..5d1c398 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: -- cgit v1.1