summaryrefslogtreecommitdiff
path: root/gcc/opth-gen.awk
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-19 10:16:02 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-19 10:16:02 +0000
commitbfa29ed4c3b6beae2ab02eb28d6b272b7ab647e6 (patch)
tree92bf0d0ee55d105535f91426460454718e29461f /gcc/opth-gen.awk
parentde98d72103464068aa59a83859a48e478478174e (diff)
downloadgcc-bfa29ed4c3b6beae2ab02eb28d6b272b7ab647e6.tar.gz
* 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
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r--gcc/opth-gen.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index 2bae6953399..541bc3ea596 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";