> 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

Reply via email to