Adopted for gcc