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

Return register breaks with integer params in 6c #13

andrewchambers opened this Issue Sep 14, 2015 · 0 comments


None yet
1 participant
Copy link

andrewchambers commented Sep 14, 2015

struct s0 {
    long m0;
    long m1;
struct s1 {
    struct s0 m0;
    long m1;
struct s2 {
    int m0;
void abort(void);
struct s1
f(int p0, struct s2 p1)
    struct s1 r;
    r.m0.m0 = 1293431308;
    r.m0.m1 = 61651767;
    r.m1 = 1736112203;
    if(p0 != 413324820) abort();
    if(p1.m0 != 1141848071) abort();
    return r;
    struct s1 r;
    int p0;
    struct s2 p1;
    p0 = 413324820;
    p1.m0 = 1141848071;
    r = f(p0, p1);
    if(r.m0.m0 != 1293431308) abort();
    if(r.m0.m1 != 61651767) abort();
    if(r.m1 != 1736112203) abort();
    return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment