This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More MEM tracking stuff
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: More MEM tracking stuff
- From: Graham Stott <grahams at redhat dot com>
- Date: Wed, 24 Oct 2001 20:08:05 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <10110231901.AA03870@vlsi1.ultra.nyu.edu>
Richard,
This part of the patch is failing in a --enable-checking bootstrap
building zlib/gzio.c
*** integrate.c 2001/10/19 19:37:08 1.172
--- integrate.c 2001/10/23 16:00:47
*************** copy_rtx_and_substitute (orig, map, for_
*** 2185,2195 ****
if (! (optimize && ! flag_no_function_cse))
#endif
! return
! gen_rtx_CALL
! (GET_MODE (orig),
! gen_rtx_MEM (GET_MODE (XEXP (orig, 0)),
! copy_rtx_and_substitute (XEXP (XEXP (orig, 0), 0),
! map, 0)),
! copy_rtx_and_substitute (XEXP (orig, 1), map, 0));
break;
--- 2185,2200 ----
if (! (optimize && ! flag_no_function_cse))
#endif
! {
! rtx copy
! = gen_rtx_MEM (GET_MODE (XEXP (orig, 0)),
! copy_rtx_and_substitute (XEXP (XEXP (orig, 0), 0),
! map, 0));
!
! MEM_COPY_ATTRIBUTES (copy, orig);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I think this should be
MEM_COPY_ATTRIBUTES (copy, XEXP (orig, 0));
!
! return
! gen_rtx_CALL (GET_MODE (orig), copy,
! copy_rtx_and_substitute (XEXP (orig, 1), map, 0));
! }
break;
Graham