Factor out base gcc declaration.