This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__builtin_longjmp & early gcc versions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]