Skip to content

-mldstmotion miscompile with call to exit #28327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
efriedma-quic opened this issue May 31, 2016 · 1 comment
Closed

-mldstmotion miscompile with call to exit #28327

efriedma-quic opened this issue May 31, 2016 · 1 comment
Labels
bugzilla Issues migrated from bugzilla

Comments

@efriedma-quic
Copy link
Collaborator

Bugzilla Link 27953
Resolution FIXED
Resolved on Jun 11, 2016 21:13
Version trunk
OS Windows NT
CC @hfinkel

Extended Description

Testcase:

#include <stdlib.h>
void f() { exit(1); }
void (ff)() = f;
int r, s;
void g(int a, int
restrict p) {
if (a) {ff(); r = p[1]; }
else { s = p[1]; }
}
void (gg)(int, intrestrict) = g;
int main() {
gg(1, 0);
}

Continuation of bug 27858

(Artificial testcase.)

@efriedma-quic
Copy link
Collaborator Author

r272495.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

1 participant