The only three (fairly) common words which end in the sequence <gm> are:
diaphragm = ˈdaɪəfræm
paradigm = ˈpærədaɪm
phlegm = flem
Notice that in derivatives of these words such as paradigmatic = ˌpærədɪɡˈmætɪk and phlegmatic = fleɡˈmætɪk the <g> is not silent.
2103_10_28