[LLVMbugs] [Bug 4380] New: __builtin_object_size

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 12 14:53:19 PDT 2009


           Summary: __builtin_object_size
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: devang.patel at gmail.com
                CC: llvmbugs at cs.uiuc.edu

In this example, builtin_object_size is not lowered by llvm-gcc.
typedef struct _MyFoo {
       int x, y;
} MyFoo;
void foobar() {
int y;
#pragma omp parallel for schedule(dynamic,4)
  for (y=0; y <  64; y++)
      MyFoo *p, *q;
      __builtin___memcpy_chk (q,
                              __builtin_object_size (q, 0));

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