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

Reply via email to