public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/43901] [4.6 Regression] FAIL: gcc.c-torture/compile/pr42196-2.c
Date: Sun, 02 May 2010 10:44:00 -0000	[thread overview]
Message-ID: <20100502104422.2198.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43901-682@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]



------- Comment #5 from ubizjak at gmail dot com  2010-05-02 10:44 -------
(In reply to comment #4)
> I don't have access to ia64. I tried to change the types in the test to make
> the basic blocks vectorizable on x86_64, but didn't get any error. So I still
> need SLP dump in order to solve this.

You can simply build ia64 crosscompiler with (you don't need to install
binutils):

$ ../gcc-svn/trunk/configure --target=ia64-linux-gnu --enable-languages=c

$ make
[... the build will fail, but cc1 will be compiled correctly ... ]

~/gcc-build-ia64/gcc/cc1 -O3 -quiet pr42196-2.c
pr42196-2.c: In function ‘foo’:
pr42196-2.c:10:7: internal compiler error: in vectorizable_operation, at
tree-vect-stmts.c:1989
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

gdb --args ~/gcc-build-ia64/gcc/cc1 -O3 -quiet pr42196-2.c
[...]
#0  fancy_abort (file=0xb2e818 "../../gcc-svn/trunk/gcc/tree-vect-stmts.c", 
    line=1989, function=0xb2f840 "vectorizable_operation")
    at ../../gcc-svn/trunk/gcc/diagnostic.c:810
#1  0x00000000008520c1 in vectorizable_operation (stmt=0x7ffff20e62d0, 
    gsi=0x0, vec_stmt=0x0, slp_node=0x10a3530)
    at ../../gcc-svn/trunk/gcc/tree-vect-stmts.c:1989
#2  0x0000000000855b78 in vect_analyze_stmt (stmt=0x7ffff20e62d0, 
    need_to_vectorize=0x7fffffffddaf "\001\320\350\005\001", node=0x10a3530)
    at ../../gcc-svn/trunk/gcc/tree-vect-stmts.c:4063
#3  0x0000000000868b43 in vect_slp_analyze_node_operations (
    bb_vinfo=<value optimized out>, node=0x10a3530)
    at ../../gcc-svn/trunk/gcc/tree-vect-slp.c:1404
#4  0x0000000000868abf in vect_slp_analyze_node_operations (
    bb_vinfo=0x105e8d0, node=0x10a34f0)
    at ../../gcc-svn/trunk/gcc/tree-vect-slp.c:1394
#5  0x000000000086dd23 in vect_slp_analyze_operations (
    bb=<value optimized out>) at ../../gcc-svn/trunk/gcc/tree-vect-slp.c:1424
#6  vect_slp_analyze_bb (bb=<value optimized out>)
    at ../../gcc-svn/trunk/gcc/tree-vect-slp.c:1564
#7  0x000000000086e1eb in execute_vect_slp ()
    at ../../gcc-svn/trunk/gcc/tree-vectorizer.c:276
#8  0x000000000068ed79 in execute_one_pass (pass=0xe90940)
    at ../../gcc-svn/trunk/gcc/passes.c:1590

Confirmed via ia64 cross.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-02 10:44:22
               date|                            |


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


  parent reply	other threads:[~2010-05-02 10:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 19:19 [Bug middle-end/43901] New: " hjl dot tools at gmail dot com
2010-04-27  5:53 ` [Bug middle-end/43901] " irar at il dot ibm dot com
2010-04-27  9:36 ` rguenth at gcc dot gnu dot org
2010-04-27 13:07 ` hjl dot tools at gmail dot com
2010-04-27 13:11 ` rguenth at gcc dot gnu dot org
2010-05-02  5:51 ` irar at il dot ibm dot com
2010-05-02 10:44 ` ubizjak at gmail dot com [this message]
2010-05-02 10:46 ` ubizjak at gmail dot com
2010-05-02 10:50 ` ubizjak at gmail dot com
2010-05-02 11:02 ` ubizjak at gmail dot com
2010-05-02 11:08 ` irar at il dot ibm dot com
2010-05-02 12:12 ` irar at il dot ibm dot com
2010-05-03 11:17 ` rguenther at suse dot de
2010-05-03 11:17 ` rguenth at gcc dot gnu dot org
2010-05-03 12:31 ` irar at il dot ibm dot com
2010-05-03 12:35 ` rguenther at suse dot de
2010-05-05  9:02 ` irar at il dot ibm dot com
2010-05-06  6:43 ` irar at gcc dot gnu dot org
2010-05-10  8:18 ` 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=20100502104422.2198.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).