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]

Re: [PATCH, RTL/middle-end?]: Fix PR middle-end/32374


Uros Bizjak wrote:

    PR middle-end/PR32374
    * expr.c (store_constructor): Do not clobber non-zeroed memory.

Has any decision been reached by the RTL / middle-end people for the patch below?


FWIW, This patch fixes povray SPEC2006 failure on x86_64 after df merge.

Thanks,
Uros.


Index: expr.c
===================================================================
--- expr.c      (revision 125846)
+++ expr.c      (working copy)
@@ -5062,7 +5062,7 @@ store_constructor (tree exp, rtx target,
           cleared = 1;
         }

-       if (! cleared)
+       if (REG_P (target) && (! cleared))
         emit_insn (gen_rtx_CLOBBER (VOIDmode, target));

/* Store each element of the constructor into the



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