aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-11-02 00:00:08 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-11-02 00:00:08 +0000
commitd234bf6133a6fcf1d3caedd0669a4bbbc2c936ad (patch)
treee20cc0d85a84fb6cc4b38b1b7e8999ad740e55be
parent0527bc4ebf78a3e1ae984f978fb4f7118a180add (diff)
downloadgcc-d234bf6133a6fcf1d3caedd0669a4bbbc2c936ad.zip
gcc-d234bf6133a6fcf1d3caedd0669a4bbbc2c936ad.tar.gz
gcc-d234bf6133a6fcf1d3caedd0669a4bbbc2c936ad.tar.bz2
unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL. From-SVN: r73184
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unwind-sjlj.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 76ef0df..73a9401 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-01 Roger Sayle <roger@eyesopen.com>
+
+ * unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
+ of NULL.
+
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR preprocessor/12847
diff --git a/gcc/unwind-sjlj.c b/gcc/unwind-sjlj.c
index a02fc32..505bb86 100644
--- a/gcc/unwind-sjlj.c
+++ b/gcc/unwind-sjlj.c
@@ -185,7 +185,7 @@ _Unwind_Word
_Unwind_GetCFA (struct _Unwind_Context *context __attribute__((unused)))
{
/* ??? Ideally __builtin_setjmp places the CFA in the jmpbuf. */
- return NULL;
+ return (_Unwind_Word) 0;
}
void