diff mbox

[buildrobot] c6x.c: `mark_addressable' not declared

Message ID 20131113101813.GA30563@lug-owl.de
State New
Headers show

Commit Message

Jan-Benedict Glaw Nov. 13, 2013, 10:18 a.m. UTC
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".



Ok?

MfG, JBG

Comments

Richard Biener Nov. 13, 2013, 11:09 a.m. UTC | #1
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.

> MfG, JBG
>
> --
>       Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
> Signature of:            http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
> the second  :
Andrew MacLeod Nov. 13, 2013, 2:13 p.m. UTC | #2
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
diff mbox

Patch

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