From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13133 invoked by alias); 6 Oct 2005 08:39:57 -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 13112 invoked by uid 48); 6 Oct 2005 08:39:55 -0000 Date: Thu, 06 Oct 2005 08:39:00 -0000 Subject: [Bug tree-optimization/24226] New: [4.1 Regression] ICE: Segmentation fault in operand_equal_p (complete loop unrolling) X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg00567.txt.bz2 List-Id: /usr/lib/gcc/i586-suse-linux/4.1.0/cc1 -fpreprocessed disasm.i -quiet -dumpbase disasm.c -march=i586 -mtune=i686 -auxbase-strip disasm.o -O2 -Wall -Wall -pedantic -std=c99 -version -fmessage-length=0 -fno-strict-aliasing -o disasm.s disasm.c: In function ‘disasm’: disasm.c:579: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. #0 0x082c9862 in operand_equal_p (arg0=0x40437c98, arg1=0x404441a0, flags=0) at fold-const.c:2413 #1 0x0817ab10 in simplify_replace_tree (expr=0x40437c98, old=0x404441a0, new=0x4031ce28) at tree-ssa-loop-niter.c:605 #2 0x0817ac46 in simplify_replace_tree (expr=0x4050ecf0, old=0x404441a0, new=0x4031ce28) at tree-ssa-loop-niter.c:616 #3 0x0817ac46 in simplify_replace_tree (expr=0x4050f2c0, old=0x404441a0, new=0x4031ce28) at tree-ssa-loop-niter.c:616 #4 0x081803f2 in substitute_in_loop_info (loop=0x89e6548, name=0x404441a0, val=0x4031ce28) at tree-ssa-loop-niter.c:2053 #5 0x080e5e0e in replace_uses_by (name=0x404441a0, val=0x4031ce28) at tree-cfg.c:1293 #6 0x080e66e5 in tree_merge_blocks (a=0x40480820, b=0x404ce870) at tree-cfg.c:1341 #7 0x08524467 in merge_blocks (a=0x40480820, b=0x404ce870) at cfghooks.c:530 #8 0x081f39de in merge_seq_blocks () at cfgcleanup.c:2064 #9 0x0854a62a in cleanup_tree_cfg_1 () at tree-cfgcleanup.c:520 #10 0x0854a660 in cleanup_tree_cfg () at tree-cfgcleanup.c:541 #11 0x0854a6b6 in cleanup_tree_cfg_loop () at tree-cfgcleanup.c:564 #12 0x08198cee in tree_unroll_loops_completely (loops=0x885b9e8, may_increase_size=0 '\0') at tree-ssa-loop-ivcanon.c:391 #13 0x081797f9 in tree_complete_unroll () at tree-ssa-loop.c:376 #14 0x0852f0cd in execute_one_pass (pass=0x87752c0) at passes.c:827 /* If both types don't have the same signedness, then we can't consider them equal. We must check this before the STRIP_NOPS calls because they may change the signedness of the arguments. */ if (TYPE_UNSIGNED (TREE_TYPE (arg0)) != TYPE_UNSIGNED (TREE_TYPE (arg1))) return 0; (gdb) call debug_tree(arg0) def_stmt version 246 in-free-list> (gdb) call debug_tree(arg1) unit size align 32 symtab 0 alias set -1 precision 32 min max > var def_stmt version 1050> we have a DEF_STMT in arg0. Ugh. -- Summary: [4.1 Regression] ICE: Segmentation fault in operand_equal_p (complete loop unrolling) Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24226