https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #12)
> (In reply to Segher Boessenkool from comment #11)
> > (In reply to Andrew Pinski from comment #8)
> > > Note this is documented in the internals documentation.
> > 
> > What is?  "We have a bug here"?  I doubt it.
> 
> https://gcc.gnu.org/onlinedocs/gccint/Constants.html#index-const_005fint
> 
> Constants generated for modes with fewer bits than in HOST_WIDE_INT must be
> sign extended to full width (e.g., with gen_int_mode).

But the mode here is SImode.

32768 is 32768 in SImode.  Not -32768.

Reply via email to