re PR other/12009 (g++.dg, compat.exp fail to crosscompile testcases)