further refine check_gcc usage so it is only called the bare min number of times
1 file changed