[LLVMbugs] [Bug 6762] New: clang++ trigger ADL on va_list

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 1 16:52:57 PDT 2010


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

           Summary: clang++ trigger ADL on va_list
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
            Blocks: 5511


Testcase:
#define a_list __builtin_va_list
extern a_list l;
extern int f (a_list arg);
namespace n {
int f(a_list arguments);
void y() {
  f(l);
}
}

On x86-64, gcc accepts this, clang rejects it.  Affects Firefox build.

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