The paper is devoted to geometry of subanalytic sets. The main result of this paper is the following: Given a subanalytic set E, the set of points at which E is not semianalytic is a subanalytic set. The proof is based on classical methods of analytic geometry and some techniques due to Gabrielov.