OSDN Git Service

Various fixes for problems discovered stress-testing GC.
authorsamuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Sep 1999 05:51:44 +0000 (05:51 +0000)
committersamuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Sep 1999 05:51:44 +0000 (05:51 +0000)
commit0f4dbfb982e350a2585bd8416ad8740661abebb2
treed77f393f094055cf54780770525095be9da9ac8a
parent711575e5dabfc53f14d875185e1111e9073f0199
Various fixes for problems discovered stress-testing GC.
* config/i386/i386.c (pic_label_name): Change to char pointer.
(global_offset_table): New variable.
(load_pic_register): Fill global_offset_table if it hasn't
already been done.  Allocate pic_label_name dynamically.
* ggc.h (empty_string): New variable.
* ggc-simple.c (empty_string): Likewise.
(init_ggc): Allocate empty_string and add as root.
* stmt.c (digit_strings): New variable.
(init_stmt): Add last_block_end_note as root.  Allocate and
initialize digit_strings.
(expand_asm_operands): Use empty_string and digit_string instead
of string constants.
* profile.c (init_arc_profiler): Allocate with ggc_alloc_string
instead of xmalloc.
(output_func_start_profiler): Likewise.
* c-typeck.c (digest_init): Check if init is error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29575 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-typeck.c
gcc/config/i386/i386.c
gcc/ggc-simple.c
gcc/ggc.h
gcc/profile.c
gcc/stmt.c