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


Bootstrapped, make check and ACATS on i686-pc-linux-gnu by Laurent Guerby.

  -Geert

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.

*** misc.c	2001/10/29 15:18:00	1.10
--- misc.c	2001/10/29 20:07:20	1.11
***************
*** 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]