[Bug c++/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2016-12-02 Thread dyp-cpp at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #1 from dyp-cpp at gmx dot net --- Same issue if the LocalException is a non-local class with internal linkage.

[Bug c++/78651] New: Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2016-12-02 Thread dyp-cpp at gmx dot net
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dyp-cpp at gmx dot net Target Milestone: --- Consider the following program: #include #ifndef EXCEPTION_TYPE # define EXCEPTION_TYPE LocalException

[Bug libstdc++/72847] New: vector copy-assignment basic exception safety

2016-08-08 Thread dyp-cpp at gmx dot net
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dyp-cpp at gmx dot net Target Milestone: --- vector's copy-assignment operator uses a very simple algorithm if resizing is required: first, free the current allocation, then create a new allocation. The pointer

[Bug c++/65816] New: Constructor delegation does not perform zero-initialization

2015-04-20 Thread dyp-cpp at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dyp-cpp at gmx dot net In the following program, I expect the object `t` to be zero-initialized via constructor delegation. Clang++ does this, but g++ 6.0 2015-04-20 does not

[Bug c++/61504] New: Move elision after cast to rvalue reference

2014-06-13 Thread dyp-cpp at gmx dot net
++ Assignee: unassigned at gcc dot gnu.org Reporter: dyp-cpp at gmx dot net Created attachment 32935 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32935&action=edit Test case as in description. Move elision is applied even though the object has been bound to a re