gcc_multi: sync the change to 4.6 and 4.9 as well