This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC][wide-int] Fix some build errors on arm in wide-int branch and report ICE
- From: Mike Stump <mikestump at comcast dot net>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <rdsandiford at googlemail dot com>, zadeck at naturalbridge dot dot dot com
- Date: Tue, 22 Apr 2014 08:58:12 -0700
- Subject: Re: [PATCH][RFC][wide-int] Fix some build errors on arm in wide-int branch and report ICE
- Authentication-results: sourceware.org; auth=none
- References: <534D11EB dot 9020806 at arm dot com>
On Apr 15, 2014, at 4:03 AM, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> I tried bootstrapping the wide-int branch on arm-none-linux-gnueabihf and encountered some syntax errors while building wide-int.h and wide-int.cc in expressions that tried to cast to HOST_WIDE_INT.
Thanks, nice catch.
> Also, in c-ada-spec.c I think we intended to use the HOST_WIDE_INT_PRINT format rather than HOST_LONG_FORMAT, since on arm-linux HOST_WIDE_INT is a 'long long’.
Yup.
> The attached patch
Thanks.
Committed revision 209639.
> allowed the build to proceed for me, but in stage 2 I encountered an ICE:
> Any ideas?
Nope. Roughly, what it is saying is that the min or max of a call to set_value_range is now wrong. If you print those two out in the call, and check how they are computed, it might be obvious. I’ll see if I can reproduce and track it down and fix it.