[llvm-bugs] [Bug 30474] New: clang: assertion failure while checking format strings in libiconv
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 21 07:33:59 PDT 2016
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: unassignedbugs at nondot.org
Reporter: willdtz at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160921/43e06801/attachment.html>
More information about the llvm-bugs
mailing list