https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63951
Bug ID: 63951 Summary: [5 Regression] bootstrap failure (ICE in adjust_temp_type) on arm-linux-gnueabi{,hf} building the libstdc++ pch file Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org seen with both arm-linux-gnueabi and arm-linux-gnueabihf make[7]: Entering directory '/home/doko/gcc/gcc-snapshot-20141118/build/arm-linux-gnue abihf/libstdc++-v3/include' mkdir -p ./arm-linux-gnueabihf/bits/stdc++.h.gch /home/doko/gcc/gcc-snapshot-20141118/build/./gcc/xgcc -shared-libgcc -B/home/doko/gcc/ gcc-snapshot-20141118/build/./gcc -nostdinc++ -L/home/doko/gcc/gcc-snapshot-20141118/b uild/arm-linux-gnueabihf/libstdc++-v3/src -L/home/doko/gcc/gcc-snapshot-20141118/build /arm-linux-gnueabihf/libstdc++-v3/src/.libs -L/home/doko/gcc/gcc-snapshot-20141118/bui ld/arm-linux-gnueabihf/libstdc++-v3/libsupc++/.libs -B/usr/lib/gcc-snapshot/arm-linux- gnueabihf/bin/ -B/usr/lib/gcc-snapshot/arm-linux-gnueabihf/lib/ -isystem /usr/lib/gcc- snapshot/arm-linux-gnueabihf/include -isystem /usr/lib/gcc-snapshot/arm-linux-gnueabih f/sys-include -x c++-header -nostdinc++ -g -O2 -D_GNU_SOURCE -I/home/doko/gcc/gcc- snapshot-20141118/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf - I/home/doko/gcc/gcc-snapshot-20141118/build/arm-linux-gnueabihf/libstdc++-v3/include - I/home/doko/gcc/gcc-snapshot-20141118/src/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x / home/doko/gcc/gcc-snapshot-20141118/src/libstdc++-v3/include/precompiled/stdc++.h \ -o arm-linux-gnueabihf/bits/stdc++.h.gch/O2ggnu++0x.gch In file included from /home/doko/gcc/gcc-snapshot-20141118/src/libstdc++-v3/include/pr ecompiled/stdc++.h:100:0: /home/doko/gcc/gcc-snapshot-20141118/build/arm-linux-gnueabihf/libstdc++-v3/include/ch rono:723:49: in constexpr expansion of 'std::chrono::duration<_Rep, _Period>::min<lo ng long int, std::ratio<1ll, 1000000000ll> >()' /home/doko/gcc/gcc-snapshot-20141118/build/arm-linux-gnueabihf/libstdc++-v3/include/ch rono:725:66: in constexpr expansion of 'std::chrono::duration<long long int, std::ra tio<1ll, 1000000000ll> >((* & std::chrono::duration_values<_Rep>::min<long long int>() ))' /home/doko/gcc/gcc-snapshot-20141118/build/arm-linux-gnueabihf/libstdc++-v3/include/ch rono:725:66: internal compiler error: in adjust_temp_type, at cp/constexpr.c:1020 "a clock's minimum duration cannot be less than its epoch"); ^ 0x46620b adjust_temp_type ../../src/gcc/cp/constexpr.c:1020 0x4675c9 cxx_eval_call_expression ../../src/gcc/cp/constexpr.c:1377 0x46bee9 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2835 0x46c399 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2895 0x46b05b cxx_eval_store_expression ../../src/gcc/cp/constexpr.c:2529 0x46c3f5 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2914 0x46c479 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2926 0x46c4c1 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2940 0x46729d cxx_eval_call_expression ../../src/gcc/cp/constexpr.c:1329 0x46bee9 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2835 0x46c399 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2895 0x46c523 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2958 0x46ca47 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:3147 0x46ca47 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:3147 0x46646b cxx_bind_parameters_in_call ../../src/gcc/cp/constexpr.c:1072 0x466dbd cxx_eval_call_expression ../../src/gcc/cp/constexpr.c:1235 0x46bee9 cxx_eval_constant_expression ../../src/gcc/cp/constexpr.c:2835 0x46d309 cxx_eval_outermost_constant_expr ../../src/gcc/cp/constexpr.c:3314 0x46d96f maybe_constant_value(tree_node*, tree_node*) ../../src/gcc/cp/constexpr.c:3427 0x3fb8f3 finish_static_assert(tree_node*, tree_node*, unsigned int, bool) ../../src/gcc/cp/semantics.c:7046 Please submit a full bug report, with preprocessed source if appropriate. armhf configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb