[Bug tree-optimization/36066] ICE with -O1 -finline-small-functions -ftree-vrp -funsafe-loop-optimizations

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 27 21:11:00 GMT 2008



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-04-27 21:11 -------
Confirmed.

Program received signal SIGSEGV, Segmentation fault.
0x0829ba29 in operand_equal_p (arg0=0xb7b248f0, arg1=0xb7c6fd68, flags=0)
    at /home/richard/src/trunk/gcc/fold-const.c:3037
3037      if (TYPE_UNSIGNED (TREE_TYPE (arg0)) != TYPE_UNSIGNED (TREE_TYPE
(arg1)))
(gdb) print arg0->common.type
$2 = (tree) 0x0

#0  0x0829ba29 in operand_equal_p (arg0=0xb7b248f0, arg1=0xb7c6fd68, flags=0)
    at /home/richard/src/trunk/gcc/fold-const.c:3037
#1  0x08623ccf in simplify_replace_tree (expr=0xb7b248f0, old=0xb7c6fd68, 
    new_tree=0xb7c4ec64)
    at /home/richard/src/trunk/gcc/tree-ssa-loop-niter.c:1347
#2  0x08623e50 in simplify_replace_tree (expr=0xb7774318, old=0xb7c6fd68, 
    new_tree=0xb7c4ec64)
    at /home/richard/src/trunk/gcc/tree-ssa-loop-niter.c:1358
#3  0x0862ba0e in substitute_in_loop_info (loop=0xb78bb898, name=0xb7c6fd68, 
    val=0xb7c4ec64) at /home/richard/src/trunk/gcc/tree-ssa-loop-niter.c:3070
#4  0x084abab2 in replace_uses_by (name=0xb7c6fd68, val=0xb7c4ec64)
    at /home/richard/src/trunk/gcc/tree-cfg.c:1273
#5  0x084ad00a in tree_merge_blocks (a=0xb7b3d30c, b=0xb7b3d744)
    at /home/richard/src/trunk/gcc/tree-cfg.c:1337
#6  0x0819f781 in merge_blocks (a=0xb7b3d30c, b=0xb7b3d744)
    at /home/richard/src/trunk/gcc/cfghooks.c:660
#7  0x084cfbbe in cleanup_tree_cfg_bb (bb=0xb7b3d30c)
    at /home/richard/src/trunk/gcc/tree-cfgcleanup.c:568
#8  0x084cfc76 in cleanup_tree_cfg_1 ()
    at /home/richard/src/trunk/gcc/tree-cfgcleanup.c:601
#9  0x084cfdf8 in cleanup_tree_cfg_noloop ()
    at /home/richard/src/trunk/gcc/tree-cfgcleanup.c:657
#10 0x084cff49 in cleanup_tree_cfg ()
#11 0x0870f68f in execute_vrp () at /home/richard/src/trunk/gcc/tree-vrp.c:6758
#12 0x083ec77e in execute_one_pass (pass=0x8c6b538)
    at /home/richard/src/trunk/gcc/passes.c:1133


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-27 21:11:09
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36066



More information about the Gcc-bugs mailing list