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: [buildrobot] [PATCH] c6x.c: `mark_addressable' not declared


On 11/13/2013 06:09 AM, Richard Biener wrote:
On Wed, Nov 13, 2013 at 11:18 AM, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
Hi Andrew!

Some fallout for tic6x-uclinux:

g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -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/home/jbglaw/repos/gcc/gcc/../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libbacktrace    -o c6x.o -MT c6x.o -MMD -MP -MF ./.deps/c6x.TPo /home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c
/home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c: In function ‘bool c6x_expand_movmem(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’:
/home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c:1723: error: ‘mark_addressable’ was not declared in this scope
/home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c:1725: error: ‘mark_addressable’ was not declared in this scope
/home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c: In function ‘rtx_def* c6x_expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)’:
/home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c:6654: warning: comparison between signed and unsigned integer expressions
/home/jbglaw/repos/gcc/gcc/config/c6x/c6x.c:6659: warning: comparison between signed and unsigned integer expressions
make[1]: *** [c6x.o] Error 1

(See http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=28623 .
The signed-unsigned is actually old, will not touch it right now.)

This is needed to make it build:


2013-11-13  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

         * config/c6x/c6x.c: Include "gimple-expr.h".

diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c
index a7c3683..a37e02f 100644
--- a/gcc/config/c6x/c6x.c
+++ b/gcc/config/c6x/c6x.c
@@ -52,6 +52,7 @@
  #include "hw-doloop.h"
  #include "regrename.h"
  #include "dumpfile.h"
+#include "gimple-expr.h"

  /* Table of supported architecture variants.  */
  typedef struct


Ok?
Ok.

Thanks,
Richard.



Thanks!
Andrew


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