On Tue, 14 Feb 2023 at 12:58, Sagar Acharya via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Point of a compiler is to convert C code to machine code of hex/binary/object file Correct so far. > in least amount of time and conserving as much memory as can be done. No, that is a nice-to-have feature, not "the point of a compiler". > To create good error-free sequence of instructions is also one objective. Yes. > The values of memory required are definitely not of order 1GB. There are OSes which can be booted in less than 100MB. Have you actually looked at what is being compiled for gimple-match.o? It's meaningless to compare it to booting an OS, those are two completely different things. You could try compiling that file without optimization, or you could try building the compiler on a machine with more memory then copying it to your rpi.