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

tr_bsp: unroll a loop by hand to avoid a GCC compiler bug #1526

Closed
wants to merge 1 commit into from

Conversation

illwieckz
Copy link
Member

@illwieckz
Copy link
Member Author

Don't ask me why it workarounds the bug… 🤷‍♀️️

@slipher
Copy link
Member

slipher commented Jan 27, 2025

#1529 should fix the underlying mistake. There's no compiler bug; the code was just failing to follow the most basic guidelines for using floating-point numbers.

@illwieckz
Copy link
Member Author

@illwieckz illwieckz closed this Jan 29, 2025
@illwieckz illwieckz deleted the illwieckz/gcc-13-lightgrid branch January 29, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building with GCC 13+ and -msse4 -O3 -ffast-math breaks the light grid
2 participants