diff options
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-encoding.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 42a4600f519..881ac6ed341 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,5 +1,10 @@ 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> + * objc-encoding.c: Replace tree_low_cst (..., 1) with tree_to_uhwi + throughout. + +2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> + * objc-next-runtime-abi-02.c: Replace tree_low_cst (..., 0) with tree_to_shwi throughout. diff --git a/gcc/objc/objc-encoding.c b/gcc/objc/objc-encoding.c index c2f7444c448..532725114a2 100644 --- a/gcc/objc/objc-encoding.c +++ b/gcc/objc/objc-encoding.c @@ -820,7 +820,7 @@ encode_field (tree field_decl, int curtype, int format) between GNU and NeXT runtimes. */ if (DECL_BIT_FIELD_TYPE (field_decl)) { - int size = tree_low_cst (DECL_SIZE (field_decl), 1); + int size = tree_to_uhwi (DECL_SIZE (field_decl)); if (flag_next_runtime) encode_next_bitfield (size); |