aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>2006-05-24 21:31:42 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-05-24 21:31:42 +0000
commit1fb34f17ed216a9769d44b5ef85cc8b800765985 (patch)
treed0ab5f7e4d2642a0ca7d51bd73db768be46cf2fd /gcc/objc
parent860d14158ec2b3496ce4f119f3d0247110ea5b09 (diff)
downloadgcc-1fb34f17ed216a9769d44b5ef85cc8b800765985.zip
gcc-1fb34f17ed216a9769d44b5ef85cc8b800765985.tar.gz
gcc-1fb34f17ed216a9769d44b5ef85cc8b800765985.tar.bz2
* objc-act.c (build_next_objc_exception_stuff): Use JBLEN instead of _JBLEN.
From-SVN: r114053
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog8
-rw-r--r--gcc/objc/objc-act.c10
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 2953216..2b5eeb4 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-24 Mike Stump <mrs@apple.com>
+
+ * objc-act.c (build_next_objc_exception_stuff): Use JBLEN instead of _JBLEN.
+
2006-05-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR objc/27240
@@ -18,8 +22,8 @@
2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
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 <pinskia@physics.uc.edu>
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 7ed00ae..8346ef6 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;