[TCWG CI] Regression caused by gcc: Add -Wdangling-pointer [PR63272].