public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/24226]  New: [4.1 Regression] ICE: Segmentation fault in operand_equal_p (complete loop unrolling)
@ 2005-10-06  8:39 rguenth at gcc dot gnu dot org
  2005-10-06  8:40 ` [Bug tree-optimization/24226] " rguenth at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-10-06  8:39 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3280 bytes --]

/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 <URL:http://www.suse.de/feedback> 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)
 <ssa_name 0x40437c98 nothrow var <var_decl 0x403325d8 D.3500> def_stmt
<ssa_name 0x40437b94>
    version 246 in-free-list>
(gdb) call debug_tree(arg1)
 <ssa_name 0x404441a0
    type <integer_type 0x4019d2e0 unsigned int sizes-gimplified public unsigned
SI
        size <integer_cst 0x4018d408 constant invariant 32>
        unit size <integer_cst 0x4018d198 constant invariant 4>
        align 32 symtab 0 alias set -1 precision 32 min <integer_cst 0x4018d480
0> max <integer_cst 0x4018d468 4294967295>>
    var <var_decl 0x40508688 ivtmp.485> def_stmt <phi_node 0x403e7b00>
    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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-10-10  4:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-06  8:39 [Bug tree-optimization/24226] New: [4.1 Regression] ICE: Segmentation fault in operand_equal_p (complete loop unrolling) rguenth at gcc dot gnu dot org
2005-10-06  8:40 ` [Bug tree-optimization/24226] " rguenth at gcc dot gnu dot org
2005-10-06 11:28 ` rguenth at gcc dot gnu dot org
2005-10-06 11:43 ` rguenth at gcc dot gnu dot org
2005-10-06 11:43 ` rguenth at gcc dot gnu dot org
2005-10-06 13:41 ` pinskia at gcc dot gnu dot org
2005-10-06 15:19 ` belyshev at depni dot sinp dot msu dot ru
2005-10-06 22:27 ` janis187 at us dot ibm dot com
2005-10-09  9:04 ` rakdver at gcc dot gnu dot org
2005-10-09 19:38 ` rakdver at gcc dot gnu dot org
2005-10-09 22:50 ` cvs-commit at gcc dot gnu dot org
2005-10-10  4:35 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).