unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.
authorRoger Sayle <roger@eyesopen.com>
Sun, 2 Nov 2003 00:00:08 +0000 (00:00 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 2 Nov 2003 00:00:08 +0000 (00:00 +0000)
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
of NULL.

From-SVN: r73184

gcc/ChangeLog
gcc/unwind-sjlj.c

index 76ef0df3caf340e7ae36d4baa4fe474e07ed80d9..73a9401b6262f293ddbcea8e94477599f2ec3a98 100644 (file)
@@ -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
index a02fc325a78c6755f99991b18cf7af2282ddca9b..505bb86dc5ae6f4464d83b2d3327db3e4ed809a9 100644 (file)
@@ -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