Critical wave functions and a Cantor-set spectrum of a one-dimensional quasicrystal model