https://bugs.llvm.org/show_bug.cgi?id=40402

            Bug ID: 40402
           Summary: using optimizations yields different output
           Product: clang
           Version: 7.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangb...@nondot.org
          Reporter: dvorea...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

Created attachment 21364
  --> https://bugs.llvm.org/attachment.cgi?id=21364&action=edit
test case

I wrote a simple encryption algorithm as home project on my android device
above termux.
In the main function I used it to encrypt and decrypt a message.
When I used -O0 It printed the original message, but with -O2, it gave me
totally different output.
clang version : 
>>> clang -v
clang version 7.0.0 (tags/RELEASE_700/final)
Target: arm--linux-android
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to