[LLVMbugs] [Bug 2730] New: Address of register missed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Aug 28 15:53:03 PDT 2008


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: unassignedbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list