Bug 164739
| Summary: | openoffice compile failure due to compiler memory usage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Woodhouse <dwmw2> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-09-27 21:33:48 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
David Woodhouse
2005-07-31 10:25:31 UTC
Created attachment 117321 [details]
offending C++ file.
My guess is this is about inlining heuristics, with -O2 -fno-enforce-eh-specs it creates a really huge function (almost 60000 basic blocks) and that obviously then takes a lot of time and memory to process. The inling heuristics have been changed again in 4.1 (it is tweaked between all GCC releases). If you use -Os -fno-enforce-eh-specs, it compiles almost instantly. I don't think it is a good idea to mess with GCC 4.0 inlining heuristics at this point. FC5 will very likely include GCC 4.1. |