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

           Summary: Inline asm parse difference from GCC
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


This isn't a standards issue, as its a GCC extension, but it seems we should
match GCC's behavior in that case:


% cat t.cc
void f() {
  __asm__ ("" : : :);
}

% clang -fsyntax-only t.cc
t.cc:2:20: error: expected string literal
  __asm__ ("" : : :);
                   ^
1 error generated.

GCC accepts this happily.

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