public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] tilepro: Update generator file to define IN_TARGET_CODE in target file.
@ 2020-05-31 10:48 Iain Buclaw
  2020-08-17  7:58 ` [PING][PATCH] " Iain Buclaw
  0 siblings, 1 reply; 3+ messages in thread
From: Iain Buclaw @ 2020-05-31 10:48 UTC (permalink / raw)
  To: gcc-patches; +Cc: walt, richard.sandiford, Iain Buclaw

Hi,

The target files tilegx/mul-tables.c and tilepri/mul-tables.c were
updated in SVN r255743, but the generator file that produces them
wasn't, so it was reverting this change during builds.

Only tested by running make all-gcc for all tile*-*-* targets present in
config-list.mk.

OK?

Regards
Iain

---
gcc/ChangeLog:

	* config/tilepro/gen-mul-tables.cc (main): Define IN_TARGET_CODE to 1
	in the target file.
---
 gcc/config/tilepro/gen-mul-tables.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/tilepro/gen-mul-tables.cc b/gcc/config/tilepro/gen-mul-tables.cc
index 2a345023aea..7f9fb65dc2f 100644
--- a/gcc/config/tilepro/gen-mul-tables.cc
+++ b/gcc/config/tilepro/gen-mul-tables.cc
@@ -1252,6 +1252,8 @@ main ()
   printf ("/* Note this file is auto-generated from gen-mul-tables.cc.\n");
   printf ("   Make any required changes there.  */\n");
   printf ("\n");
+  printf ("#define IN_TARGET_CODE 1\n");
+  printf ("\n");
   printf ("#include \"config.h\"\n");
   printf ("#include \"system.h\"\n");
   printf ("#include \"coretypes.h\"\n");
-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-24 23:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 10:48 [PATCH] tilepro: Update generator file to define IN_TARGET_CODE in target file Iain Buclaw
2020-08-17  7:58 ` [PING][PATCH] " Iain Buclaw
2020-08-24 23:25   ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).