[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812247: ICE: vect_get_vec_def_for_operand, at tree-vect-stmts.c:1379 with -O



Package: gcc-6
Version: 6-20160117-1
Forwarded: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69328

With dpkg-buildflags set to -O3

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
..
> Package: samtools-legacy
> Version: 0.1.19-2
...
> gcc -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wall -fPIC -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. bcfutils.c -o bcfutils.o
> bcfutils.c: In function 'bcf_fit_alt':
> bcfutils.c:119:9: warning: variable 'ipl' set but not used [-Wunused-but-set-variable]
>      int ipl=-1, igt=-1;
>          ^~~
> 
> bcfutils.c: In function 'bcf_fix_gt':
> bcfutils.c:256:2: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
>   b->fmt[0] = 'G'; b->fmt[1] = 'T'; b->fmt[2] = ':';
>   ^
> 
> bcfutils.c:254:5: note: ...this 'else' clause, but it is not
>      else
>      ^~~~
> 
> bcfutils.c: In function 'bcf_anno_max':
> bcfutils.c:318:5: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1379
>  int bcf_anno_max(bcf1_t *b)
>      ^~~~~~~~~~~~
> 
> 0xb4c274 vect_get_vec_def_for_operand(tree_node*, gimple*, tree_node*)
> 	../../src/gcc/tree-vect-stmts.c:1379
> 0xb4f594 vectorizable_condition(gimple*, gimple_stmt_iterator*, gimple**, tree_node*, int, _slp_tree*)
> 	../../src/gcc/tree-vect-stmts.c:7613
> 0xb5f156 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*, _slp_instance*)
> 	../../src/gcc/tree-vect-stmts.c:8228
> 0xb62c82 vect_transform_loop(_loop_vec_info*)
> 	../../src/gcc/tree-vect-loop.c:6872
> 0xb7da6d vectorize_loops()
> 	../../src/gcc/tree-vectorizer.c:554
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.


Reply to: