The present invention relates to a compound of formula I
and its salts, wherein the substituents are as defined in the description, to compositions and use of the compounds in the treatment of diseases ameliorated by inhibition of phosphatidylinositol 3-kinase.