From 797322b3b461c7e71d1d072227b5aa65a9ff31fa Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 27 Mar 2003 04:29:07 +0000 Subject: [PATCH] (a): If not compiling with GCC, explain that there is no hope of exercising this test. (Logical change 1.68) --- tests/Gtest-exc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Gtest-exc.c b/tests/Gtest-exc.c index 0dea89dd..49e21750 100644 --- a/tests/Gtest-exc.c +++ b/tests/Gtest-exc.c @@ -94,6 +94,7 @@ a (void) { long stack; +#ifdef __GNUC__ if (verbose) printf ("a: sp=%p bsp=%p\n", &stack, __builtin_ia64_bsp ()); b (&&handler); @@ -112,6 +113,10 @@ a (void) __builtin_ia64_bsp() gets predicated. */ getpid (); } +#else + if (verbose) + printf ("a: this test only works with GNU C compiler.\n"); +#endif return 0; }