The present invention relates to a process for the preparation of oxygen containing heterocyclic compounds by reacting substituted phenolic compounds with olefinic compounds in the presence of a palladium catalyst and suitable reaction medium via sequential C-H functionalization.