https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109724
Bug ID: 109724
Summary: [10 regression] Huge memory usage when building
qtwebengine's SkOpAngle.cpp
Product: gcc
Version: 10.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
CC: rguenth at gcc dot gnu.org
Target Milestone: ---
Created attachment 54988
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54988&action=edit
SkOpAngle.ii.xz
Originally reported downstream in Gentoo at https://bugs.gentoo.org/905634.
Matthew Ogilvie reports that 10.4.1 20230119
(18bc39a4c83f8d59175061a58637de9f4b2a54d4) is OK, but 10.4.1 20230426
(db0b8927d663cf54ad13dc2629ec195e3883d0d0) is not.
releases/gcc-10 is bad too.
---
```
$ g++ -O2 /tmp/SkOpAngle.ii -c
[consumes a huge amount of memory quite quickly and takes a long time to
compile, OOMs before I can complete compilation (it may not even terminate?)]
```
----
Bisect says
051f78a5c1d6994c10ee7c35453ff0ccee94e5c6 is the first bad commit
commit 051f78a5c1d6994c10ee7c35453ff0ccee94e5c6
Author: Richard Biener <[email protected]>
Date: Fri Sep 2 13:36:13 2022 +0200
tree-optimization/106809 - compile time hog in VN
i.e. r10-11201-g051f78a5c1d699.