[Bug tree-optimization/83440] New: Internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:8692
geir at cray dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 15 20:59:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83440
Bug ID: 83440
Summary: Internal compiler error: in vect_transform_stmt, at
tree-vect-stmts.c:8692
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: geir at cray dot com
Target Milestone: ---
At -O3 optimization (and 'march=corei7-avx') getting an ICE with the attached
test case. Works OK with -O2.
$ g++ --version
g++ (GCC) 7.2.0 20170814 (Cray Inc.)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ -march=corei7-avx -c -std=c++17 -O2 thr.i
$ g++ -march=corei7-avx -c -std=c++17 -O3 thr.i
In file included from
/opt/gcc/7.2.0/snos/include/g++/bits/shared_ptr_atomic.h:33:0,
from /opt/gcc/7.2.0/snos/include/g++/memory:82,
from /opt/gcc/7.2.0/snos/include/g++/functional:4375,
from
/opt/gcc/7.2.0/snos/lib/gcc/x86_64-suse-linux/7.2.0/include-fixed/limits.h:746,
from /opt/gcc/7.2.0/snos/include/g++/cstdlib:2310,
from
/opt/gcc/7.2.0/snos/include/g++/bits/stream_iterator.h:3060,
from /opt/gcc/7.2.0/snos/include/g++/istream:993,
from /opt/gcc/7.2.0/snos/include/g++/bits/basic_ios.h:519,
from
/opt/gcc/7.2.0/snos/include/g++/x86_64-suse-linux/bits/ctype_base.h:73,
from /opt/gcc/7.2.0/snos/include/g++/streambuf:850,
from /opt/gcc/7.2.0/snos/include/g++/bits/ios_base.h:1079,
from
/opt/gcc/7.2.0/snos/include/g++/bits/locale_classes.h:857,
from
/opt/gcc/7.2.0/snos/include/g++/ext/string_conversions.h:166,
from /opt/gcc/7.2.0/snos/include/g++/bits/basic_string.h:6159,
from /opt/gcc/7.2.0/snos/include/g++/string:52,
from /opt/gcc/7.2.0/snos/include/g++/bits/locale_classes.h:40,
from /opt/gcc/7.2.0/snos/include/g++/bits/ios_base.h:41,
from /opt/gcc/7.2.0/snos/include/g++/ios:42,
from /opt/gcc/7.2.0/snos/include/g++/istream:38,
from
/opt/gcc/7.2.0/snos/lib/gcc/x86_64-suse-linux/7.2.0/include/stddef.h:943,
from /opt/gcc/7.2.0/snos/include/g++/cstddef:1218,
from /opt/gcc/7.2.0/snos/include/g++/vector:69,
from thr.cpp:1:
/opt/gcc/7.2.0/snos/include/g++/backward/auto_ptr.h: In function 'void
thrust::system::detail::sequential::radix_sort_detail::radix_sort(thrust::system::detail::sequential::execution_policy<DerivedPolicy>&,
RandomAccessIterator1, RandomAccessIterator2, RandomAccessIterator3,
RandomAccessIterator4, size_t) [with unsigned int RadixBits = 8; bool HasValues
= true; DerivedPolicy = thrust::system::cpp::detail::par_t;
RandomAccessIterator1 = thrust::detail::normal_iterator<thrust::device_ptr<int>
>; RandomAccessIterator2 = thrust::detail::normal_iterator<thrust::pointer<int,
thrust::system::cpp::detail::par_t, thrust::use_default, thrust::use_default>
>; RandomAccessIterator3 =
thrust::zip_iterator<thrust::tuple<thrust::detail::normal_iterator<thrust::device_ptr<thrust::tuple<int,
int> > >, thrust::detail::normal_iterator<thrust::device_ptr<thrust::tuple<int,
int, int> > > > >; RandomAccessIterator4 =
thrust::detail::normal_iterator<thrust::pointer<thrust::tuple<thrust::tuple<int,
int>, thrust::tuple<int, int, int> >, thrust::system::cpp::detail::par_t,
thrust::use_default, thrust::use_default> >]':
/opt/gcc/7.2.0/snos/include/g++/backward/auto_ptr.h:12660:6: internal compiler
error: in vect_transform_stmt, at tree-vect-stmts.c:8692
0xd01186 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
../../cray-gcc-7.2.0-201709081833.7aac99f36ce61/gcc/tree-vect-stmts.c:8692
0xd1a6ca vect_schedule_slp_instance
../../cray-gcc-7.2.0-201709081833.7aac99f36ce61/gcc/tree-vect-slp.c:3712
0xd1a44d vect_schedule_slp_instance
../../cray-gcc-7.2.0-201709081833.7aac99f36ce61/gcc/tree-vect-slp.c:3590
0xd1d845 vect_schedule_slp(vec_info*)
../../cray-gcc-7.2.0-201709081833.7aac99f36ce61/gcc/tree-vect-slp.c:3783
0xd05333 vect_transform_loop(_loop_vec_info*)
../../cray-gcc-7.2.0-201709081833.7aac99f36ce61/gcc/tree-vect-loop.c:7054
0xd2179b vectorize_loops()
../../cray-gcc-7.2.0-201709081833.7aac99f36ce61/gcc/tree-vectorizer.c:687
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
$
More information about the Gcc-bugs
mailing list