[PATCH][RFC][wide-int] Fix some build errors on arm in wide-int branch and report ICE

Mike Stump mikestump@comcast.net
Tue Apr 22 16:00:00 GMT 2014


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.


More information about the Gcc-patches mailing list