1 Jul 2010 01:07
Re: breaking cris-elf build with "Re: [RTL] move rtl diagnostics out of toplev.h"
Hans-Peter Nilsson <hp <at> bitrange.com>
2010-06-30 23:07:21 GMT
2010-06-30 23:07:21 GMT
On Thu, 1 Jul 2010, Manuel López-Ibáñez wrote: > On 1 July 2010 00:05, Hans-Peter Nilsson <hp <at> bitrange.com> wrote: > > libbackend.a(recog.o): In function `constrain_operands': > > /tmp/hpautotest-gcc1/gcc/gcc/recog.c:2616: undefined reference > > to `exact_log2' > > libbackend.a(recog.o): In function `asm_operand_ok': > > /tmp/hpautotest-gcc1/gcc/gcc/recog.c:1756: undefined reference > > to `exact_log2' > > libbackend.a(reload.o): In function `find_reloads': > > /tmp/hpautotest-gcc1/gcc/gcc/reload.c:3363: undefined reference > > to `exact_log2' > > collect2: ld returned 1 exit status > > > > with "warning: implicit declaration of function 'exact_log2'" > > when compiling reload.c and recog.c, probably due to exact_log2 > > being used in CONST_OK_FOR_CONSTRAINT_P. > > > > I'm lost in this new scheme of moving includes around, but you > > should know. What's the best course of action besides moving to > > constraints.md? > > For every file that produces such error, just include toplev.h > > #include "toplev.h" /* exact_log2 */ > > after everything else. I will do it for you if you give me the list of > files affected. Thanks, the list seen in the quoted buildlog above is complete.(Continue reading)
RSS Feed