https://llvm.org/bugs/show_bug.cgi?id=30474
Bug ID: 30474 Summary: clang: assertion failure while checking format strings in libiconv Product: new-bugs Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: will...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17326 --> https://llvm.org/bugs/attachment.cgi?id=17326&action=edit preprocessed C source from libiconv-1.14 Assertion failure: clang-4.0: ~/llvm/latest/include/llvm/Support/Casting.h:237: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Expr; typename llvm::cast_retty<X, Y*>::ret_type = const clang::UnaryOperator*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed. ... ... 1. ./iconv.c:401:42: current parser token ')' 2. ./iconv.c:251:1: parsing function body 'check_subst_formatstring' 3. ./iconv.c:251:1: in compound statement ('{}') ---------------- Reproducer attached, occurs with: clang -c input.c -o input.o Has been occurring with trunk for at least a few days, and still occurs on trunk as of time of writing. Let me know if you have any trouble reproducing or if there's anything more I can do to help resolve this. -- 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