Given a positive integer M , for q ∈ (1, M + 1] let Uq be the set of x ∈ [0, M/(q − 1)] having a unique q-expansion with the digit set {0, 1, . . . , M }, and let Uq be the set of corresponding q-expansions. Recently, Komornik et al. showed in [23] that the topological entropy function H : q → htop(Uq) is a Devil's staircase in (1, M + 1]. Let B be the bifurcation set of H defined by B = {q ∈ (1, M + 1] : H(p) = H(q) for any p = q}.In this paper we analyze the fractal properties of B, and show that for any q ∈ B,where dimH denotes the Hausdorff dimension. Moreover, when q ∈ B the univoque set Uq is dimensionally homogeneous, i.e., dimH (Uq ∩ V ) = dimH Uq for any open set V that intersect Uq.As an application we obtain a dimensional spectrum result for the set U containing all bases q ∈ (1, M + 1] such that 1 admits a unique q-expansion. In particular, we prove that for any t > 1 we have dimH (U ∩ (1, t]) = max q≤t dimH Uq.We also consider the variations of the sets U = U (M ) when M changes.