This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: we are starting the wide int merge
- From: Mike Stump <mikestump at comcast dot net>
- To: Mike & Elizabeth Stump <mikestump at comcast dot net>
- Cc: Jan-Benedict Glaw <jbglaw at lug-owl dot de>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 May 2014 16:52:51 -0700
- Subject: Re: we are starting the wide int merge
- Authentication-results: sourceware.org; auth=none
- References: <5368FD99 dot 2010607 at naturalbridge dot com> <A41D2B7B-480F-475B-B1CB-9FD001F5622C at comcast dot net> <20140506211747 dot GJ31532 at lug-owl dot de> <26FAA857-3084-4D75-AE89-3E24ADA98801 at comcast dot net>
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.