public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "irar at il dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/35821] Internal compiler error: segmentation fault
Date: Mon, 07 Apr 2008 07:07:00 -0000	[thread overview]
Message-ID: <20080407070617.5764.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35821-16012@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from irar at il dot ibm dot com  2008-04-07 07:06 -------
I am testing the following patch:

Index: tree-vect-transform.c
===================================================================
--- tree-vect-transform.c       (revision 132478)
+++ tree-vect-transform.c       (working copy)
@@ -1102,8 +1103,12 @@ vect_create_data_ref_ptr (tree stmt, str
   new_temp = vect_create_addr_base_for_vector_ref (stmt, &new_stmt_list,
                                                    offset, loop);
   pe = loop_preheader_edge (loop);
-  new_bb = bsi_insert_on_edge_immediate (pe, new_stmt_list);
-  gcc_assert (!new_bb);
+  if (new_stmt_list)
+    {
+      new_bb = bsi_insert_on_edge_immediate (pe, new_stmt_list);
+      gcc_assert (!new_bb);
+    }
+
   *initial_address = new_temp;

   /* Create: p = (vectype *) initial_base  */

Ira


-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-07 07:06:17
               date|                            |


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


  parent reply	other threads:[~2008-04-07  7:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04  6:38 [Bug c/35821] New: " rbertran at ac dot upc dot edu
2008-04-04  6:43 ` [Bug c/35821] " rbertran at ac dot upc dot edu
2008-04-04  6:44 ` [Bug tree-optimization/35821] " pinskia at gcc dot gnu dot org
2008-04-04  7:18 ` rbertran at ac dot upc dot edu
2008-04-04  7:18 ` rbertran at ac dot upc dot edu
2008-04-04  7:18 ` rbertran at ac dot upc dot edu
2008-04-04  7:26 ` rbertran at ac dot upc dot edu
2008-04-07  7:07 ` irar at il dot ibm dot com [this message]
2008-04-09 10:56 ` irar at gcc dot gnu dot org
2008-04-10  5:53 ` irar at gcc dot gnu dot org
2008-04-10  7:11 ` irar at il dot ibm dot com

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=20080407070617.5764.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).