re PR c++/44810 (FAIL: g++.dg/torture/pr36745.C)
PR c++/44810 * g++.dg/torture/pr36745.C: Avoid undefined behavior. From-SVN: r162189
This commit is contained in:
parent
535335bffc
commit
973f026a60
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2010-07-14 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/44810
|
||||
* g++.dg/torture/pr36745.C: Avoid undefined behavior.
|
||||
|
||||
Implement C++0x unrestricted unions (N2544)
|
||||
* g++.dg/cpp0x/union1.C: New.
|
||||
* g++.dg/cpp0x/union2.C: New.
|
||||
|
|
|
@ -52,6 +52,7 @@ public: inline QMap ():d (&QMapData::shared_null)
|
|||
};
|
||||
struct QVectorData
|
||||
{
|
||||
QBasicAtomicInt ref;
|
||||
static QVectorData shared_null;
|
||||
};
|
||||
template < typename T > struct QVectorTypedData
|
||||
|
|
Loading…
Add table
Reference in a new issue