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.
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
: 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
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
++
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