Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: [sparc64] build fix for abseil-cpp with gcc/15
To:
ports@openbsd.org, Andrew Krasavin <noiseless-ak@yandex.ru>, Klemens Nanni <kn@openbsd.org>
Date:
Wed, 12 Nov 2025 12:21:21 +0100

Download raw body.

Thread
> We need similar fixes in webkitgtk4, qtwebkit, qt6-qtdeclarative and
> probably some more. This is why I think we somehow miss a magic option
> in gcc to enable this by default.

Do you mean to remove the hunk in patches/patch-gcc_common_opt that
twiddles the option from -1 to 0? I don't know what this means and I
haven't looked into its history, but that's probably where you want to
start.

@@ -1359,7 +1367,7 @@ Common Var(flag_delete_dead_exceptions) Init(0) Optimi
 Delete dead instructions that may throw exceptions.
 
 fdelete-null-pointer-checks
-Common Var(flag_delete_null_pointer_checks) Init(-1) Optimization
+Common Var(flag_delete_null_pointer_checks) Init(0) Optimization
 Delete useless null pointer checks.
 
 fdevirtualize-at-ltrans