[LLVMbugs] [Bug 8557] New: Clang crashes when trying to compile a file with properties

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 5 16:58:15 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8557

           Summary: Clang crashes when trying to compile a file with
                    properties
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: js-llvm-bugzilla at webkeks.org
                CC: llvmbugs at cs.uiuc.edu


assertion "(i
 >= FTy->getNumParams() || FTy->getParamType(i) == Params[i]->getType()) &&
"Cal
ling a function with a bad signature!"" failed: file "Instructions.cpp", line
24
6, function "void llvm::CallInst::init(llvm::Value*, llvm::Value* const*,
unsign
ed int)"
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-netb
sd5.1. -S -disable-free -main-file-name PropertiesTests.m -mrelocation-model
sta
tic -mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu x86-64
-
target-linker-version 2.16.1 -g -resource-dir /usr/local/bin/../lib/clang/2.9
-D
 STDOUT -I ../src -I .. -O2 -Wall -Werror -fconstant-string-class
OFConstantStri
ng -ferror-limit 19 -fmessage-length 0 -fblocks -fexceptions -fgnu-runtime
-fno-
constant-cfstrings -fno-common -fdiagnostics-show-option -o /tmp/cc-14497a.s -x 
objective-c PropertiesTests.m 
1.      PropertiesTests.m:44:1: current parser token '@'
2.      PropertiesTests.m:31:1: LLVM IR generation of declaration
'PropertiesTes
t'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal 1 (use -v to see
invoc
ation)

The file is: http://sprunge.us/KFLU

All other files that are similar tests, but don't contain properties, work.

-- 
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