Determination of S–L phase transitions under gas pressure