Summary: | pixman: combiner-test, gradient-crash-test, and stress-test fail when compiled with clang | ||
---|---|---|---|
Product: | pixman | Reporter: | Matt Turner <mattst88> |
Component: | pixman | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | civil.over |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Matt Turner
2018-06-04 20:44:36 UTC
It happens in various functions and it seems that clang's optimizer just decides that 'sa' can be safely optimized out if vectorization is used. Another workaround is to wrap all variables in those functions as 'volatile'. Though I don't have a lot of experience with C, so for me it is hard to track the call-stack, so I can't create a minimal example to validate if it's clang's bug or that's actually something else that just makes clang think that it can optimize-out some variables. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pixman/pixman/issues/22. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.