[LLVMbugs] [Bug 14463] New: Assertion failed: (getResultKind() == Found && "getFoundDecl called on non-unique result"), function getFoundDecl, file /usr/home/rdivacky/llvm/tools/clang/lib/Sema/../../include/clang/Sema/Lookup.h, line 432.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Nov 30 02:53:46 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14463
Bug #: 14463
Summary: Assertion failed: (getResultKind() == Found &&
"getFoundDecl called on non-unique result"), function
getFoundDecl, file
/usr/home/rdivacky/llvm/tools/clang/lib/Sema/../../inc
lude/clang/Sema/Lookup.h, line 432.
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
pes delta-2006.08.03$ cat getline.c
typedef __ssize_t ssize_t;
ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE *
restrict);
ssize_t getdelim (lineptr, n, delimiter, stream);
ssize_t getdelim (lineptr, n, delimiter, stream) char **lineptr;
{
pes delta-2006.08.03$ clang -fsyntax-only getline.c
getline.c:1:13: error: unknown type name '__ssize_t'
typedef __ssize_t ssize_t;
^
getline.c:2:41: error: unknown type name 'size_t'
ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE *
restrict);
^
getline.c:2:70: error: unknown type name 'FILE'
ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE *
restrict);
^
getline.c:3:25: error: a parameter list without types is only allowed in a
function definition
ssize_t getdelim (lineptr, n, delimiter, stream);
^
Assertion failed: (getResultKind() == Found && "getFoundDecl called on
non-unique result"), function getFoundDecl, file
/usr/home/rdivacky/llvm/tools/clang/lib/Sema/../../include/clang/Sema/Lookup.h,
line 432.
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.2 -fsyntax-only -disable-free -main-file-name getline.c
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.15
-momit-leaf-frame-pointer -resource-dir /usr/local/bin/../lib/clang/3.3
-fmodule-cache-path /var/tmp/clang-module-cache -fdebug-compilation-dir
/tmp/delta-2006.08.03 -ferror-limit 19 -fmessage-length 115 -mstackrealign
-fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -x c
getline.c
1. getline.c:5:3: current parser token '{'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (trunk 168989)
Target: x86_64-unknown-freebsd8.2
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/getline-RjjXam.c
clang: note: diagnostic msg: /tmp/getline-RjjXam.sh
clang: note: diagnostic msg:
********************
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list