CTSRD-CHERI / clang

DO NOT USE. Use llvm-project instead
Other
9 stars 8 forks source link

assert: Decl inserted into wrong lexical context #158

Closed brooksdavis closed 7 years ago

brooksdavis commented 7 years ago

Compiling compress.c I get:

Assertion failed: (D->getLexicalDeclContext() == this && "Decl inserted into wrong lexical context"), function addHiddenDecl, file ../tools/clang/lib/AST/DeclBase.cpp, line 1370.

Attempting to reduce with creduce_crash_testcase.py resulted in an empty file so I've uploaded reproduction bits in https://gist.github.com/brooksdavis/ee68d484c0f0e1126d9e74d405194331 (also on zeno).

arichardson commented 7 years ago

I think this may be the same as #157

brooksdavis commented 7 years ago

Possibly. The breakage seems to have gotten broader (256-bit is failing in this area in jenkins where only 128-bit seemed broken before).

arichardson commented 7 years ago

confirmed as duplication of #157