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

           Summary: Address of register missed
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


void foo (int register x)
{
  bar (&x);
}

violates a constraint on & but is not diagnosed.

/tmp/bug.c: In function 'foo':
/tmp/bug.c:3: error: address of register variable 'x' requested


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