It is safe to do compression test on cold engine. Don't rely on accurate value, just compare difference between cylinders and do two sets of test. First do it "dry" and then do another test with some oil in cylinder. If values with oil in cylinder will be dramatically different, then your piston rings are done. Anything with cold compression above 6 bar should be crankable but with lowered power output.