Since GCC is lacking such an essential optimization, you should consider have one of your junior interviewee contribute this basic optimization mainline.