Skip to content

Disable -O3 for GCC 15#5105

Closed
connorjward wants to merge 2 commits into
releasefrom
connorjward/gcc15
Closed

Disable -O3 for GCC 15#5105
connorjward wants to merge 2 commits into
releasefrom
connorjward/gcc15

Conversation

@connorjward
Copy link
Copy Markdown
Contributor

We found out that -O3 was leading to garbage values in tricky interpolation kernels with GCC 15 on both Ubuntu 26.04 and Arch.

This will allow us to support Ubuntu 26.04.

I have also refactored Compiler.cflags and friends because the bugfix flags have to come after the optflags.

Also removed a bunch of very very old bugfix cflags - GCC 7 was last updated in 2019 and I'd be surprised if the rest of our software stack works with such an old compiler.

We found out that -O3 was leading to garbage values in tricky
interpolation kernels with GCC 15 on both Ubuntu 26.04 and Arch.

This will allow us to support Ubuntu 26.04.
@connorjward connorjward requested a review from JHopeCollins May 13, 2026 09:52
Copy link
Copy Markdown
Member

@JHopeCollins JHopeCollins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for tracking this down!

@connorjward
Copy link
Copy Markdown
Contributor Author

I'm going to fold this into #5085 because this only really makes sense in the context of that PR

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

Successfully merging this pull request may close these issues.

2 participants