This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
__builtin_longjmp & early gcc versions
- To: gcc at gcc dot gnu dot org
- Subject: __builtin_longjmp & early gcc versions
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Fri, 2 Mar 2001 17:03:15 +1100
Anyone know if there were problems with __builtin_setjmp() or
__builtin_longjmp() in any gcc versions >= 2.7?
When I added code that uses __builtin_setjmp() to the Mercury implementation
(the back-end that compiles to C, not the one that hooks up directly with the
GCC back-end), I tested it with gcc 2.7.2.3 on SuSE 6.3, and it worked fine.
But I got a report from a user who said he was using gcc 2.7.2.3 on Debian,
saying that with his version of gcc __builtin_setjmp and __builtin_longjmp
were not defined. That seemed odd to me; is gcc 2.7.2.3 different in this
respect on SuSE than on Debian??
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.