From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25709 invoked by alias); 7 Jul 2010 13:25:03 -0000 Received: (qmail 25569 invoked by alias); 7 Jul 2010 13:24:44 -0000 Date: Wed, 07 Jul 2010 13:25:00 -0000 Message-ID: <20100707132444.25568.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/44832] [4.6 Regression] -fcompare-debug failure for C++ i386.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenther at suse dot de" 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/msg00730.txt.bz2 ------- Comment #16 from rguenther at suse dot de 2010-07-07 13:24 ------- Subject: Re: [4.6 Regression] -fcompare-debug failure for C++ i386.c On Wed, 7 Jul 2010, amylaar at gcc dot gnu dot org wrote: > ------- Comment #14 from amylaar at gcc dot gnu dot org 2010-07-07 13:22 ------- > (In reply to comment #12) > $ diff -u -I '^ # DEBUG.*$' t.c.025t.* t.c.gk.025t.* > --- t.c.025t.einline2 2010-07-07 13:59:11.251978485 +0100 > +++ t.c.gk.025t.einline2 2010-07-07 13:59:11.451101846 +0100 > @@ -149,14 +161,14 @@ > int i; > int n; > struct rtx_def * ops[32]; > + unsigned char D.1889; > unsigned char D.1888; > - unsigned char D.1887; > + int D.1887; > int D.1886; > - int D.1885; > int ix86_isa_flags.6; > - struct rtx_def * D.1883; > - struct rtvec_def * D.1882; > - const unsigned char D.1881; > + struct rtx_def * D.1884; > + struct rtvec_def * D.1883; > + const unsigned char D.1882; > int mode.5; > struct rtvec_def * * D.1872; > int D.1817; > @@ -329,22 +365,26 @@ > > : > mode.5_58 = (int) mode_12; > - D.1881_59 = mode_nunits[mode.5_58]; > - n_60 = (int) D.1881_59; > + D.1882_59 = mode_nunits[mode.5_58]; > + n_60 = (int) D.1882_59; > + # DEBUG n => n_60 > ix86_expand_vector_init_concat (mode_12, target_10(D), &ops[0], n_60); > goto ; > > half: > mode.5_61 = (int) mode_12; > - D.1881_62 = mode_nunits[mode.5_61]; > - n_63 = (int) D.1881_62; > + D.1882_62 = mode_nunits[mode.5_61]; > + n_63 = (int) D.1882_62; > + # DEBUG n => n_63 > + # DEBUG i => 0 > goto ; > > : > - D.1882_64 = *D.1872_50; > - D.1883_66 = D.1882_64->elem[i_65]; > - ops[i_65] = D.1883_66; > + D.1883_64 = *D.1872_50; > + D.1884_66 = D.1883_64->elem[i_65]; > + ops[i_65] = D.1884_66; > i_67 = i_65 + 1; > + # DEBUG i => i_67 > > : > # i_65 = PHI <0(24), i_67(25)> > @@ -359,25 +401,26 @@ > > : > ix86_isa_flags.6_68 = ix86_isa_flags; > - D.1885_69 = ix86_isa_flags.6_68 & 524288; > - if (D.1885_69 == 0) > + D.1886_69 = ix86_isa_flags.6_68 & 524288; > + if (D.1886_69 == 0) > goto (); > else > goto (); > > : > ix86_isa_flags.6_70 = ix86_isa_flags; > - D.1886_71 = ix86_isa_flags.6_70 & 131072; > - if (D.1886_71 == 0) > + D.1887_71 = ix86_isa_flags.6_70 & 131072; > + if (D.1887_71 == 0) > goto (); > else > goto ; > > : > mode.5_72 = (int) mode_12; > - D.1887_73 = mode_size[mode.5_72]; > - D.1888_74 = D.1887_73 / 4; > - if (D.1888_74 == 4) > + D.1888_73 = mode_size[mode.5_72]; > + D.1889_74 = D.1888_73 / 4; > + # DEBUG n_words => (int) D.1889_74 > + if (D.1889_74 == 4) > goto ; > else > goto ; Maybe I'm blind, but the SSA name versions are all the same in the above diff. Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44832