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

Refactor the way we turn on the optimization in StrongPointer. #17295

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

zhangskz
Copy link
Member

@zhangskz zhangskz commented Jul 1, 2024

Cherry-pick of 5b8e90f

Some versions of gcc seem to advertise __cpp_nontype_template_args but not support the argument in some cases.
Only attempt the template parameter if we are using the optimized .reloc approach.

Fixes #16868

PiperOrigin-RevId: 634787159

Some versions of gcc seem to advertise __cpp_nontype_template_args but not
support the argument in some cases.
Only attempt the template parameter if we are using the optimized .reloc
approach.

Fixes #16868

PiperOrigin-RevId: 634787159
@zhangskz zhangskz requested a review from a team as a code owner July 1, 2024 14:29
@zhangskz zhangskz requested review from deannagarcia and sbenzaquen and removed request for a team July 1, 2024 14:29
@zhangskz zhangskz merged commit 2440498 into 27.x Jul 1, 2024
172 of 174 checks passed
@zhangskz zhangskz deleted the cp-strongpointer branch July 1, 2024 15:28
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.

3 participants