[LLVMbugs] [Bug 2452] New: Some tests generate GCC warnings

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 13 09:41:19 PDT 2008


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: unassignedbugs at nondot.org
        ReportedBy: matthijs at stdin.nl
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list