[Bug bootstrap/19852] Segmentation fault during: build/genmodes -h > tmp-modes.h

2019-03-21 Thread yjf.victor at foxmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19852 --- Comment #8 from yjf.victor at foxmail dot com --- It seems that the stack size is unlimited. ``` % limit cputime unlimited filesize unlimited datasize unlimited stacksizeunlimited coredumpsize unlimited vmemoryuse

[Bug bootstrap/19852] Segmentation fault during: build/genmodes -h > tmp-modes.h

2019-03-21 Thread yjf.victor at foxmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19852 --- Comment #6 from yjf.victor at foxmail dot com --- According to my debugging on gdb, it failed to allocate the memory via the `alloca()` function, and therefore resulted in Segmentation fault. ``` % gdb build/genmodes GNU gdb 2002-11-11-cvs

[Bug bootstrap/19852] Segmentation fault during: build/genmodes -h > tmp-modes.h

2019-03-21 Thread yjf.victor at foxmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19852 --- Comment #5 from yjf.victor at foxmail dot com --- I ran the command directly, and here it show: % build/genmodes -h > tmp-modes.h Segmentation fault (core dumped)

[Bug bootstrap/19852] Segmentation fault during: build/genmodes -h > tmp-modes.h

2019-03-21 Thread yjf.victor at foxmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19852 yjf.victor at foxmail dot com changed: What|Removed |Added CC||yjf.victor at foxmail dot