This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33453] ICE in build2_stat, at tree.c:3110 with -ftree-parallelize-loops=4 -ftree-vectorize
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2007 11:03:24 -0000
- Subject: [Bug tree-optimization/33453] ICE in build2_stat, at tree.c:3110 with -ftree-parallelize-loops=4 -ftree-vectorize
- References: <bug-33453-1649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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,
nit=0x2ad7bec5e9c0)
744 fold_build2 (MULT_EXPR, atype,
745 unshare_expr (iv.step),
746 fold_convert (atype,
var_before)))
--
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| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33453