diff mbox

Second basic-block.h restructuring patch.

Message ID 54468A23.2000309@redhat.com
State New
Headers show

Commit Message

Andrew MacLeod Oct. 21, 2014, 4:30 p.m. UTC
On 10/21/2014 11:48 AM, Jiong Wang wrote:
>
>>
>> bootstraps on x86_64-unknown-linux-gnu, and regressions are running... I
>> expect no regressions because of the nature of the changes.   OK to
>> check in assuming everything is OK?
>
> Happen to start a fresh build
>
> ../gcc/configure --target=arm-none-linux-gnueabihf 
> --enable-languages=c,c++
>
> with the following error.
>
> cnumber -I../../gcc/gcc/../libbacktrace    -o loop-doloop.o -MT 
> loop-doloop.o -MMD -MP -MF ./.deps/loop-doloop.TPo 
> ../../gcc/gcc/loop-doloop.c
> ../../gcc/gcc/loop-doloop.c: In function ‘bool add_test(rtx, 
> edge_def**, basic_block)’:
> ../../gcc/gcc/loop-doloop.c:371:38: error: ‘split_edge_and_insert’ was 
> not declared in this scope
>
>
Try the following patch.

Apparently missed because that target is not in contrib/config-list.mk 
and no other target must have enabled that code path. Seems to work now.

checked in as obvious.

Andrew

Comments

Jiong Wang Oct. 21, 2014, 4:42 p.m. UTC | #1
On 21/10/14 17:30, Andrew MacLeod wrote:
> Try the following patch.
>
> Apparently missed because that target is not in contrib/config-list.mk
> and no other target must have enabled that code path. Seems to work now.
>
> checked in as obvious.

verified OK, thanks.
Regards,

Jiong

>
> Andrew
diff mbox

Patch


	* loop-doloop.c: Include loop-unroll.h.

Index: loop-doloop.c
===================================================================
--- loop-doloop.c	(revision 216517)
+++ loop-doloop.c	(working copy)
@@ -33,6 +33,7 @@ 
 #include "params.h"
 #include "target.h"
 #include "dumpfile.h"
+#include "loop-unroll.h"
 
 /* This module is used to modify loops with a determinable number of
    iterations to use special low-overhead looping instructions.