[LLVMbugs] [Bug 10416] New: constant not unnamed_addr?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 19 17:25:57 PDT 2011


           Summary: constant not unnamed_addr?
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: echristo at gmail.com
                CC: llvmbugs at cs.uiuc.edu

>From 2006-03-03-MissingInitializer.c it looks like foo.nate should be able to
be unnamed_addr and llvm-gcc does that

struct X { int *XX; int Y;};

void foo() {
  static int nate = 0;
  struct X bob = { &nate, 14 };

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