This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Ada] fix for 103 ACATS failures


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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]