[Bug c++/86422] G++ ICE(segmentation fault) when compiling a huge static array of sufficiently complex structs
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 6 15:55:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list