This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Dataflow] Fix spu-elf build
- From: Andrew Pinski <pinskia at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Dec 2006 20:08:09 -0800
- Subject: [Dataflow] Fix spu-elf build
Like:
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00574.html
The SPU target used flow2_completed, this converts that use over to
epilogue_completed instead.
Committed after a build and test on spu-elf on the dataflow branch.
Thanks,
Andrew Pinski
ChangeLog:
* config/spu/spu.c (immediate_load_p): Change usage of
flow2_completed over to epilogue_completed.
Index: config/spu/spu.c
===================================================================
--- config/spu/spu.c (revision 120165)
+++ config/spu/spu.c (working copy)
@@ -2330,7 +2330,7 @@ immediate_load_p (rtx op, enum machine_m
if (CONSTANT_P (op))
{
enum immediate_class c = classify_immediate (op, mode);
- return c == IC_IL1 || (!flow2_completed && c == IC_IL2);
+ return c == IC_IL1 || (!epilogue_completed && c == IC_IL2);
}
return 0;
}