aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-14 18:19:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-14 18:19:09 +0000
commit341a243eaf86f5e0e1534698240cf215794f4771 (patch)
tree1e9afbcb55cdfa686ce8918bf81ce92b95aee8fd /gcc/c-pragma.c
parentda09e3172ddd820e2115b5c3eb72b5bc023c983b (diff)
downloadgcc-341a243eaf86f5e0e1534698240cf215794f4771.zip
gcc-341a243eaf86f5e0e1534698240cf215794f4771.tar.gz
gcc-341a243eaf86f5e0e1534698240cf215794f4771.tar.bz2
c-pragma.c (handle_pragma_token): Wrap variables `name' and `value' in HANDLE_PRAGMA_WEAK.
* c-pragma.c (handle_pragma_token): Wrap variables `name' and `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP. * genrecog.c (make_insn_sequence): Call memset, not bzero. * jump.c (find_insert_position): Don't declare or define unless !HAVE_conditional_arithmetic. (returnjump_p_1, delete_prior_computation): Add static prototypes. * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes. * recog.c (offsettable_address_p): Prototype function pointer. (preprocess_constraints): Call memset, not bzero. * tree.c (tree_node_kind_names): Constify a char*. Make static. (gcc_obstack_init): Don't declare. (fix_sizetype): Add static prototype. (gcc_obstack_init): Use prototype casts in call to _obstack_begin. (tree_cons): Call memset, not bzero. * varasm.c (remove_from_pending_weak_list): Wrap declaration and definition in macro ASM_WEAKEN_LABEL. (mark_const_hash_entry): Add static prototype. From-SVN: r29410
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index bfb6bdc..c002587 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -235,9 +235,13 @@ handle_pragma_token (string, token)
{
static enum pragma_state state = ps_start;
static enum pragma_state type;
+#ifdef HANDLE_PRAGMA_WEAK
static char * name;
static char * value;
+#endif
+#if defined(HANDLE_PRAGMA_PACK) || defined(HANDLE_PRAGMA_PACK_PUSH_POP)
static int align;
+#endif
static tree id;
/* If we have reached the end of the #pragma directive then