[LLVMbugs] [Bug 5268] New: LTO: clang built with LTO crashes on 1 test
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 21 04:31:15 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5268
Summary: LTO: clang built with LTO crashes on 1 test
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
If I build LLVM/Clang with LTO using llvm-g++ and the gold plugin, then clang
fails one test (with a crash), LLVM itself passes all (except load_module that
fails for non-LTO self-host too).
Here is the crash, I haven't bugpointed it yet:
$~/llvm-git/objlto/Release/bin/clang -fsyntax-only -fmessage-length=72
/home/edwin/llvm-git/clang/test/Misc/message-length.c
In file included from /home/edwin/llvm-git/clang/test/Misc/message-length.c:5:
FILE:9:46: warning: incompatible pointer types initializing 'void (int,
float, char, float)', expected 'int (*)(int, float, short, float)'
int (*fp1)(int, float, short, float) = f;
^
FILE:11:42: warning: incompatible pointer types initializing 'void (int,
float, char, float)', expected 'int (*)(int, float, short, float)'
int (*fp2)(int, float, short, float) = f;
^
FILE:17:120: warning: comparison of distinct pointer types
('int *' and 'float *')
...== 17) a_func_to_call(ip == FloatPointer, ip[ALongIndexName], ...
~~ ^ ~~~~~~~~~~~~
FILE:20:24: warning: use of GNU 'missing =' extension in designator
int array0[] = { [3] 3, 5, 7, 4, 2, 7, 6, 3, 4, 5, 6, 7, 8, ...
^
=
FILE:23:78: warning: expected 'ON' or 'OFF' or 'DEFAULT' in pragma
[-Wunknown-pragmas]
0 clang-cc 0x0000000001361cdd
Stack dump:
0. Program arguments: /home/edwin/llvm-git/objlto/Release/bin/clang-cc
-triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -main-file-name
message-length.c --relocation-model static --disable-fp-elim --unwind-tables=1
--mcpu=x86-64 --fmath-errno=1 -fmessage-length=72 -fexceptions=0
-fdiagnostics-show-option -x c
/home/edwin/llvm-git/clang/test/Misc/message-length.c
1. FILE:23:2: current parser token 'pragma'
2. FILE:16:53: parsing function body 'a_very_long_line'
3. FILE:16:53: in compound statement ('{}')
clang: error: compiler command failed due to signal 11 (use -v to see
invocation)
--
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