This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lno] Two vectorizer ICEs


Dorit Naishlos <DORIT@il.ibm.com> writes:

> > I can still reproduce it with 3.5-tree-ssa-lno 20040224.
> 
> Looks like it's a target specific problem then.  Is the vectorizer
> able to vectorize the loop at all? it shouldn't be able to handle
> structs, so I wouldn't expect it to change the code at all.
> Therefore I assume that the ICE happens during vectorization; Do you
> want to try to provide some more details, since I haven't been able
> to reproduce it?

Here's a backtrace. Unfortunately I don't have time currently to look
into this in detail myself.

#0  0x0000020000131388 in __divlu () from /lib/libc.so.6.1
#1  0x000000012036f2a8 in get_vectype_for_scalar_type (
    scalar_type=0xfffffffffffffffe) at ../../gcc/tree-vectorizer.c:597
#2  0x00000001203700a0 in vect_analyze_data_ref_access (dr=Variable "dr" is not available.)
    at ../../gcc/tree-vectorizer.c:2201
#3  0x00000001203702b0 in vect_analyze_data_ref_accesses (loop_vinfo=Variable "loop_vinfo" is not available.)
    at ../../gcc/tree-vectorizer.c:2255
#4  0x0000000120374c88 in vect_analyze_loop (loop=Variable "loop" is not available.)
    at ../../gcc/tree-vectorizer.c:2876
#5  0x0000000120376298 in vectorize_loops (loops=0xfffffffffffffffe, ev_info=Variable "ev_info" is not available.)
    at ../../gcc/tree-vectorizer.c:2938
#6  0x0000000120363d20 in scev_vectorize ()
    at ../../gcc/tree-scalar-evolution.c:4281
#7  0x00000001200986ec in execute_pass_list (pass=0x1204d0928)
    at ../../gcc/tree-optimize.c:414
#8  0x0000000120098764 in execute_pass_list (pass=0x1204d0a48)
    at ../../gcc/tree-optimize.c:444
#9  0x0000000120098764 in execute_pass_list (pass=0x1204cf490)
    at ../../gcc/tree-optimize.c:444
#10 0x0000000120098b6c in tree_rest_of_compilation (fndecl=0x200002fec40,
    nested_p=false) at ../../gcc/tree-optimize.c:534
#11 0x00000001200205e8 in c_expand_body_1 (fndecl=0x200002fec40, nested_p=0)
    at ../../gcc/c-decl.c:6204
#12 0x0000000120020888 in c_expand_body (fndecl=0xfffffffffffffffe)
    at ../../gcc/c-decl.c:6236
#13 0x000000012035fe84 in cgraph_expand_function (node=0xfffffffffffffffe)
    at ../../gcc/cgraphunit.c:782
#14 0x0000000120360024 in cgraph_assemble_pending_functions ()
    at ../../gcc/cgraphunit.c:287
#15 0x0000000120360748 in cgraph_finalize_function (decl=0x200002fec40,
    nested=false) at ../../gcc/cgraphunit.c:368
#16 0x0000000120020a60 in c_finalize (fndecl=0x200002fec40)
    at ../../gcc/c-decl.c:6034
#17 0x0000000120020f30 in finish_function () at ../../gcc/c-decl.c:6148
#18 0x00000001200046c8 in yyparse () at c-parse.y:386
#19 0x000000012000bce8 in c_parse_file () at c-parse.y:3029
#20 0x0000000120057bf0 in c_common_parse_file (set_yydebug=Variable "set_yydebug" is not available.)
    at ../../gcc/c-opts.c:1234
#21 0x000000012030e53c in toplev_main (argc=Variable "argc" is not available.) at ../../gcc/toplev.c:1871
#22 0x00000001200735f8 in main (argc=Variable "argc" is not available.) at ../../gcc/main.c:35
(gdb) up
#1  0x000000012036f2a8 in get_vectype_for_scalar_type (
    scalar_type=0xfffffffffffffffe) at ../../gcc/tree-vectorizer.c:597
597       nunits = UNITS_PER_SIMD_WORD / nbytes;
(gdb) info locals
inner_mode = BLKmode
vec_mode = V2QImode
nunits = Variable "nunits" is not available.


-- 
	Falk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]