https://llvm.org/bugs/show_bug.cgi?id=28921
Bug ID: 28921 Summary: Assembly parser breaks on certain comments Product: new-bugs Version: 3.9 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: tim.bes...@elis.ugent.be CC: llvm-bugs@lists.llvm.org Classification: Unclassified As of the assembly parser refactor in r27300 (D20009), clang doesn't parse the following assembly file anymore: ## #ifndef TRMMKERNEL vaddpd 4, %xmm9, %xmm9; vaddpd 6, %xmm8, %xmm8; vaddpd 0, %xmm15, %xmm15; vaddpd 2, %xmm14, %xmm14; vaddpd 4, %xmm13, %xmm13; vaddpd 6, %xmm12, %xmm12; #endif ## Bisected on the llvm-project repository, release build using CMake 3.6.1 + Ninja on Debian Jessie if that would matter. $ clang --version clang version 3.8.1 (tags/RELEASE_381/final) Target: x86_64-unknown-linux-gnu Thread model: posix $ clang -DTRMMKERNEL -c kernel.S $ echo $? 0 $ clang-3.9 --version clang version 3.9.0 Target: x86_64-unknown-linux-gnu Thread model: posix $ clang-3.9 -DTRMMKERNEL -c kernel.S kernel.S:1:1: error: unexpected token at start of statement ## ^ This is a test case reduced from a failure to compile OpenBLAS, as reported here: https://github.com/xianyi/OpenBLAS/issues/942 Using `-no-integrated-as` obviously bypasses the problem. Some other occurrences of this bug, eg. http://forum.xda-developers.com/showpost.php?p=67696651&postcount=170 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs