[LLVMbugs] [Bug 10639] New: Dragonegg miscompiles dlls/crypt32/message.c from wine

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 10 19:17:36 PDT 2011


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

           Summary: Dragonegg miscompiles dlls/crypt32/message.c from wine
           Product: dragonegg
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: austinenglish at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7053)
 --> (http://llvm.org/bugs/attachment.cgi?id=7053)
llvm-preprocessed file

Dragonegg can compile wine successfully, aside from
http://bugs.winehq.org/show_bug.cgi?id=28050. Running its test suite, however,
shows a few problems. This is the first one (8 potential).

To reproduce, compile wine with:
$ CC=llvm-gcc ./configure
$ make

then run the test:
$ cd dlls/crypt32/tests
$ make message.ok

this will fail:
austin at debian:~/wine-llvmgcc/dlls/crypt32/tests$ make message.ok
../../../tools/runtest -q -P wine -M crypt32.dll -T ../../.. -p
crypt32_test.exe.so message.c && touch message.ok
message.c:1079: Test failed: unexpected value
message.c:1097: Test failed: unexpected value
message.c:1116: Test failed: unexpected value
message.c:1138: Test failed: unexpected value
message.c:1167: Test failed: unexpected value
message.c:1190: Test failed: unexpected value
make: *** [message.ok] Error 6

compilings crypt32/message.c with gcc, or using -O0 instead works around the
issue. I'll attach preprocessed source files from llvm-gcc and gcc (versions
below). If more info is needed, please don't hesitate to ask.

austin at debian:~/wine-llvmgcc/dlls/crypt32/tests$ llvm-gcc  --version
gcc-4.5 (Debian 4.5.3-3) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


austin at debian:~/wine-llvmgcc/dlls/crypt32/tests$ gcc --version
gcc (Debian 4.4.6-7) 4.4.6
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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