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

           Summary: ARM: misaligned data
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6245)
 --> (http://llvm.org/bugs/attachment.cgi?id=6245)
Reduced test case

When targeting ARM, data objects sometimes get misaligned leading to runtime
crashes.  In the attached file, a uint32_t array is placed at offset 1 in bss
even though the minimum alignment for uint32_t is 4. The misalignment seems
connected to the static variable in decode_init().

This test case is reduced from mpegaudiodec.c in FFmpeg.

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