According to the IRC, where shall a dwelling with a gas fireplace in the bedroom have a carbon monoxide alarm installed?

According to the IRC, where shall a dwelling with a gas fireplace in the bedroom have a carbon monoxide alarm installed?