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

[slice] Ensure result is used in test #31083

Merged
merged 1 commit into from Sep 22, 2022
Merged

Conversation

ctiller
Copy link
Member

@ctiller ctiller commented Sep 21, 2022

Otherwise sufficiently good compilers may inline SumSlice, see that the result is not used, and discard the code that triggers the crash entirely.

Otherwise sufficiently good compilers may inline SumSlice, see that the result is not used, and discard the code that triggers the crash entirely.
@ctiller ctiller added the release notes: no Indicates if PR should not be in release notes label Sep 21, 2022
@ctiller
Copy link
Member Author

ctiller commented Sep 21, 2022

This is upstreaming (with modifications) cl/475677116

Copy link
Contributor

@vitalybuka vitalybuka left a comment

Choose a reason for hiding this comment

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

Thanks!

@ctiller ctiller merged commit 6575ae7 into grpc:master Sep 22, 2022
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/none imported Specifies if the PR has been imported to the internal repository lang/core per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants