On 10/20/2015 08:34 PM, Alexander Monakov wrote:
Due to special treatment of types, emitting variables of type _Bool in
global scope is impossible: extern references are emitted with .u8, but
definitions use .u64.  This patch fixes the issue by treating boolean type as
integer types.

        * config/nvptx/nvptx.c (init_output_initializer): Also accept
         BOOLEAN_TYPE.

Interesting, what was the testcase? I didn't stumble over this one. In any case, I think this patch is ok for trunk.


Bernd

Reply via email to