OSDN Git Service

[ADT] Just give up on GCC, I can't fix this.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 18 Jan 2018 16:23:40 +0000 (16:23 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 18 Jan 2018 16:23:40 +0000 (16:23 +0000)
commit933d1a7b93303c063ebf5e65e3aa0aae351ec8ee
treefffdf82961ad1b7ccba42ac118879b436dd7c1ae
parent884543269e42c41bd1a8785068791b122dfa6e11
[ADT] Just give up on GCC, I can't fix this.

While the memmove workaround fixed it for GCC 6.3. GCC 4.8 and GCC 7.1
are still broken. I have no clue what's going on, just blacklist GCC for
now.

Needless to say this code is ubsan, asan and msan-clean.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322862 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Optional.h
unittests/ADT/OptionalTest.cpp