This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ada] fix for 103 ACATS failures
- To: gcc-patches at gcc dot gnu dot org
- Subject: [Ada] fix for 103 ACATS failures
- From: <guerby at acm dot org>
- Date: Mon, 29 Oct 2001 22:37:52 +0100
- Reply-to: guerby at acm dot org
As suggested by Richard Kenner. Bootstrapped, make check and ACATS on
i686-pc-linux-gnu.
--
Laurent Guerby <guerby@acm.org>
2001-10-29 Laurent Guerby <guerby@acm.org>
* misc.c (gnat_expand_expr, case NULL_EXPR): Don't call set_mem_attributes,
fixes 103 ACATS ICEs.
Index: misc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
retrieving revision 1.7
diff -c -3 -p -r1.7 misc.c
*** misc.c 2001/10/29 17:45:03 1.7
--- misc.c 2001/10/29 21:39:31
*************** gnat_expand_expr (exp, target, tmode, mo
*** 634,640 ****
else
result = assign_temp (type, 0, TREE_ADDRESSABLE (exp), 1);
- set_mem_attributes (result, exp, 1);
return result;
case ALLOCATE_EXPR:
--- 634,639 ----