This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suspected bug lshift_value (expmed.c) and its patch


> For our target, HOST_WIDE_INT = 32.

That's a confusion between host and target.  Porting the compiler really means 
defining a new target only, you shouldn't need to port the host.  However...

> The trouble is I cannot point out which target except our one (still
> private porting) has the same error, which has HOST_BITS_PER_WIDE_INT = 32
> and BITS_PER_WORD = 64.

... in practice 64-bit targets require a 64-bit hosts nowadays so you'd better 
set need_64bit_hwint to yes for your target in config.gcc.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]