https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
Markus Trippelsdorf changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
--- Comment #7 from Marc Glisse ---
Reduced a bit more:
struct B {
B();
void m_fn2(int p1) {
if (p1 <= storage_)
throw;
}
int storage_;
};
void f() {
B span_;
int b = span_.storage_;
span_.m_fn2(b - 1);
}
The warning see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
--- Comment #6 from Rian Quinn ---
Correct me if I'm wrong, but it would appear that this is indeed an bug with
GCC (based on current activity). If that is the case, what would be your
recommendations on how to resolve this issue in the GSL. At t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
--- Comment #5 from Markus Trippelsdorf ---
markus@x4 tmp % cat string_span_tests.ii
class A {
public:
using index_type = int;
index_type m_fn1() { return size_; }
index_type size_;
};
struct B {
using element_type = int;
using index_ty
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
--- Comment #3 from Rian Quinn ---
Created attachment 39908
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39908&action=edit
ii and s file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
--- Comment #2 from Rian Quinn ---
The output:
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78130
Markus Trippelsdorf changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|