Jan-Benedict Glaw <jbg...@lug-owl.de> writes:
> On Tue, 2014-05-06 12:20:54 -0700, Mike Stump <mikest...@comcast.net> wrote:
>> On May 6, 2014, at 8:19 AM, Kenneth Zadeck <zad...@naturalbridge.com> wrote:
>> > please hold off on committing patches for the next couple of hours
>> > as we have a very large merge to do.
>> > thanks.
>> 
>> All done…  It is in.
>
> Just found one more:
>
> g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions 
> -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
> -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual 
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
> -fno-common  -DHAVE_CONFIG_H -I. -I. -I/home/vaxbuild/repos/gcc/gcc 
> -I/home/vaxbuild/repos/gcc/gcc/. -I/home/vaxbuild/repos/gcc/gcc/../include 
> -I/home/vaxbuild/repos/gcc/gcc/../libcpp/include  
> -I/home/vaxbuild/repos/gcc/gcc/../libdecnumber 
> -I/home/vaxbuild/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber 
> -I/home/vaxbuild/repos/gcc/gcc/../libbacktrace    -o loop-iv.o -MT loop-iv.o 
> -MMD -MP -MF ./.deps/loop-iv.TPo /home/vaxbuild/repos/gcc/gcc/loop-iv.c
> In file included from /home/vaxbuild/repos/gcc/gcc/real.h:25:0,
>                  from /home/vaxbuild/repos/gcc/gcc/rtl.h:27,
>                  from /home/vaxbuild/repos/gcc/gcc/loop-iv.c:54:
> /home/vaxbuild/repos/gcc/gcc/wide-int.h: In instantiation of 
> ‘fixed_wide_int_storage<N>::fixed_wide_int_storage(const T&) [with T = long 
> long unsigned int; int N = 160]’:
> /home/vaxbuild/repos/gcc/gcc/wide-int.h:724:15:   required from 
> ‘generic_wide_int<T>::generic_wide_int(const T&) [with T = long long unsigned 
> int; storage = fixed_wide_int_storage<160>]’
> /home/vaxbuild/repos/gcc/gcc/loop-iv.c:2628:48:   required from here
> /home/vaxbuild/repos/gcc/gcc/wide-int.h:1172:45: error: incomplete type 
> ‘wi::int_traits<long long unsigned int>’ used in nested name specifier
>    WI_BINARY_RESULT (T, FIXED_WIDE_INT (N)) *assertion ATTRIBUTE_UNUSED;
>                                              ^
> /home/vaxbuild/repos/gcc/gcc/wide-int.h:1173:47: error: incomplete type 
> ‘wi::int_traits<long long unsigned int>’ used in nested name specifier
>    wi::copy (*this, WIDE_INT_REF_FOR (T) (x, N));
>                                                ^
> make[1]: *** [loop-iv.o] Error 1

Looks like this is specific to 32-bit HOST_WIDE_INTs.  The problem was
that loop-iv.c was using HOST_WIDEST_INT and no template specialisations
were defined for that.

Richard B's patch to force HOST_WIDE_INT to 64 bits will fix this.

Thanks,
Richard

Reply via email to