Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@neheb
Copy link
Contributor

@neheb neheb commented Nov 27, 2024

GCC cannot elide copies with multiple returns.

GCC cannot elide copies with multiple returns.

Signed-off-by: Rosen Penev <[email protected]>
@scotchi
Copy link
Member

scotchi commented Nov 27, 2024

I feel like this needs significantly more explanation. This makes the code less readable for optimizations that don't obviously have any benefit? The existence of a compiler flag that reports a block of code isn't ipso facto a reason to make code worse.

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