|
From: | grischka |
Subject: | Re: [Tinycc-devel] _Generic or __builtin_choose_expr |
Date: | Sun, 09 Jul 2017 12:48:17 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
grischka wrote:
uso ewin wrote:I'm sorry but I don't have any arm machine, does someone have an idea how to fix, or debug this ?ARM defines CHAR_IS_UNSIGNED which sets tcc_state->char_is_unsigned.
Fixed in http://repo.or.cz/tinycc.git/commitdiff/9f79b62e here: @@ -4381,6 +4385,8 @@ ST_FUNC void unary(void) case TOK_STR: /* string parsing */ t = VT_BYTE; + if (tcc_state->char_is_unsigned) + t = VT_BYTE | VT_UNSIGNED; str_init: if (tcc_state->warn_write_strings) t |= VT_CONSTANT; -- gr
[Prev in Thread] | Current Thread | [Next in Thread] |