This is the mail archive of the 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/33453] ICE in build2_stat, at tree.c:3110 with -ftree-parallelize-loops=4 -ftree-vectorize

------- Comment #2 from rguenth at gcc dot gnu dot org  2007-09-17 11:03 -------
Confirmed.  Looks like we try to build a multiplication with ptr * int:

(gdb) bt
#0  fancy_abort (
    file=0xf27848 "/space/rguenther/src/svn/pointer_plus/gcc/tree.c", 
    line=3110, function=0xf291bf "build2_stat")
    at /space/rguenther/src/svn/pointer_plus/gcc/diagnostic.c:655
#1  0x0000000000a98052 in build2_stat (code=MULT_EXPR, tt=0x2ad7bec23750, 
    arg0=0x2ad7bec6ae40, arg1=0x2ad7bec638d0)
    at /space/rguenther/src/svn/pointer_plus/gcc/tree.c:3110
#2  0x00000000006d8a51 in fold_build2_stat (code=MULT_EXPR, 
    type=0x2ad7bec23750, op0=0x2ad7bec6ae40, op1=0x2ad7bec638d0)
    at /space/rguenther/src/svn/pointer_plus/gcc/fold-const.c:13452
#3  0x00000000006a130c in fold_binary (code=MULT_EXPR, type=0x2ad7bec23750, 
    op0=0x2ad7bec638d0, op1=0x2ad7bec6ae40)
    at /space/rguenther/src/svn/pointer_plus/gcc/fold-const.c:9464
#4  0x00000000006d8a32 in fold_build2_stat (code=MULT_EXPR, 
    type=0x2ad7bec23750, op0=0x2ad7bec638d0, op1=0x2ad7bec6ae40)
    at /space/rguenther/src/svn/pointer_plus/gcc/fold-const.c:13450
#5  0x00000000008f6544 in canonicalize_loop_ivs (loop=0x2ad7be26bb40, 

744                              fold_build2 (MULT_EXPR, atype,
745                                           unshare_expr (iv.step),
746                                           fold_convert (atype,


rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-17 11:03:24
               date|                            |

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