extremely large expressions fail to compile

David Whysong dwhysong@physics.ucsb.edu
Fri Oct 2 14:21:00 GMT 1998


On Fri, 2 Oct 1998, Jeffrey A Law wrote:

>Default kernels usually cap the stack at 8Meg.

[root@Sleepy q]# ulimit -s 128000
[root@Sleepy q]# make dynamics_exact
/usr/local/bin/gcc dynamics_exact.c ../../include/types.h dynamics.h -c
-O6 -mpentiumpro -Wall -ffast-math -mstack-align-double -g -DDEBUG
-UNDEBUG -D_REENTRANT -DSMP -DARCRANDOM -DDOUBLEPREC -I../..//include
gcc: Internal compiler error: program cc1 got fatal signal 11
make: *** [dynamics_exact.o] Error 1

Just before it died:

[dwhysong@Sleepy dwhysong]$ ps mr
  PID TTY MAJFLT MINFLT   TRS   DRS  SIZE  SWAP   RSS  SHRD   LIB  DT COMMAND
18634  p1    482  28145  1152 51620 52772     0 52772  1332     0 12860 /usr/l

That was with pgcc, but it egcs and gcc-2.7.2.3 give the same behavior. 

Dave

David Whysong					    dwhysong@physics.ucsb.edu
Astrophysics graduate student         University of California, Santa Barbara
PGP public keys available at http://www.physics.ucsb.edu/~dwhysong/pgpkey.asc
DSS PGP Key 0x903F5BD6  :  FE78 91FE 4508 106F 7C88  1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91  :  BC33 0F36 FCCD E72C 441F  663A 72ED 7FB7 5DAB 0F91




More information about the Gcc-bugs mailing list