From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10639 invoked by alias); 13 Jun 2006 13:29:22 -0000 Received: (qmail 10588 invoked by alias); 13 Jun 2006 13:29:15 -0000 Date: Tue, 13 Jun 2006 13:59:00 -0000 Message-ID: <20060613132915.10587.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/28003] [4.2 Regression] optimizer bug In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dberlin at dberlin dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg01267.txt.bz2 List-Id: ------- Comment #4 from dberlin at gcc dot gnu dot org 2006-06-13 13:29 ------- Subject: Re: [4.2 Regression] optimizer bug pinskia at gcc dot gnu dot org wrote: > ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-13 04:41 ------- > Hmm, we get after dce, just: > reduced_cell_two_folds[26] = {}; > > And DCE removes: > this_616 = &reduced_cell_two_folds[26].u; > .... > # SMT.68_1055 = V_MAY_DEF ; > this_616->elems[0] = 1; > # SMT.68_1056 = V_MAY_DEF ; > this_616->elems[1] = 0; > # SMT.68_1057 = V_MAY_DEF ; > this_616->elems[2] = 0; > ... > this_621 = &reduced_cell_two_folds[26].h; > ... > # SMT.68_1058 = V_MAY_DEF ; > this_621->elems[0] = 2; > # SMT.68_1059 = V_MAY_DEF ; > this_621->elems[1] = 1; > # SMT.68_1060 = V_MAY_DEF ; > this_621->elems[2] = 1; > > > Which does not make sense. Nothing is special in alias shows what is going > wrong. > > The only thing i can think of is that SMT.68 is not marked global. Is it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28003