https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106241
--- Comment #3 from Robert Durkacz <robert.durkacz at gmail dot com> --- The suggestions from Johnathon Wakely would work but it is changing the problem. Rather than using simple types, the application is aimed at using more elaborate types (std:multimap). My reason for thinking that the compiler "should" be able to handle it somehow, is that the full array or multimap can be built up at runtime by reading the data in from a text file very similar to the source code file. So I guess the compiler just does not address this particular kind of use case but it seems to me that, on the contrary, there should be a compilation capability to do this kind of thing.