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: we are starting the wide int merge


On May 6, 2014, at 3:54 PM, Mike Stump <mikestump@comcast.net> wrote:
> 
>> My build robot experiences errors like this:
>> 
>> 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/jbglaw/repos/gcc/gcc -I/home/jbglaw/repos/gcc/gcc/. -I/home/jbglaw/repos/gcc/gcc/../include -I/home/jbglaw/repos/gcc/gcc/../libcpp/include -I/opt/cfarm/gmp-latest/include -I/opt/cfarm/mpfr-latest/include -I/opt/cfarm/mpc-latest/include  -I/home/jbglaw/repos/gcc/gcc/../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libbacktrace    -o alias.o -MT alias.o -MMD -MP -MF ./.deps/alias.TPo /home/jbglaw/repos/gcc/gcc/alias.c
>> In file included from /home/jbglaw/repos/gcc/gcc/real.h:25:0,
>>                from /home/jbglaw/repos/gcc/gcc/rtl.h:27,
>>                from /home/jbglaw/repos/gcc/gcc/alias.c:25:
>> /home/jbglaw/repos/gcc/gcc/wide-int.h: In instantiation of 'bool wi::ltu_p(const T1&, const T2&) [with T1 = generic_wide_int<wi::extended_tree<96> >; T2 = long int]':
>> /home/jbglaw/repos/gcc/gcc/alias.c:346:28:   required from here
>> /home/jbglaw/repos/gcc/gcc/wide-int.h:1787:25: error: incomplete type 'wi::int_traits<long int>' used in nested name specifier
>>  WIDE_INT_REF_FOR (T2) yi (y, precision);
> 
> I’m pretty sure this:

I checked this in, sorry for the breakage.

	* wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.

Committed revision 210128.

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