------- Comment #7 from rguenth at gcc dot gnu dot org  2010-07-26 11:00 -------
Invalid MEMs in debug-insns (invalid as in not folded).  Why does the
scheduler query the alias oracle about them?

(debug_insn 49 48 50 7 t.cc:22 (var_location:DI D#3 (mem/s/f/j:DI (plus:DI
(reg/f:DI 54 virtual-stack-vars)
            (const_int -32 [0xffffffffffffffe0])) [0 MEM[(struct vector
*)&qq.seq]._M_finish+0 S8 A256])) -1 (nil))

CCP does

-  D.2433_12 = &qq.seq;
-  # DEBUG this => D.2433_12
-  # DEBUG D#3 => MEM[(struct vector *)D.2433_12]._M_finish
-  # DEBUG this => D.2433_12
+  # DEBUG this => &qq.seq
+  # DEBUG D#3 => MEM[(struct vector *)&qq.seq]._M_finish
+  # DEBUG this => &qq.seq

I have a patch to fix it there.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45056

Reply via email to