https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127947
--- Comment #4 from Simon Willcocks <simon.willcocks at gmx dot de> --- (In reply to Drea Pinski from comment #1) > >-fno-zero-initialized-in-bss > > Is only about zero initialized excplitly. I see that's how it is, but I don't see why it has to be. Is there even documentation that uninitialized static variables will be zero/nul/NULL? To me, -fno-zero-initialized-in-bss is a flag to avoid having a .bss section, especially for embedded software. This seems to be an unpredictable exception.
