[Bug c++/71010] New: error: 'begin' was not declared in this scope

2016-05-08 Thread theubik at mail dot ru
mponent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Target Milestone: --- For example: // https://godbolt.org/g/Zp5ABy #include class X { int m_x[5] = { 0, 1, 2, 3, 4 }; public: int* first() { return &m_x[0]; } int* last() {

[Bug c++/71010] error: 'begin' was not declared in this scope

2016-05-12 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71010 Ubikovich changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #3 from Ubikovich --- But

[Bug c++/81765] New: Internal compiler error: Segmentation fault with -O2 -fnon-call-exceptions

2017-08-08 Thread theubik at mail dot ru
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Target Milestone: --- // begin main.cpp struct A { virtual void do1() { } }; struct B { A* m_a; B() : m_a(nullptr) {} B(A* a) : m_a(a) {} ~B

[Bug c++/81765] Internal compiler error: Segmentation fault with -O2 -fnon-call-exceptions

2017-08-08 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81765 --- Comment #1 from Ubikovich --- How to avoid this bug?

[Bug c++/81765] Internal compiler error: Segmentation fault with -O2 -fnon-call-exceptions

2017-08-08 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81765 --- Comment #2 from Ubikovich --- (In reply to Ubikovich from comment #1) > How to avoid this bug? Compiling this code with optimization -O1 helps to avoid the problem.

[Bug c++/80469] New: Undefined symbol for abstract class impl with -fvisibility=hidden

2017-04-20 Thread theubik at mail dot ru
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Target Milestone: --- Created attachment 41231 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41231&action=edit example When building with gcc 5.4 t

[Bug c++/80469] Undefined symbol for abstract class impl with -fvisibility=hidden

2017-04-20 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80469 --- Comment #3 from Ubikovich --- >> You need to provide the definition of dothis() somewhere. There is the definition: // subimpl.cpp #include "subimpl.h" void A::dothis() {}

[Bug c++/80469] Undefined symbol for abstract class impl with -fvisibility=hidden

2017-04-20 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80469 --- Comment #5 from Ubikovich --- (In reply to Markus Trippelsdorf from comment #4) > (In reply to Ubikovich from comment #3) > > >> You need to provide the definition of dothis() somewhere. > > > > There is the definition: > > > > // subimpl.c

[Bug c++/80469] Undefined symbol for abstract class impl with -fvisibility=hidden

2017-04-23 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80469 Ubikovich changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #7 from Ubikovich --- OK

[Bug c++/64248] New: Error: declarator-id missing; using reserved word ‘__FUNCTION__’

2014-12-09 Thread theubik at mail dot ru
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Created attachment 34236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34236&action=edit gcc -v output class A { public: A(const char* str) {}; };

[Bug c++/64248] [5 Regression] Error: declarator-id missing; using reserved word ‘__FUNCTION__’

2014-12-09 Thread theubik at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64248 --- Comment #2 from theubik at mail dot ru --- (In reply to Markus Trippelsdorf from comment #1) > Probably more outfall from r217241. it's not a bug?

[Bug c++/66798] New: "internal compiler error: in timevar_start, at timevar.c:344" with using namespace

2015-07-07 Thread theubik at mail dot ru
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Target Milestone: --- // main.cpp namespace N { namespace { } } int main() { using namespace N; return 0; } >>g

[Bug c++/77364] New: -fnon-call-exceptions does not work

2016-08-24 Thread theubik at mail dot ru
++ Assignee: unassigned at gcc dot gnu.org Reporter: theubik at mail dot ru Target Milestone: --- Created attachment 39496 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39496&action=edit example1.cpp and example2.cpp > g++ -std=c++11 -fnon-call-exceptions example1.cpp