This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70685] New: [6/7 Regression] ICE: Segmentation fault
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Apr 2016 18:27:05 +0000
- Subject: [Bug c++/70685] New: [6/7 Regression] ICE: Segmentation fault
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70685
Bug ID: 70685
Summary: [6/7 Regression] ICE: Segmentation fault
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
CC: jason at gcc dot gnu.org
Target Milestone: ---
Created attachment 38284
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38284&action=edit
unreduced testcase
A very recent regression. Was fine a yesterday.
markus@x4 /tmp % clang++ -std=c++14 -c sum.ii
markus@x4 /tmp % g++ -c sum.ii
In file included from ../libs/hana/test/range/sum.cpp:9:0:
../boost/hana/range.hpp: In instantiation of âstatic constexpr auto
boost::hana::sum_impl<boost::hana::range_tag>::apply(const
boost::hana::range<T, from, to>&) [with <template-parameter-1-1> =
boost::hana::integral_constant_tag<int>; T = int; T from = -3; T to = -1]â:
../boost/hana/sum.hpp:45:42: required from âconstexpr decltype(auto)
boost::hana::sum_t<M>::operator()(Xs&&) const [with Xs =
boost::hana::range<int, -3, -1>; M = boost::hana::integral_constant_tag<int>]â
../libs/hana/test/range/sum.cpp:23:102: required from here
../boost/hana/range.hpp:187:61: in constexpr expansion of
âboost::hana::sum_impl<boost::hana::range_tag>::sum_helper<int>(-3, (-1 - 1))â
../boost/hana/range.hpp:182:35: in constexpr expansion of
âboost::hana::sum_impl<boost::hana::range_tag>::sum_helper<int>((- n), (- m))â
../boost/hana/range.hpp:187:20: internal compiler error: Segmentation fault