Skip to content

SCons: Remove redundant -fomit-frame-pointer and -ftree-vectorize#66297

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
akien-mga:scons-remove-fomit-frame-pointer-ftree-vectorize
Sep 23, 2022
Merged

SCons: Remove redundant -fomit-frame-pointer and -ftree-vectorize#66297
akien-mga merged 1 commit into
godotengine:masterfrom
akien-mga:scons-remove-fomit-frame-pointer-ftree-vectorize

Conversation

@akien-mga

Copy link
Copy Markdown
Member
  • -fomit-frame-pointer is included automatically by both GCC and Clang in -O1 and above.
  • -ftree-vectorize is included automatically by GCC in -O2 and beyond, and seems always enabled by Clang.

Closes #66296. See that issue for a detailed investigation.

- `-fomit-frame-pointer` is included automatically by both GCC and
  Clang in `-O1` and above.
- `-ftree-vectorize` is included automatically by GCC in `-O2` and
  beyond, and seems always enabled by Clang.

Closes godotengine#66296. See that issue for a detailed investigation.
@akien-mga akien-mga added enhancement topic:buildsystem cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Sep 23, 2022
@akien-mga akien-mga added this to the 4.0 milestone Sep 23, 2022
@akien-mga akien-mga requested review from a team as code owners September 23, 2022 11:57
@akien-mga akien-mga merged commit 56e847e into godotengine:master Sep 23, 2022
@akien-mga akien-mga deleted the scons-remove-fomit-frame-pointer-ftree-vectorize branch September 23, 2022 13:21
@timothyqiu

Copy link
Copy Markdown
Member

Cherry-picked for 3.6

@timothyqiu timothyqiu removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Dec 4, 2022
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.

Review use of -fomit-frame-pointer and -ftree-vectorize flags for optimized builds

2 participants