misc.c (gnat_expand_expr, [...]): Remove call to set_mem_attributes since not needed...
authorRichard Kenner <kenner@gnat.com>
Tue, 30 Oct 2001 23:47:02 +0000 (23:47 +0000)
committerGeert Bosch <bosch@gcc.gnu.org>
Tue, 30 Oct 2001 23:47:02 +0000 (00:47 +0100)
* 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
gcc/ada/misc.c

index ca9dd0e5dc5f7fd5959df95796f69db1c7127f36..153cc63dd15b13a00dd7f6eb77243945ba5b5fda 100644 (file)
@@ -1,3 +1,9 @@
+2001-10-30  Richard Kenner <kenner@gnat.com>
+
+       * 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 <bosch@gnat.com>
 
        * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
index edd1d2d2c42522b8889b8e3760dadba1990d8951..5d1c398f5f506c80a6a077aef089c9766bd6600b 100644 (file)
@@ -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: