11.2.2 Non-Auto Variable Allocation and Access

Non-auto (static and external) variables have permanent storage duration and are located by the compiler into the data space memory. The compiler will also allocate non-auto const-qualified variables (see 9.8.1 Const Type Qualifier) into the data space memory if the constants-in-data memory model is selected; otherwise, they are located in program memory.