Skip to content

[instcombine] miscompilation of setcc or setcc in some cases #920

Closed
@markus-oberhumer

Description

@markus-oberhumer
Bugzilla Link 548
Resolution FIXED
Resolved on Mar 06, 2010 13:58
Version 1.4
OS All

Extended Description

The current (20050418) CVS version miscompiles this small program.

int foo(int s) {
return (s == -1 || s > 0);
}

int bar(void) {
return foo(-1);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions