Bug 38830

Summary: internal compiler error: in dependent_type_p, at cp/pt.c:25610
Product: Sisyphus Reporter: Vitaly Lipatov <lav>
Component: gcc9-c++Assignee: Gleb F-Malinovskiy <glebfm>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: glebfm, mike
Version: unstable   
Hardware: x86_64   
OS: Linux   
URL: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95678
Attachments:
Description Flags
range-v3 0.11.0 ftbfs with gcc10-10.2.1-alt2.x86_64 none

Description Vitaly Lipatov 2020-08-20 20:16:43 MSK
[ 15%] Building CXX object test/algorithm/CMakeFiles/alg.is_sorted_until.dir/is_sorted_until.cpp.o
/tmp/.private/lav/RPM/BUILD/range-v3-0.11.0/test/algorithm/is_sorted_until.cpp: In instantiation of ‘static decltype (ranges::{anonymous}::is_sorted_until(as_lvalue(ranges::{anonymous}::make_subrange(range_call<Iter>::begin_t{It}, range_call<Iter>::sentinel_t{e})), (forward<Args>)(range_call::_impl::args)...)) range_call<Iter>::_impl(B&&, E&&, Args&& ...) [with B = int (&)[4]; E = int*; Args = {std::greater<int>}; Iter = const int*]’:
/tmp/.private/lav/RPM/BUILD/range-v3-0.11.0/test/algorithm/is_sorted_until.cpp:452:1:   required from here
/tmp/.private/lav/RPM/BUILD/range-v3-0.11.0/test/algorithm/is_sorted_until.cpp:63:17: internal compiler error: in dependent_type_p, at cp/pt.c:25610
   63 |     static auto _impl(B && It, E && e, Args &&... args)
      |                 ^~~~~
DWARF underflow in .debug_info at 1361410
0x7f8a9bd0fe1a __libc_start_main
	../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://bugzilla.altlinux.org> for instructions.

Провалившееся задание:
http://git.altlinux.org/tasks/256522/build/100/x86_64/log

gcc9-c++-9.3.1-alt1

При это всё нормально с
gcc8-c++-8.4.1-alt1
Comment 1 Dmitry V. Levin 2020-08-20 20:25:29 MSK
A fix is available, see https://bugs.debian.org/959613
Comment 2 Michael Shigorin 2021-01-15 19:00:25 MSK
Created attachment 9130 [details]
range-v3 0.11.0 ftbfs with gcc10-10.2.1-alt2.x86_64

На gcc10 ICE не наблюдаю, сборка range-v3 0.11.0 разваливается вот так.