From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hubicka To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: optimization/4054: ICE with "-O2 and -march=k6" on i686-pc-linux-gnu/gcc 3.1 Date: Thu, 23 Aug 2001 08:46:00 -0000 Message-id: <20010823154603.19786.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00593.html List-Id: The following reply was made to PR optimization/4054; it has been noted by GNATS. From: Jan Hubicka To: cain@nationwide.net Cc: gcc-gnats@gcc.gnu.org, cmonico@nd.edu Subject: Re: optimization/4054: ICE with "-O2 and -march=k6" on i686-pc-linux-gnu/gcc 3.1 Date: Thu, 23 Aug 2001 17:38:34 +0200 > > >Number: 4054 > >Category: optimization > >Synopsis: ICE with "-O2 and -march=k6" on i686-pc-linux-gnu/gcc 3.1 > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: unassigned > >State: open > >Class: ice-on-legal-code > >Submitter-Id: net > >Arrival-Date: Sat Aug 18 00:16:00 PDT 2001 > >Closed-Date: > >Last-Modified: > >Originator: Roy Cain > >Release: gcc version 3.1 20010723 (experimental) > >Organization: > >Environment: > Linux 2.4.5 > Slackware 8.0 > CPU K7 Athlon slot A 1.0 GHz > System type: i686-pc-linux-gnu > Configured with: /gcc_cvs/gcc/configure --enable-languages=c --disable-nls > >Description: > gcc -v -save-temps -DX86L -O2 -march=k6 verifypt.c > > eccp109/verifypt.c: In function `hardVerifyPt': > eccp109/verifypt.c:77: Unrecognizable insn: > (insn 348 290 349 (parallel[ > (set (reg:SI 1 edx [58]) > (const_int 0 [0x0])) > (clobber (reg:CC 17 flags)) > ] ) -1 (nil) > (expr_list:REG_UNUSED (reg:CC 17 flags) > (nil))) > eccp109/verifypt.c:77: Internal compiler error in extract_insn, at recog.c:2127 SHould be fixed by the attached patch I am about to install as obvious once bootstrap finish. Thu Aug 23 17:05:25 CEST 2001 Jan Hubicka * i386.md (setcc peep2): Fix load of zero. *** i386.md.old Wed Aug 22 15:21:39 2001 --- i386.md Wed Aug 22 15:22:04 2001 *************** *** 13145,13152 **** (zero_extend (match_dup 1)))] "peep2_reg_dead_p (3, operands[1]) && ! reg_overlap_mentioned_p (operands[3], operands[0])" ! [(parallel [(set (match_dup 3) (const_int 0)) ! (clobber (reg:CC 17))]) (set (match_dup 4) (match_dup 0)) (set (strict_low_part (match_dup 5)) (match_dup 2))] --- 13145,13151 ---- (zero_extend (match_dup 1)))] "peep2_reg_dead_p (3, operands[1]) && ! reg_overlap_mentioned_p (operands[3], operands[0])" ! [(parallel [(set (match_dup 3) (const_int 0))]) (set (match_dup 4) (match_dup 0)) (set (strict_low_part (match_dup 5)) (match_dup 2))]