[LLVMbugs] [Bug 4634] New: code gen issue for array arithmetic with casts

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jul 27 15:46:42 PDT 2009


           Summary: code gen issue for array arithmetic with casts
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: robert at muth.org
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=3248)
 --> (http://llvm.org/bugs/attachment.cgi?id=3248)
source code for reproducer

The attached code is a reproducer for this bug.

In essence, the following macro returns a constant value:

#define bin_at(i)      ((mbinptr)((char*)&(Xav[2*(i) + 2]) - 2*sizeof(int)))

no matter what the value of i.


The problem occurred on an svn revision a couple of weeks old
on a linux cross-compilation environment.

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