[LLVMbugs] [Bug 1346] NEW: llvm-gcc unable to handle NOT operation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 23 13:26:51 PDT 2007


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

           Summary: llvm-gcc unable to handle NOT operation
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dpatel at apple.com


--- r.c ---
extern bar(void *);

void f(void *cd) {
  bar(((void *)((unsigned long)(cd) ^ -1)));
}
---

$ llvm-gcc /tmp/r.c -c
/tmp/r.c: In function ‘f’:
/tmp/r.c:4: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions

$



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list