Skip to content

Commit 2a4b7a4

Browse files
committed
Revert "Use SPEED_OPTIMIZATIONS on riscv for GCC 14.3"
This reverts commit 0a8f9a3. I haven't been able to reproduce this issue again; let's go back to using -Os and see if we can make it happen again someday.
1 parent ddb8842 commit 2a4b7a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Kconfig.zephyr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,6 @@ choice COMPILER_OPTIMIZATIONS
491491
prompt "Optimization level"
492492
default NO_OPTIMIZATIONS if COVERAGE
493493
default DEBUG_OPTIMIZATIONS if DEBUG
494-
# gcc 14.3 -Os is broken on riscv. This setting should be in the SDK, it's here for testing
495-
default SPEED_OPTIMIZATIONS if "$(TOOLCHAIN_VARIANT_COMPILER)" = "gnu" && RISCV
496494
default SIZE_OPTIMIZATIONS_AGGRESSIVE if "$(TOOLCHAIN_VARIANT_COMPILER)" = "llvm"
497495
default SIZE_OPTIMIZATIONS
498496
help

0 commit comments

Comments
 (0)