This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
egcs/gcc config/i386/i386.c ggc.h ggc-simple.c ...
- To: egcs-cvs at egcs dot cygnus dot com
- Subject: egcs/gcc config/i386/i386.c ggc.h ggc-simple.c ...
- From: samuel at egcs dot cygnus dot com
- Date: 22 Sep 1999 05:51:46 -0000
CVSROOT: /cvs/egcs
Module name: egcs
Changes by: samuel@egcs.cygnus.com 99/09/21 22:51:45
Modified files:
gcc/config/i386: i386.c
gcc : ggc.h ggc-simple.c stmt.c profile.c c-typeck.c
Log message:
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.