As described above, according to the invention, by conducting a reflow process using such an element as germanium or tin in forming a contact to a wiring electrode that is mainly made of aluminum, a reliable contact can be formed by virtue of the action of the above element.