[LLVMbugs] [Bug 14180] New: .o writer bug in PPC64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 25 09:39:48 PDT 2012


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

             Bug #: 14180
           Summary: .o writer bug in PPC64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


[rdivacky at anacreon ~/vim73/src]$ cat test.c
int main() {
  unsigned long hash = 1052172333202;

  printf("hash = %lx\n", hash);
  hash >>= 5;
  printf("hash >> 5 = %lx\n", hash);
}

[rdivacky at anacreon ~/vim73/src]$ ~/llvm/Release+Asserts/bin/clang  test.c  &&
./a.out
test.c:4:3: warning: implicitly declaring library function 'printf' with type 1
warning generated.
hash = f4fa5bb092
hash >> 5 = 7a7d2dd84
[rdivacky at anacreon ~/vim73/src]$ ~/llvm/Release+Asserts/bin/clang 
-integrated-as test.c  && ./a.out
1 warning generated.
hash = f4fa5bb092
hash >> 5 = 4

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