according to gcc it must be a constant