summaryrefslogtreecommitdiff
path: root/iconv/gconv_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_simple.c')
-rw-r--r--iconv/gconv_simple.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c
index 25914d9b5d..1dbc322fa3 100644
--- a/iconv/gconv_simple.c
+++ b/iconv/gconv_simple.c
@@ -807,6 +807,7 @@ ucs4le_internal_loop_single (struct __gconv_step *step,
{ \
if (__builtin_expect (*((const uint32_t *) inptr), 0) > 0x7f) \
{ \
+ UNICODE_TAG_HANDLER (*((const uint32_t *) inptr), 4); \
STANDARD_ERR_HANDLER (4); \
} \
else \
@@ -1199,6 +1200,7 @@ ucs4le_internal_loop_single (struct __gconv_step *step,
\
if (__builtin_expect (val, 0) >= 0x10000) \
{ \
+ UNICODE_TAG_HANDLER (val, 4); \
STANDARD_ERR_HANDLER (4); \
} \
else if (__builtin_expect (val >= 0xd800 && val < 0xe000, 0)) \
@@ -1288,6 +1290,7 @@ ucs4le_internal_loop_single (struct __gconv_step *step,
uint32_t val = *((const uint32_t *) inptr); \
if (__builtin_expect (val, 0) >= 0x10000) \
{ \
+ UNICODE_TAG_HANDLER (val, 4); \
STANDARD_ERR_HANDLER (4); \
} \
else if (__builtin_expect (val >= 0xd800 && val < 0xe000, 0)) \