This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: High memory consumption compiling syntax.c
Oh, I forgot to tell something important, I think: the error message
reported by the user who had GCC on a Sparc bail out due to memory
exhaustion was this:
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/home/reader/local/src/emacs-21.0.105/src -I/usr/dt/include -g -O2 syntax.c
syntax.c: In function `scan_sexps_forward':
syntax.c:2844: virtual memory exhausted
So this would mean the function scan_sexps_forward is the primary
suspect, right? If it would help, I can post that function (it's
about 350 lines).
Sorry I failed to mention this in my original message.