This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86422] G++ ICE(segmentation fault) when compiling a huge static array of sufficiently complex structs
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jul 2018 15:55:06 +0000
- Subject: [Bug c++/86422] G++ ICE(segmentation fault) when compiling a huge static array of sufficiently complex structs
- Auto-submitted: auto-generated
- References: <bug-86422-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86422
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |compile-time-hog,
| |memory-hog
Known to work| |8.1.1
Known to fail| |8.1.0
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
On the tip of the GCC 8 branch the segfault is gone (r262478). I suspect the
error is memory use (it now peaks >20GB for me) and an unchecked allocation
or some 'int' size variable that overflows.
> /usr/bin/time /abuild/rguenther/obj/gcc/cc1plus -quiet CodePoint.ii
369.55user 7.52system 6:17.08elapsed 99%CPU (0avgtext+0avgdata
25329548maxresident)k
232inputs+604864outputs (0major+6777265minor)pagefaults 0swaps
Still needs tracking down thus.