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]
Other format: [Raw text]

[rtlopt] var-tracking.c: do not track BLKmode memory


Hi,

this patch avoids tracking of BLKmode memory.

Bootstrapped x86-64.

Josef


2003-02-19  Josef Zlomek  <zlomekj at suse dot cz>

	* var-tracking.c (track_expr_p): Do not track BLKmode memory.

Index: var-tracking.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/var-tracking.c,v
retrieving revision 1.1.4.20
diff -c -3 -p -r1.1.4.20 var-tracking.c
*** var-tracking.c	7 Feb 2003 10:38:24 -0000	1.1.4.20
--- var-tracking.c	18 Feb 2003 17:23:22 -0000
*************** track_expr_p (expr)
*** 760,765 ****
--- 760,767 ----
       or struct).  */
    if (GET_CODE (decl_rtl) == MEM)
      {
+       if (GET_MODE (decl_rtl) == BLKmode)
+ 	return 0;
        if (MEM_SIZE (decl_rtl) && INTVAL (MEM_SIZE (decl_rtl)) > MAX_LOC_PARTS)
  	return 0;
      }


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