https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115014
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Martin Doucha from comment #2) > (In reply to Andrew Pinski from comment #1) > > I am not so sure this is wanted. GCC assumes a flat memory system for stack > > and normal memory accesses . > > This is certainly not wanted in the most common case where the flat memory > assumption is correct. But it should be used for compiling embedded binaries > with -ffreestanding argument. No, "Freestanding Environment" has a very specific meaning in the C standard. If we must add this it'd be a separate -m{something} argument.