The present invention relates to heterocyclic compounds represented by the formula I wherein X represents nitrogen atom or CH R1 represents halogen atom or hydroxyl R2 represents hydrogen atom, hydroxyl or amino R3 represents morpholino (which may be substituted with one or two C1-C6 alkyl), pyrrolidinyl (which may be substituted with hydroxy C1-C6 alkyl) or NR6R7 [R6 represents C1-C6 alkyl and R7 represents piperidinyl (which may be substituted with C1-C6 alkyl)] R4 and R5 each represents hydrogen atom or C1-C6 alkyl, with the proviso that R2 is hydrogen atom and R3 is pyrrolidinyl (which may be substituted with hydroxy C1-C6 alkyl) when R1 is hydroxyl