aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Debug.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-02-20 21:11:20 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-02-20 21:11:20 +0000
commitc6a70063cb93d536160c3c48ecea003ebef0f52a (patch)
tree73872e7592d8a0ccdc05baf459b01a8e1cd5a434 /llvm/lib/Support/Debug.cpp
parent7932c232bd2c0170409392ffe61222ab3605c923 (diff)
downloadllvm-c6a70063cb93d536160c3c48ecea003ebef0f52a.zip
llvm-c6a70063cb93d536160c3c48ecea003ebef0f52a.tar.gz
llvm-c6a70063cb93d536160c3c48ecea003ebef0f52a.tar.bz2
Fix invalid TestBitfields case (thanks Filipe!), and xfail one case due to GCC compiler bug.
Turns out unnamed bit fields should not be accessed ever in C (C99 section 4.7.8) or C++ (C++11 section 9.6). Unrelated to the above, this commit marks TestBitfields as expected-to-fail with GCC as 4.7 has problems with padding... the size of the struct with a uint32_t member is reported as 12 when GCC is used. Clang emits correct code. Parts of this patch prepared by Filipe Cabecinhas! llvm-svn: 175666
Diffstat (limited to 'llvm/lib/Support/Debug.cpp')
0 files changed, 0 insertions, 0 deletions