[Bug c++/40293] reference can be initialized by itself

2009-05-29 Thread pentek dot imre at gmail dot com
--- Comment #1 from pentek dot imre at gmail dot com 2009-05-29 13:00 --- The same applies to this code: #include using namespace std; int main() { int &x=x; x=0; cerr<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40293

[Bug c++/40293] New: reference can be initialized by itself

2009-05-29 Thread pentek dot imre at gmail dot com
At this code I was able to initialize the reference by itself, so actually it became an uninitialized reference: #include using namespace std; class t { public: t():x(x){x=0;cerr

[Bug c++/37100] New: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_pair.h:99: error 404

2008-08-12 Thread pentek dot imre at gmail dot com
v4/bits/stl_pair.h:99: error 404 Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pentek dot imre at gmail dot com GCC bu

[Bug c++/36866] lack of warning when initializing a class member from an uninitialized variable

2008-07-17 Thread pentek dot imre at gmail dot com
--- Comment #1 from pentek dot imre at gmail dot com 2008-07-17 19:16 --- Created an attachment (id=15925) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15925&action=view) any.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36866

[Bug c++/36866] New: lack of warning when initializing a class member from an uninitialized variable

2008-07-17 Thread pentek dot imre at gmail dot com
nt: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pentek dot imre at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36866