From 604a6be92208db9abcbc799879413169e5e02c13 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek <jakub@redhat.com>
Date: Mon, 1 Jun 2009 21:41:43 +0200
Subject: [PATCH] i386.h (struct machine_cfa_state, [...]): Guard with ifndef
 USED_FOR_TARGET instead of not IN_LIBGCC2 and not in...

	* config/i386/i386.h (struct machine_cfa_state,
	struct machine_function): Guard with ifndef USED_FOR_TARGET
	instead of not IN_LIBGCC2 and not in IN_TARGET_LIBS.

From-SVN: r148065
---
 gcc/ChangeLog          | 4 ++++
 gcc/config/i386/i386.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0156562447db..b3bcfc57df4e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
 2009-06-01  Jakub Jelinek  <jakub@redhat.com>
 
+	* config/i386/i386.h (struct machine_cfa_state,
+	struct machine_function): Guard with ifndef USED_FOR_TARGET
+	instead of not IN_LIBGCC2 and not in IN_TARGET_LIBS.
+
 	PR other/40024
 	* emutls.c (__emutls_get_address): Change arr->size to mean number
 	of allocated arr->data entries instead of # of slots + 1.
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index fe8544ce3f3b..72dcf3265f76 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -2395,7 +2395,7 @@ enum ix86_stack_slot
 
 /* Machine specific CFA tracking during prologue/epilogue generation.  */
 
-#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)
+#ifndef USED_FOR_TARGET
 struct GTY(()) machine_cfa_state
 {
   rtx reg;
-- 
GitLab