diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-10-28 18:41:24 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-10-28 18:41:24 +0100 |
commit | bf6dad60c338a42a7fb85f7b2a5870c0fb2e20f8 (patch) | |
tree | e513781ef717465e7db0358e987a5a6cbef5665c /libobjc | |
parent | 0c261d5b5c931d9e9214d06531bdc7e9e16aeaab (diff) | |
parent | 47d13acbda9a5d8eb57ff169ba74857cd54108e4 (diff) | |
download | gcc-bf6dad60c338a42a7fb85f7b2a5870c0fb2e20f8.zip gcc-bf6dad60c338a42a7fb85f7b2a5870c0fb2e20f8.tar.gz gcc-bf6dad60c338a42a7fb85f7b2a5870c0fb2e20f8.tar.bz2 |
Merge branch 'master' into devel/coarray_native.
Merge into devel/coarray_native to prepare for later merging of
coarray_native with master.
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/encoding.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 9b2d90a..43578a0 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2020-10-11 Iain Sandoe <iain@sandoe.co.uk> + + * encoding.c (_darwin_rs6000_special_round_type_align): + Use DFMode in the emulation of the special round type. + 2020-05-29 H.J. Lu <hjl.tools@gmail.com> PR bootstrap/95413 diff --git a/libobjc/encoding.c b/libobjc/encoding.c index 706c1d2..68a20d1 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -146,7 +146,6 @@ static int __attribute__ ((__unused__)) not_target_flags = 0; # undef TARGET_ALIGN_NATURAL # define TARGET_ALIGN_NATURAL 1 # endif - /* On Darwin32, we need to recurse until we find the starting stuct type. */ static int _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec) @@ -163,7 +162,7 @@ _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec) case UNION_TYPE: return MAX (MAX (comp, spec), objc_alignof_type (_stp) * __CHAR_BIT__); break; - case E_DFmode: + case DFmode: case _C_LNG_LNG: case _C_ULNG_LNG: return MAX (MAX (comp, spec), 64); |