No way of knowing in advance
In general, the compiler has no way of knowing in advance the value that will be stored in a variable later when the program is running.
(That value could come from anywhere, such as from keyboard input or from a file.)