From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14104 invoked by alias); 16 Oct 2003 14:20:11 -0000 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 Received: (qmail 14089 invoked by alias); 16 Oct 2003 14:20:10 -0000 Date: Thu, 16 Oct 2003 14:20:00 -0000 Message-ID: <20031016142010.14088.qmail@sources.redhat.com> From: "jh at suse dot cz" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031015232442.12630.danglin@gcc.gnu.org> References: <20031015232442.12630.danglin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/12630] [3.4 regression] Various unrecognizable insns and ICEs at -O3 X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg01194.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12630 ------- Additional Comments From jh at suse dot cz 2003-10-16 14:19 ------- Subject: Re: New: [3.4 regression] Various unrecognizable insns and ICEs at -O3 > PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12630 > > Summary: [3.4 regression] Various unrecognizable insns and ICEs > at -O3 > Product: gcc > Version: 3.4 > Status: UNCONFIRMED > Severity: critical > Priority: P2 > Component: optimization > AssignedTo: unassigned at gcc dot gnu dot org > ReportedBy: danglin at gcc dot gnu dot org > CC: gcc-bugs at gcc dot gnu dot org,jh at suse dot cz > GCC build triplet: hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 > GCC host triplet: hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 > GCC target triplet: hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 > > The following patch introduced numerous regressions on the PA at -O3: > > 2003-10-11 Jan Hubicka > > * Makefile.in (web.o): New. > * web.c: New file. > * rtl.h (web_main): Declare. > * timervar.def (TV_WEB): New. > * toplev.c (dump_file_index, dump_file_info): Add DFI_web. > (rest_of_hanle_web): New. > (flag_web): New static variable. > (lang_independent_options): Add "web". > (rest_of_compilation): Call rest_of_handle_web. > * invoke.texi (-fweb): Document. > * common.opt (fweb): New. > * flags.h (flag_web): New. > * opts.c (decode_options): Set flag_web at -O3. > > * passes.texi (web construction): Document. > * invoke.texi (-O3): Document that -fweb is enabled. > > * regrename.c (regrename_optimize): Deal better with situation when > replacement failed. > > * sched-ebb.c: Include params.h and profile.h > (schedule_ebbs): Use tracer parameters to discover superblocks > * Makefile.in (sched-ebb.o): Add dependencies. > > See for example the difference in testsuite results between > > and > . > > Here is an example of one of the common failures: > > dave@hiauly6:~/gnu/gcc-3.4/objdir/gcc/testsuite$ > /home/dave/gnu/gcc-3.4/objdir/gcc/stage1/xgcc > -B/home/dave/gnu/gcc-3.4/objdir/gcc/stage1/ -O3 -w -c -o 20011109-1.o > /home/dave/gnu/gcc-3.4/gcc/gcc/testsuite/gcc.c-torture/compile/20011109-1.c > /home/dave/gnu/gcc-3.4/gcc/gcc/testsuite/gcc.c-torture/compile/20011109-1.c: In > function `die': > > /home/dave/gnu/gcc-3.4/gcc/gcc/testsuite/gcc.c-torture/compile/20011109-1.c:51: > error: unrecognizable insn: > (insn 188 187 189 17 (parallel [ > (set (mem/s:BLK (reg/f:SI 169 [ u ]) [12 S8 A16]) > (mem/s:BLK (reg/f:SI 170) [12 S8 A16])) > (clobber (reg/f:SI 206 [ u ])) > (clobber (reg/f:SI 205)) > (clobber (reg:SI 171)) > (clobber (reg:SI 172)) > (clobber (reg:SI 173)) > (use (const_int 8 [0x8])) > (use (const_int 2 [0x2])) > ]) -1 (insn_list 186 (insn_list 187 (nil))) > (expr_list:REG_DEAD (reg/f:SI 170) > (expr_list:REG_DEAD (reg/f:SI 169 [ u ]) > (expr_list:REG_UNUSED (reg/f:SI 206 [ u ]) > (expr_list:REG_UNUSED (reg/f:SI 205) > (expr_list:REG_UNUSED (reg:SI 171) > (expr_list:REG_UNUSED (reg:SI 172) > (expr_list:REG_UNUSED (reg:SI 173) > (expr_list:REG_EQUAL (mem/s:BLK (reg/f:SI 167) > [12 S8 A16]) > (nil)))))))))) > /home/dave/gnu/gcc-3.4/gcc/gcc/testsuite/gcc.c-torture/compile/20011109-1.c:51: > internal compiler error: in extract_insn, at recog.c:2064 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. BTW did the patch passed testing? If so, I will install it as obvious so we can close this bug... Honza