diff options
author | Richard Kenner <kenner@gnat.com> | 2001-10-30 23:47:02 +0000 |
---|---|---|
committer | Geert Bosch <bosch@gcc.gnu.org> | 2001-10-31 00:47:02 +0100 |
commit | c296e5fc6ce887ba553d64dba39a5df0864db7cf (patch) | |
tree | 83da11156aa18cfe31d15fc671d9640960188dca | |
parent | 07c809df76ada4414a2fcf7a79b67a499a29e082 (diff) | |
download | gcc-c296e5fc6ce887ba553d64dba39a5df0864db7cf.zip gcc-c296e5fc6ce887ba553d64dba39a5df0864db7cf.tar.gz gcc-c296e5fc6ce887ba553d64dba39a5df0864db7cf.tar.bz2 |
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
-rw-r--r-- | gcc/ada/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ada/misc.c | 1 |
2 files changed, 6 insertions, 1 deletions
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 <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, 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: |