diff options
author | Florian Hahn <flo@fhahn.com> | 2020-02-12 09:41:19 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-02-12 09:41:19 +0000 |
commit | fa74b31a3e9cd844c7ce2087978568e3f5ec8519 (patch) | |
tree | d38fd13729c37e3000bbc7cc1e12818790b27da9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 15488ff24b4ae205f979be7248b38655acd82f9c (diff) | |
download | llvm-fa74b31a3e9cd844c7ce2087978568e3f5ec8519.zip llvm-fa74b31a3e9cd844c7ce2087978568e3f5ec8519.tar.gz llvm-fa74b31a3e9cd844c7ce2087978568e3f5ec8519.tar.bz2 |
Revert "[SCCP] Remove forcedconstant, go to overdefined instead"
This causes a crash for the reproducer below
enum { a };
enum b { c, d };
e;
static _Bool g(struct f *h, enum b i) {
i &&j();
return a;
}
static k(char h, enum b i) {
_Bool l = g(e, i);
l;
}
m(h) {
k(h, c);
g(h, d);
}
This reverts commit aadb635e04854220064b77cc10d0e6772f5492fd.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions