[LLVMbugs] [Bug 4171] New: darwin-string-literals test failure on ppc32 for utf-16 string

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 6 19:01:13 PDT 2009


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

           Summary: darwin-string-literals test failure on ppc32 for utf-16
                    string
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Keywords: miscompilation, portability
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cianci66 at mac.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2969)
 --> (http://llvm.org/bugs/attachment.cgi?id=2969)
llvm-ir file produced by test.

The test is being run on powerpc-apple-darwin9.6.0 

The test expects

@__utf16_string_ = internal global [35 x i8] c"h\00e\00l\00l\00o\00 \00\92!
\00\03& \00\90! \00w\00o\00r\00l\00d\00\00", section "__TEXT,__ustring", align
2

to be produced. The test produces

@__utf16_string_ = internal global [35 x i8] c"\00h\00e\00l\00l\00o\00 !\92\00
&\03\00 !\90\00 \00w\00o\00r\00l\00d\00", section "__TEXT,__ustring", align 2

See attached .ll file.


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