public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/33453] ICE in build2_stat, at tree.c:3110 with -ftree-parallelize-loops=4 -ftree-vectorize
Date: Mon, 17 Sep 2007 11:03:00 -0000	[thread overview]
Message-ID: <20070917110324.10021.qmail@sourceware.org> (raw)
In-Reply-To: <bug-33453-1649@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2007-09-17 11:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17  6:51 [Bug tree-optimization/33453] New: " ubizjak at gmail dot com
2007-09-17  9:14 ` [Bug tree-optimization/33453] " pinskia at gcc dot gnu dot org
2007-09-17 11:03 ` rguenth at gcc dot gnu dot org [this message]
2007-11-17 16:09 ` tbm at cyrius dot com
2007-11-17 16:12 ` tbm at cyrius dot com
2007-11-23 22:29 ` rguenth at gcc dot gnu dot org
2007-11-23 22:34 ` [Bug tree-optimization/33453] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-11-27  5:51 ` mmitchel at gcc dot gnu dot org
2007-12-03 13:59 ` jakub at gcc dot gnu dot org
2007-12-03 15:00 ` jakub at gcc dot gnu dot org
2007-12-03 22:36 ` jakub at gcc dot gnu dot org
2007-12-03 22:44 ` jakub at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070917110324.10021.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).