http://llvm.org/bugs/show_bug.cgi?id=2452
Summary: Some tests generate GCC warnings
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DejaGNU
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
There are some tests that are generating GCC warnings, which until recently
were ignored. Now, stderr output from a test program is cause for failure.
Preferably these warnings should be fixed, but possibly they also mean that the
test is not working properly. Someone who knows details about these tests
should have a look.
It concerns the following tests:
FAIL: /home/kooijman/src/llvm-trunk/test/FrontendC/2003-08-21-WideString.c
Failed with unknown error (or has stderr output) at line 1
while running: /home/kooijman/src/llvm-gcc/install/bin/llvm-gcc -emit-llvm
-S /home/kooijman/src/llvm-trunk/test/FrontendC/2003-08-21-WideString.c -o - |
llvm-as -f -o /dev/null
/home/kooijman/src/llvm-trunk/test/FrontendC/2003-08-21-WideString.c:5:
warning: initialization from incompatible pointer type
FAIL: /home/kooijman/src/llvm-trunk/test/FrontendC/2004-02-13-IllegalVararg.c
Failed with unknown error (or has stderr output) at line 1
while running: /home/kooijman/src/llvm-gcc/install/bin/llvm-gcc -emit-llvm
-xc /home/kooijman/src/llvm-trunk/test/FrontendC/2004-02-13-IllegalVararg.c -w
-c -o - | llc
/home/kooijman/src/llvm-trunk/test/FrontendC/2004-02-13-IllegalVararg.c: In
function âtestâ:
/home/kooijman/src/llvm-trunk/test/FrontendC/2004-02-13-IllegalVararg.c:9:
note: if this code is reached, the program will abort
FAIL:
/home/kooijman/src/llvm-trunk/test/FrontendC/2006-09-18-fwrite-cast-crash.c for
PR910
Failed with unknown error (or has stderr output) at line 1
while running: /home/kooijman/src/llvm-gcc/install/bin/llvm-gcc -emit-llvm
/home/kooijman/src/llvm-trunk/test/FrontendC/2006-09-18-fwrite-cast-crash.c -S
-o /dev/null
/home/kooijman/src/llvm-trunk/test/FrontendC/2006-09-18-fwrite-cast-crash.c:
In function âUsageâ:
/home/kooijman/src/llvm-trunk/test/FrontendC/2006-09-18-fwrite-cast-crash.c:11:
warning: function called through a non-compatible type
/home/kooijman/src/llvm-trunk/test/FrontendC/2006-09-18-fwrite-cast-crash.c:11:
note: if this code is reached, the program will abort
FAIL: /home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-05-ConstCtor.c for
PR1641
Failed with unknown error (or has stderr output) at line 1
while running: /home/kooijman/src/llvm-gcc/install/bin/llvm-gcc -emit-llvm
-xc -Os -c /home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-05-ConstCtor.c
-o /dev/null
/home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-05-ConstCtor.c:11:30:
warning: multi-character character constant
FAIL:
/home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-28-PackedUnionMember.c
Failed with unknown error (or has stderr output) at line 1
while running: /home/kooijman/src/llvm-gcc/install/bin/llvm-gcc -emit-llvm
/home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-28-PackedUnionMember.c -S
-o -
declare i32 @bork(i32 (...)*, %struct.E*)
/home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-28-PackedUnionMember.c:28:23:
warning: multi-character character constant
/home/kooijman/src/llvm-trunk/test/FrontendC/2007-09-28-PackedUnionMember.c:33:7:
warning: multi-character character constant
I've XFAIL'd these test for now.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs