Let A be an abelian (Hausdorff) topological group. Assume that
(1) the set of its torsion elements, and
(2) a finitely generated subgroup
are dense subsets of A.
My question: must A be finite?
(This is clearly true if A is discrete or if the f.g. subgroup is torsion).
EDIT. I'm more interested in compact groups.