GCC does not understand overwrite