Skip to content

Conversation

stratakis
Copy link
Contributor

@stratakis stratakis commented Oct 9, 2025

When building with --with-lto, --enable-bolt and --enable-shared, GCC creates optimized function clones with the suffix .lto_priv.0.

The sre_ucs*_match functions use computed gotos, which BOLT cannot optimize, so their .lto_priv.0 clones must be skipped as well.

Static builds and Clang's LTO implementation are not affected.

… skip list

When building with --with-lto, --enable-bolt and --enable-shared, GCC creates
optimized function clones with the suffix .lto_priv.0.

The sre_ucs*_match functions use computed gotos, which BOLT cannot
optimize, so their .lto_priv.0 clones must be skipped as well.

Static builds and Clang's LTO implementation are not affected.
@vstinner
Copy link
Member

vstinner commented Oct 9, 2025

cc @corona10

@corona10 corona10 self-assigned this Oct 9, 2025
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.

3 participants