mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-19 19:04:11 +08:00
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
@ -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…
Reference in New Issue
Block a user