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

Reply via email to