Added some sanity check in gcc.hpp