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: [PATCH][riscv] Fix build due to INT16_MAX issue


Approved.

And thanks for the reminder about the MAINTAINERS file.

On Tue, Feb 7, 2017 at 2:45 AM, Kyrill Tkachov
<kyrylo.tkachov@foss.arm.com> wrote:
> Hi all,
>
> I tried building a cc1 for riscv-x-elf and I got a build error about
> INT16_MAX not being defined on my system.
> I think it's not a standard macro.  This patch fixes that with what I think
> is the equivalent definition using
> GCC modes logic.
>
> With this my build proceeds to build a cc1 successfully. No testing beyond
> that.
>
> Is this ok for trunk?
>
> Thanks,
> Kyrill
>
> P.S. Palmer, Andrew, I didn't see your names and emails in the MAINTAINERS
> file, you should update that when
> you get the chance.
>
>
> 2016-02-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>     * config/riscv/riscv.c (riscv_build_integer_1): Avoid use of INT16_MAX.


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