Reaction of cyclic P-dicarbonyl compounds such as pyrimidine-(1H,3H,511)-2,4,6-trione (BA), 1,3-dimethyl pyrimidine-(1H,3H,5H)-2,4,6-trione (DMBA) and 2-thioxo-pyrimidine-(1H,3H,5H)-4,6-dione (TBA) with cyanogen bromide in acetone and 2-butanone in the presence of triethylamine afforded a new class of stable heterocyclic spiro[furo[2,3-d]pyrimidine-6,5'-pyrimidine]2,2',4,4',6'(3H,3'H,5H)-pentaones (dimeric forms of barbiturate) at 0 degrees C and ambient temperature. Structure elucidation was carried out by X-ray crystallographic, H-1 NMR, C-13 NMR, two dimensional NMR, FT-IR spectra, mass spectrometry and elemental analysis. The mechanism of product formation is discussed. The reaction of DMBA with cyanogen bromide in the presence of triethylamine also afforded trimeric form of barbiturate of uracil derivatives in good yield. The reaction of selected acyclic beta-dicarbonyl compounds with cyanogen bromide in the presence of triethylamine in acetone and/or diethyl ether has also been investigated under the same condition. Diethyl malonate and ethyl cyanoacetate brominated and also ethyl acetocetate both brominated and cyanated on active methylene via cyanogen bromide.