From: ivmai Date: Fri, 4 Dec 2009 10:20:18 +0000 (+0000) Subject: 2009-12-04 Ivan Maidanski X-Git-Tag: gc7_2alpha5-20110107~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16780405c899f01119bc45167122b4242f6b34fb;p=gc 2009-12-04 Ivan Maidanski * mark_rts.c (GC_approx_sp): Add a comment (for GCC). --- diff --git a/ChangeLog b/ChangeLog index 69cb86fb..5b42b268 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-12-04 Ivan Maidanski + + * mark_rts.c (GC_approx_sp): Add a comment (for GCC). + 2009-12-04 Ivan Maidanski * include/gc_version.h, configure.ac, doc/README: Change to diff --git a/mark_rts.c b/mark_rts.c index f53393e5..8afefdc2 100644 --- a/mark_rts.c +++ b/mark_rts.c @@ -365,6 +365,8 @@ GC_INNER ptr_t GC_approx_sp(void) /* later accesses might cause the kernel to think we're */ /* doing something wrong. */ return((ptr_t)sp); + /* GNU C: alternatively, we may return the value of */ + /*__builtin_frame_address(0). */ } /*