This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/70685] New: [6/7 Regression] ICE: Segmentation fault


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]