Skip to content

llvm-gcc unable to handle NOT operation #1718

@llvmbot

Description

@llvmbot
Bugzilla Link 1346
Resolution FIXED
Resolved on Feb 22, 2010 12:49
Version trunk
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

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

$

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadllvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions