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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to