vhdl generate multiple range
You can define your range as an array and use the for-loop to run through this array:

type arr is array(0 to 7) of integer;
constant bit : arr := (0,1,2,3,4,5,7,8);

[..]
check : for i in 0 to 7 generate
   cool_stuff(bit(i));
end generate;