[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17443: Don't assume 'unsigned' is exactly 32 bits wide

From: Paul Eggert
Subject: bug#17443: Don't assume 'unsigned' is exactly 32 bits wide
Date: Thu, 08 May 2014 17:49:11 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

I installed the attached patches, which port GNU grep's DFA code to unusual platforms where 'int' is wider than 32 bits. A currently-produced example is the Unisys ClearPath MCP, where 'unsigned int' is 39 bits wide.

The 2nd patch is the real change; the other patches are minor cleanup. None of these changes should affect typical hosts where 'unsigned int' is 32 bits wide.

My source for that "39 bits" is page 4-490 of:


Attachment: 0001-maint-fix-indenting-to-pacify-prohibit_tab_based_ind.patch
Description: Text document

Attachment: 0002-dfa-don-t-assume-unsigned-int-is-exactly-32-bits-wid.patch
Description: Text document

Attachment: 0003-dfa-assume-C89-for-CHAR_BIT.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]