diff options
author | Alex Samuel <samuel@gcc.gnu.org> | 1999-09-22 05:51:44 +0000 |
---|---|---|
committer | Alex Samuel <samuel@gcc.gnu.org> | 1999-09-22 05:51:44 +0000 |
commit | 21a427cca1eaaf8757782354be2f0917a89fea25 (patch) | |
tree | d77f393f094055cf54780770525095be9da9ac8a /gcc/genrecog.c | |
parent | 5ab00e275b539136f48c62b2363936e92d4272c0 (diff) | |
download | gcc-21a427cca1eaaf8757782354be2f0917a89fea25.zip gcc-21a427cca1eaaf8757782354be2f0917a89fea25.tar.gz gcc-21a427cca1eaaf8757782354be2f0917a89fea25.tar.bz2 |
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.
From-SVN: r29575
Diffstat (limited to 'gcc/genrecog.c')
0 files changed, 0 insertions, 0 deletions