1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-30 21:21:45 +02:00

(a): If not compiling with GCC, explain that there is no hope of exercising this

test.

(Logical change 1.68)
This commit is contained in:
mostang.com!davidm 2003-03-27 04:29:07 +00:00
parent 753601f8b0
commit 797322b3b4

View file

@ -94,6 +94,7 @@ a (void)
{ {
long stack; long stack;
#ifdef __GNUC__
if (verbose) if (verbose)
printf ("a: sp=%p bsp=%p\n", &stack, __builtin_ia64_bsp ()); printf ("a: sp=%p bsp=%p\n", &stack, __builtin_ia64_bsp ());
b (&&handler); b (&&handler);
@ -112,6 +113,10 @@ a (void)
__builtin_ia64_bsp() gets predicated. */ __builtin_ia64_bsp() gets predicated. */
getpid (); getpid ();
} }
#else
if (verbose)
printf ("a: this test only works with GNU C compiler.\n");
#endif
return 0; return 0;
} }