From cd2d75786a16e9c4688fcc4f6d9a6537ee77a015 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Thu, 27 Nov 2003 06:52:54 +0000 Subject: [PATCH] (current_gp): Don't use inline-asm for Intel compiler. (Logical change 1.130) --- src/ia64/tables-ia64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ia64/tables-ia64.c b/src/ia64/tables-ia64.c index 2fb2bb76..c6b2483d 100644 --- a/src/ia64/tables-ia64.c +++ b/src/ia64/tables-ia64.c @@ -401,7 +401,7 @@ _Uia64_get_kernel_table (unw_dyn_info_t *di) static inline unsigned long current_gp (void) { -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) register unsigned long gp __asm__("gp"); return gp; #elif HAVE_IA64INTRIN_H