There are disclosed a resin composition comprising (A) a heat-resistant
resin soluble in a solvent at room temperature, (B) a heat-resistant
resin which is insoluble in a solvent at room temperature but becomes
soluble by heating, and (C) a solvent; a heat-resistant resin paste
further containing (D) particles or liquid state material D showing
rubber elasticity; and a semiconductor device using the same and a method
for producing the same.