[Bug c++/58629] New: Do not implicit move instance for throw operator

2013-10-05 Thread dmitriy-hshg at mail dot ru
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dmitriy-hshg at mail dot ru Created attachment 30959 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30959action=edit Example It is good idea to use move semantics for throw operator: std::runtime_error error

[Bug c++/57533] When throwing local variable, it's being move-constructed even if not going out of scope.

2013-10-05 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57533 Dmitry dmitriy-hshg at mail dot ru changed: What|Removed |Added CC||dmitriy-hshg at mail

[Bug c++/58629] Do not implicit move instance for throw operator

2013-10-05 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58629 Dmitry dmitriy-hshg at mail dot ru changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58308] Segmentation fault: internal compiler error: in make_decl_rtl, at varasm.c:1147

2013-09-03 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58308 --- Comment #1 from Dmitry dmitriy-hshg at mail dot ru --- c++11 mode is used

[Bug c++/58308] New: Segmentation fault: internal compiler error: in make_decl_rtl, at varasm.c:1147

2013-09-03 Thread dmitriy-hshg at mail dot ru
: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dmitriy-hshg at mail dot ru Next code causes GCC 4.7.3 to fail, it should report problem. int main() { int x = 666; struct A { int *p = x; } a; } Thank

[Bug libstdc++/54289] New: setjmp isn't included into std namespace

2012-08-16 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54289 Bug #: 54289 Summary: setjmp isn't included into std namespace Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/54289] setjmp isn't included into std namespace

2012-08-16 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54289 --- Comment #4 from Dmitry dmitriy-hshg at mail dot ru 2012-08-16 19:43:15 UTC --- Sorry, but I think standard declares that all function should be in std.

[Bug libstdc++/54289] setjmp isn't included into std namespace

2012-08-16 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54289 --- Comment #6 from Dmitry dmitriy-hshg at mail dot ru 2012-08-16 19:49:27 UTC --- I think standard of C std libs declares setjmp as a function. So, it should be function. Some code: __BEGIN_NAMESPACE_STD typedef struct __jmp_buf_tag jmp_buf[1

[Bug libstdc++/54289] setjmp isn't included into std namespace

2012-08-16 Thread dmitriy-hshg at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54289 --- Comment #9 from Dmitry dmitriy-hshg at mail dot ru 2012-08-16 19:55:57 UTC --- C standard: The header setjmp.h defines the macro setjmp, and declares one function and one type, for bypassing the normal function call and return discipline