]> git.ipfire.org Git - thirdparty/gcc.git/commit
Enable -fbit-tests and -fjump-tables at -Og [PR123212]
authorFilip Kastl <fkastl@suse.cz>
Fri, 9 Jan 2026 14:16:50 +0000 (15:16 +0100)
committerFilip Kastl <fkastl@suse.cz>
Fri, 9 Jan 2026 14:16:50 +0000 (15:16 +0100)
commitedda700714843ebc7061743bbf383d05e11ecb4a
treeef7caee04befef1beb68c35c20016041cd08b538
parent43736a27f86849bb0fd8887f71f022245a9c099c
Enable -fbit-tests and -fjump-tables at -Og [PR123212]

Since GCC 15, bit test and jump table lowering was disabled for both -O0
and -Og to save compile time.  On -Og, compile time isn't *that*
critical, so this patch enables bit tests and jump tables on -Og once
again.

PR c/123212

gcc/ChangeLog:

* opts.cc: Enable -fbit-tests and -fjump-tables at -Og.

Signed-off-by: Filip Kastl <fkastl@suse.cz>
gcc/opts.cc