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

            Bug ID: 25960
           Summary: program outputs is not right.
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: lyc1...@qq.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 15529
  --> https://llvm.org/bugs/attachment.cgi?id=15529&action=edit
my source code, which compiled with clang  the output is wrong

I writed a piece of C code, with inline assembly.
Just used to calculate 100/7,   quotient 14 and reminder 2

when use gcc compile the code, it is alright
but when use clang, the output is random.

My source code is attached.

I'm using clang 3.6 on ubuntu

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