From b61d924dce738c5815dca04930b0e465e146f611 Mon Sep 17 00:00:00 2001 From: Andrew MacLeod Date: Thu, 11 Dec 2014 14:57:00 +0000 Subject: [PATCH] gen-mul-tables.cc: Add insn-codes.h to include list for generator file. 2014-12-11 Andrew MacLeod * config/tilepro/gen-mul-tables.cc: Add insn-codes.h to include list for generator file. Add comment indicating it is a generated file. * config/tilepro/mul-tables.c: Update generated file. * config/tilegx/mul-tables.c: Likewise. From-SVN: r218624 --- gcc/ChangeLog | 7 +++++++ gcc/config/tilegx/mul-tables.c | 3 +++ gcc/config/tilepro/gen-mul-tables.cc | 4 ++++ gcc/config/tilepro/mul-tables.c | 3 +++ 4 files changed, 17 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa79ce977b9..66c9f1c9eee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-12-11 Andrew MacLeod + + * config/tilepro/gen-mul-tables.cc: Add insn-codes.h to include list + for generator file. Add comment indicating it is a generated file. + * config/tilepro/mul-tables.c: Update generated file. + * config/tilegx/mul-tables.c: Likewise. + 2014-12-11 Segher Boessenkool * combine.c (try_combine): Do not allow combining a PARALLEL I2 diff --git a/gcc/config/tilegx/mul-tables.c b/gcc/config/tilegx/mul-tables.c index a902299d817..8c986f5e3ce 100644 --- a/gcc/config/tilegx/mul-tables.c +++ b/gcc/config/tilegx/mul-tables.c @@ -18,6 +18,9 @@ along with GCC; see the file COPYING3. If not see . */ +/* Note this file is auto-generated from gen-mul-tables.cc. + Make any required changes there. */ + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/tilepro/gen-mul-tables.cc b/gcc/config/tilepro/gen-mul-tables.cc index 645fa32ea5e..32befa12478 100644 --- a/gcc/config/tilepro/gen-mul-tables.cc +++ b/gcc/config/tilepro/gen-mul-tables.cc @@ -1249,10 +1249,14 @@ main () printf (" along with GCC; see the file COPYING3. If not see\n"); printf (" . */\n"); printf ("\n"); + printf ("/* Note this file is auto-generated from gen-mul-tables.cc.\n"); + printf (" Make any required changes there. */\n"); + printf ("\n"); printf ("#include \"config.h\"\n"); printf ("#include \"system.h\"\n"); printf ("#include \"coretypes.h\"\n"); printf ("#include \"expr.h\"\n"); + printf ("#include \"insn-codes.h\"\n"); printf ("#include \"optabs.h\"\n"); printf ("#include \"%s-multiply.h\"\n\n", ARCH); create_insn_code_compression_table (); diff --git a/gcc/config/tilepro/mul-tables.c b/gcc/config/tilepro/mul-tables.c index c8eda94e7c1..b510e26916a 100644 --- a/gcc/config/tilepro/mul-tables.c +++ b/gcc/config/tilepro/mul-tables.c @@ -18,6 +18,9 @@ along with GCC; see the file COPYING3. If not see . */ +/* Note this file is auto-generated from gen-mul-tables.cc. + Make any required changes there. */ + #include "config.h" #include "system.h" #include "coretypes.h" -- 2.30.2