[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Tue Oct 29 20:34:43 2019 New Revision: 277591 URL: https://gcc.gnu.org/viewcvs?rev=277591&root=gcc&view=rev Log: PR c++/91548 - fix detecting modifying const objects for ARRAY

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What|Removed |Added CC||euloanty at live dot com --- Comment #9

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #8 from Marek Polacek

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #7 from Marek Polacek --- Thanks. Reduced (no templates, no lambda): constexpr int& impl(const int (&array)[10], int index) { return const_cast(array[index]); } struct A { constexpr int& operator[](int i) { return impl(elems, i

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-22 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #6 from Hannes Hauswedell --- To make the test only complain about the current issue, change line 20 in include/seqan3/std/span to ``` #if 0 ``` Regards, Hannes

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-22 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #5 from Hannes Hauswedell --- (In reply to Marek Polacek from comment #4) > (In reply to Hannes Hauswedell from comment #2) > > Any news on this issue? We are using this pattern in some rather central > > files in our library and the

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #4 from Marek Polacek --- (In reply to Hannes Hauswedell from comment #2) > Any news on this issue? We are using this pattern in some rather central > files in our library and the bug literally breaks 90% of our unit tests so > we can

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #3 from Marek Polacek --- Sorry about that. I've been working on new C++20 features in the dwindling stage 1 time, and kept kicking this can down the stage3 road. But hopefully I'll get to this after posting my aggregate paren init

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-21 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Hannes Hauswedell changed: What|Removed |Added CC||h2+bugs at fsfe dot org --- Comment

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-08-26 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What|Removed |Added Priority|P3 |P1

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-08-26 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What|Removed |Added Target Milestone|--- |10.0 Summary|Regression in co