Bug#812060: ICE: in assign_temp, at function.c:961
Package: gcc-6
Version: 6-20160117-1
Forwarded: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69241
internal compiler error: in assign_temp, at function.c:961
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> Package: opencv
> Version: 2.4.9.1+dfsg-1.2
> [ 12%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_convertTo.cpp.o
> cd /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/obj-x86_64-linux-gnu/modules/core && /usr/bin/c++ -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/obj-x86_64-linux-gnu -isystem /usr/include/eigen3 -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/core/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/core/src -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/obj-x86_64-linux-gnu/modules/core -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/dynamicuda/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/ts/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/highgui/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/flann/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/imgproc/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/features2d/include -isystem /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/core/perf -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -W -Wall -Werror=return-type
> -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -ffunction-sections -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -include "/<<BUILDDIR>>/opencv-2.4.9.1+dfsg/obj-x86_64-linux-gnu/modules/core/perf_precomp.hpp" -Winvalid-pch -o CMakeFiles/opencv_perf_core.dir/perf/perf_convertTo.cpp.o -c /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/core/perf/perf_convertTo.cpp
> In file included from /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/ts/include/opencv2/ts/ts_gtest.h:1702:0,
> from /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/modules/ts/include/opencv2/ts/ts.hpp:31,
> from /<<BUILDDIR>>/opencv-2.4.9.1+dfsg/obj-x86_64-linux-gnu/modules/core/perf_precomp.hpp:12:
> /usr/include/c++/6/tuple: In member function 'void testing::internal::ParameterizedTestCaseInfo<TestCase>::RegisterTests() [with TestCase = Size_DepthSrc_DepthDst_Channels_alpha_convertTo]':
> /usr/include/c++/6/tuple:215:17: internal compiler error: in assign_temp, at function.c:961
> constexpr _Tuple_impl(const _Tuple_impl&) = default;
> ^~~~~~~~~~~
>
> 0x8a9585 assign_temp(tree_node*, int, int)
> ../../src/gcc/function.c:961
> 0x862a5d expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool)
> ../../src/gcc/expr.c:10399
> 0x86ddbe expand_normal
> ../../src/gcc/expr.h:262
> 0x86ddbe store_field
> ../../src/gcc/expr.c:6679
> 0x86b52e expand_assignment(tree_node*, tree_node*, bool)
> ../../src/gcc/expr.c:5021
> 0x78ae7e expand_gimple_stmt_1
> ../../src/gcc/cfgexpand.c:3606
> 0x78ae7e expand_gimple_stmt
> ../../src/gcc/cfgexpand.c:3702
> 0x78c97c expand_gimple_basic_block
> ../../src/gcc/cfgexpand.c:5708
> 0x7918a6 execute
> ../../src/gcc/cfgexpand.c:6323
> 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.
> Preprocessed source stored into /tmp/cclJvqHs.out file, please attach this to your bugreport.
Reply to: