From dde13196ab7f4c71a7c0ec2ae9b78319345e542d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 14 Jul 2003 05:38:24 +0000 Subject: [PATCH] * alloc.c (pure, staticvec): Initialize these arrays to nonzero, so that they're not put into BSS by that optimization. --- src/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- 2.39.2