From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31988 invoked by alias); 26 Jul 2010 11:01:07 -0000 Received: (qmail 31190 invoked by uid 48); 26 Jul 2010 11:00:55 -0000 Date: Mon, 26 Jul 2010 11:01:00 -0000 Message-ID: <20100726110055.31189.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/45056] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg02839.txt.bz2 ------- 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