[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-24 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #10 from Nathan Sidwell --- Author: nathan Date: Tue Jan 24 19:25:32 2017 New Revision: 244881 URL: https://gcc.gnu.org/viewcvs?rev=244881=gcc=rev Log: PR c++/79118 - anon-members and constexpr * constexpr.c

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #9 from Nathan Sidwell --- Created attachment 40557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40557=edit template-ectomied

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-19 Thread s_gccbugzilla at nedprod dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #8 from Niall Douglas --- (In reply to Marek Polacek from comment #7) > I'm giving up; there's just too much C++. Thanks for looking into it. You should know that the above code works without issue on clang and VS2017 (with C++ 14

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|mpolacek at gcc

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #6 from Marek Polacek --- So, cxx_eval_bit_field_ref is trying to evaluate BIT_FIELD_REF <*(struct basic_monad_storage *) this, 8, 8> here. It first evaluates the struct expression which yields

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #4 from Marek Polacek --- Somewhat reduced: namespace std { template struct integral_constant { static constexpr _Tp value = __v; }; template struct conditional; template struct __and_;

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #3 from Marek Polacek --- The original preprocessed file started ICEing with -Wall -std=gnu++14 with r219268: In file included from /mnt/g/boostish/outcome/test/../include/boost/outcome/v1.0/monad.hpp:98:0, from

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 --- Comment #2 from Marek Polacek --- Ah, g++ 6 ICEs with -Wall.

[Bug c++/79118] [7 Regression] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2258

2017-01-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79118 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|