[LLVMbugs] [Bug 10116] New: [mc] No support for .common

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 9 15:56:53 PDT 2011


           Summary: [mc] No support for .common
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu

thakis at yearofthelinuxdesktop:/usr/local/google/chrome/src$ cat test.cc 
void f() {
  asm volatile(".common _f,8,8");

thakis at yearofthelinuxdesktop:/usr/local/google/chrome/src$ gcc -c test.cc
thakis at yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang -c test.cc
test.cc:2:16: error: warning: ignoring directive for now
  asm volatile(".common _f,8,8");
<inline asm>:1:2: note: instantiated into assembly here
        .common _f,8,8
1 error generated.

This is a bogus example. Real code that uses this is e.g. here:
(used by chrome/linux).

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