From 8d6b10e23734e97761dbedf97cf9d606835c91d4 Mon Sep 17 00:00:00 2001 From: mrs Date: Wed, 24 May 2006 21:31:42 +0000 Subject: [PATCH] * objc-act.c (build_next_objc_exception_stuff): Use JBLEN instead of _JBLEN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114053 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/objc/ChangeLog | 8 ++++++-- gcc/objc/objc-act.c | 10 +++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 29532163c65..2b5eeb45bbd 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,7 @@ +2006-05-24 Mike Stump + + * objc-act.c (build_next_objc_exception_stuff): Use JBLEN instead of _JBLEN. + 2006-05-05 Volker Reichelt PR objc/27240 @@ -18,8 +22,8 @@ 2005-12-14 Andrew Pinski PR objc/25360 - * objc/objc-act.c (encode_type): Encode Complex types as 'j' followed - by the inner type. + * objc/objc-act.c (encode_type): Encode Complex types as 'j' followed + by the inner type. 2005-12-12 Andrew Pinski diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 7ed00ae78fb..8346ef6aea2 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -3954,7 +3954,7 @@ objc_build_synchronized (location_t start_locus, tree mutex, tree body) struct _objc_exception_data { - int buf[_JBLEN]; + int buf[JBLEN]; void *pointers[4]; }; */ @@ -3963,10 +3963,10 @@ objc_build_synchronized (location_t start_locus, tree mutex, tree body) #ifdef TARGET_POWERPC /* snarfed from /usr/include/ppc/setjmp.h */ -#define _JBLEN (26 + 36 + 129 + 1) +#define JBLEN (26 + 36 + 129 + 1) #else /* snarfed from /usr/include/i386/{setjmp,signal}.h */ -#define _JBLEN 18 +#define JBLEN 18 #endif static void @@ -3977,9 +3977,9 @@ build_next_objc_exception_stuff (void) objc_exception_data_template = start_struct (RECORD_TYPE, get_identifier (UTAG_EXCDATA)); - /* int buf[_JBLEN]; */ + /* int buf[JBLEN]; */ - index = build_index_type (build_int_cst (NULL_TREE, _JBLEN - 1)); + index = build_index_type (build_int_cst (NULL_TREE, JBLEN - 1)); field_decl = create_field_decl (build_array_type (integer_type_node, index), "buf"); field_decl_chain = field_decl; -- 2.11.0