https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122052

--- Comment #3 from edison <edison_chan_gz at hotmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> >Compilation completes successfully, but the binary crashes immediately upon 
> >invocation.
> 
> What is the stack limit that you are running with?
> 
> -Ofast enables -fstack-arrays which can cause the stack usage to be very
> high.

edison@localhost:~/cpu2017$ ulimit -a
real-time non-blocking time  (microseconds, -R) unlimited
core file size              (blocks, -c) 0
data seg size               (kbytes, -d) unlimited
scheduling priority                 (-e) 40
file size                   (blocks, -f) unlimited
pending signals                     (-i) 54655
max locked memory           (kbytes, -l) 64
max memory size             (kbytes, -m) unlimited
open files                          (-n) 32768
pipe size                (512 bytes, -p) 8
POSIX message queues         (bytes, -q) 819200
real-time priority                  (-r) 0
stack size                  (kbytes, -s) unlimited
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 54655
virtual memory              (kbytes, -v) unlimited
file locks                          (-x) unlimited

Reply via email to