The large gamma-ray flare of the FSRQ PKS 0346-27