From: Paul Eggert Date: Mon, 14 Jul 2003 05:38:24 +0000 (+0000) Subject: * alloc.c (pure, staticvec): X-Git-Tag: ttn-vms-21-2-B4~9350 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dde13196ab7f4c71a7c0ec2ae9b78319345e542d;p=emacs.git * alloc.c (pure, staticvec): Initialize these arrays to nonzero, so that they're not put into BSS by that optimization. --- diff --git a/src/ChangeLog b/src/ChangeLog index 63df36364ed..f6d2c771028 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2003-07-13 Paul Eggert + + GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it + puts it into BSS instead, at least on Solaris 8 and 9. + This is a valid optimization, and it may occur on other platforms, + so Emacs should not assume that initializing a static variable to + zero puts it into data. + * alloc.c (pure, staticvec): + Initialize these arrays to nonzero, so that they're not + put into BSS by that optimization. + 2003-07-13 Richard M. Stallman * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them.