https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
Marek Polacek changed:
What|Removed |Added
CC||euloanty at live dot com
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #8 from Marek Polacek
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
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
Hannes Hauswedell changed:
What|Removed |Added
CC||h2+bugs at fsfe dot org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
Marek Polacek changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
Marek Polacek changed:
What|Removed |Added
Target Milestone|--- |10.0
Summary|Regression in co
12 matches
Mail list logo