This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79118] New: internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: "s_gccbugzilla at nedprod dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2017 16:58:42 +0000
- Subject: [Bug c++/79118] New: internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118
Bug ID: 79118
Summary: internal compiler error: in cxx_eval_bit_field_ref, at
cp/constexpr.c:2258
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: s_gccbugzilla at nedprod dot com
Target Milestone: ---
Created attachment 40531
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40531&action=edit
preprocessed source
ned@KATE:/mnt/g/boostish/outcome/build_posix$ g++ --version
g++ (Ubuntu 6.2.0-3ubuntu11~14.04) 6.2.0 20160901
ned@KATE:/mnt/g/boostish/outcome/build_posix$ /usr/bin/c++
-DBOOST_OUTCOME_ENABLE_ADVANCED=1 -isystem
/mnt/g/boostish/.use_boostish_siblings -fPIE -fstack-protector-strong -Wall
-Wextra -std=gnu++14 -o
CMakeFiles/outcome_hl--unittests.dir/test/unittests.cpp.o -c
/mnt/g/boostish/outcome/test/unittests.cpp --save-temps
/mnt/g/boostish/outcome/test/unittests.cpp: In function ‘void
boostlite_auto_test_suite0::boostlite_auto_test_case5()’:
/mnt/g/boostish/outcome/test/unittests.cpp:497:25: in constexpr expansion of
‘boost::outcome::_1_0_std_std_f724e3c2::basic_monad<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>(false).boost::outcome::_1_0_std_std_f724e3c2::basic_monad<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>::<anonymous>.boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy_base<monad_storage,
value_type, error_type,
exception_type>::get<boost::outcome::_1_0_std_std_f724e3c2::detail::basic_monad_storage<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>, bool, void, void>()’
/mnt/g/boostish/outcome/test/../include/boost/outcome/v1.0/detail/monad_policy.ipp:137:21:
in constexpr expansion of
boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy_base<monad_storage,
value_type, error_type,
exception_type>::_pre_get_value<boost::outcome::_1_0_std_std_f724e3c2::detail::basic_monad_storage<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>, bool, void, void>()’
/mnt/g/boostish/outcome/test/../include/boost/outcome/v1.0/detail/monad_policy.ipp:66:34:
in constexpr expansion of ‘((const
boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy_base<boost::outcome::_1_0_std_std_f724e3c2::detail::basic_monad_storage<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>, bool, void,
void>*)this)->boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy_base<boost::outcome::_1_0_std_std_f724e3c2::detail::basic_monad_storage<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>, bool, void,
void>::<anonymous>.boost::outcome::_1_0_std_std_f724e3c2::detail::basic_monad_storage<_implementation_policy>::is_ready<boost::outcome::_1_0_std_std_f724e3c2::detail::option_policy<bool>
>()’
/mnt/g/boostish/outcome/test/unittests.cpp:497:31: internal compiler error: in
cxx_eval_bit_field_ref, at cp/constexpr.c:2258
BOOST_CHECK(option<bool>(false).get() == false);
^~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
- Follow-Ups:
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: rguenth at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: mpolacek at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: s_gccbugzilla at nedprod dot com
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: nathan at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: nathan at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: nathan at gcc dot gnu.org
- [Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258
- From: nathan at gcc dot gnu.org