This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/33576] segfault in extract_muldiv for cpu2006 benchmark



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-09-28 09:39 -------
Confirmed.  Also happens on x86_64, -O -ftree-loop-linear.  We have a freed
SSA_NAME in use:

Program received signal SIGSEGV, Segmentation fault.
0x000000000067da2a in extract_muldiv_1 (t=0x2b5d06c1af60, c=0x2b5d062ab180, 
    code=MULT_EXPR, wide_type=0x2b5d06282000, 
    strict_overflow_p=0x7fffa488a0f7 "")
    at /space/rguenther/src/svn/pointer_plus/gcc/fold-const.c:6008
6008                                       > GET_MODE_SIZE (TYPE_MODE (type)))
(gdb) print type
$2 = (tree) 0x0
(gdb) call debug_tree (t)
 <ssa_name 0x2b5d06c1af60 nothrow var <var_decl 0x2b5d06343370 j> def_stmt
<ssa_name 0x2b5d06c1a240>
    version 36 in-free-list>

but linear loop transforms are known to be somewhat broken.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org, spop at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|powerpc64-linux             |
   GCC host triplet|powerpc64-linux             |
 GCC target triplet|powerpc64-linux             |powerpc64-linux, x86_64-*-*
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-28 09:39:21
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]