From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16845 invoked by alias); 30 Sep 2008 16:41:31 -0000 Received: (qmail 16526 invoked by uid 48); 30 Sep 2008 16:40:07 -0000 Date: Tue, 30 Sep 2008 16:41:00 -0000 Message-ID: <20080930164007.16525.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/37684] [graphite] basic block containing VDEF of a scalar does not dominate basic block containing VUSE of the same scalar In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjagasia 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: 2008-09/txt/msg03042.txt.bz2 ------- Comment #2 from hjagasia at gcc dot gnu dot org 2008-09-30 16:40 ------- Created an attachment (id=16435) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16435&action=view) This patch fixes the reduced test case block-3.c Until graphite can handle scalars and also update dominance properly (planned for gcc 4.5), this patch will work by limiting the scop that contains bb 3, which in turn contains the VDEFs for SMT.48_20, SMT.49_21, such that no code is generated for it. This patch depends on the patch submitted for 37485. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37684