From bfa29ed4c3b6beae2ab02eb28d6b272b7ab647e6 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Fri, 19 Aug 2011 10:16:02 +0000 Subject: [PATCH] * opth-gen.awk: Do not declare target save/restore structures and functions if IN_RTS defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177894 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/opth-gen.awk | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c0c7b5..be47b95 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-19 Joseph Myers + + * opth-gen.awk: Do not declare target save/restore structures and + functions if IN_RTS defined. + 2011-08-19 Matthew Gretton-Dann PR target/49437 diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index 2bae695..541bc3e 100644 --- a/gcc/opth-gen.awk +++ b/gcc/opth-gen.awk @@ -127,7 +127,7 @@ print "" # Also, order the structure so that pointer fields occur first, then int # fields, and then char fields to provide the best packing. -print "#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)" +print "#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS)" print "" print "/* Structure to save/restore optimization and target specific options. */"; print "struct GTY(()) cl_optimization"; -- 2.7.4