Skip to content
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

Faster::create_delta is having issues with gcc 4.4 #2

Open
sbober opened this issue May 11, 2010 · 1 comment
Open

Faster::create_delta is having issues with gcc 4.4 #2

sbober opened this issue May 11, 2010 · 1 comment

Comments

@sbober
Copy link
Owner

sbober commented May 11, 2010

The block

        for (i = 0; i <= 2; i++) {
            if (size & 0xff << i*8) {
                scratch[n1++] = (size >> i*8) & 0xff;
                op |= 1 << (4+i);
            }
        }

segfaults with gcc 4.4 unless a print statement is added in the if-branch.

@jkingdon
Copy link

I didn't have problems with
gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC)
but I don't know whether this depends on what data I am feeding to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants