[LLVMbugs] [Bug 9524] New: Crypto++ validation test passes Panama tests at -O0 but fails at -O1, -O2, -O3

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 21 11:30:31 PDT 2011


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

           Summary: Crypto++ validation test passes Panama tests at -O0
                    but fails at -O1, -O2, -O3
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: mclow at qualcomm.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=6352)
 --> (http://llvm.org/bugs/attachment.cgi?id=6352)
Replacement Makefile (uses clang instead of gcc)

To reproduce:
1) Get crypto++ from here: "svn co
https://cryptopp.svn.sourceforge.net/svnroot/cryptopp/trunk/c5 cryptopp"
2) Replace GNUMakefile with one from this bug report.
-- edit the first line of GNUMakefile to set the optimization level that you
want.
3) make test
4) ./cryptest.exe v 53   # runs just the Panama tests

If you built with -O0, the tests will succeed.
If you built with -O[123], the tests will fail.

I am working on a reduced example, but I don't have one yet.

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