https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77510
Bug ID: 77510 Summary: genautomata memory footprint for MIPS Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: lly.dev at gmail dot com Target Milestone: --- Created attachment 39578 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39578&action=edit genautomata output MIPS32 Hello, bootstrapping/crosscompiling gcc 5.4.0 for MIPS, genautomata uses a lot of memory. This causes swapping/thrashing and extremely long build times on low memory systems. According to valgrind massif report, it requires 527MB of heap now. genautomata output(-time -progress -stats) attached to PR. Probably we need to try to decrease reservations for `xlp_cpu', `xlp_fpu' since simple disable(comment out it in mips.md) of xlp support decreases heap usage down to 43MB. Similar to bug 70473, which requests that a new bug is filed. Thank you for your attention!