> On Mar 25, 2019, at 12:07 PM, Jeff Law <l...@redhat.com> wrote:
>
>> ...
>> 1) Does GCC support building with compilers where int is not 32
>> bits wide, or where BITS_PER_UNIT is not 3? (I.e., either is
>> less or more?)
> We've certainly supported 16 bit ints in the past. H8/300 would be an
> example. It defaults to 16 bit ints. But I don't think we've tested
> that in a very long time -- my tester is only testing with -mint32.
pdp11 is set up the same way (16 bit int is the default, -mint32 supported). I
run most of my pdp11 tests (including gcc testsuite runs) with the default 16
bit ints. I haven't seen issues related to int size handing in the GCC core.
paul