Patch: typo in _Jv_Sjlj_Throw

Jeff Sturm jsturm@sigma6.com
Sat Mar 11 11:38:00 GMT 2000


The new Java-style exception handling in cp/except.c broke
setjmp/longjmp exceptions because of a typo:


2000-03-11  Jeff Sturm  <jsturm@sigma6.com>

        * except.c (expand_throw): Fix typo in _Jv_Sjlj_Throw.

Index: gcc/cp/except.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/except.c,v
retrieving revision 1.103
diff -u -r1.103 except.c
--- except.c    2000/03/11 09:00:13     1.103
+++ except.c    2000/03/11 18:45:07
@@ -834,7 +834,7 @@
       tree args = tree_cons (NULL_TREE, exp, NULL);
 
       fn = get_identifier (exceptions_via_longjmp
-                          ? "_Jv_Sjlj_throw"
+                          ? "_Jv_Sjlj_Throw"
                           : "_Jv_Throw");
       if (IDENTIFIER_GLOBAL_VALUE (fn))
        fn = IDENTIFIER_GLOBAL_VALUE (fn);


More information about the Gcc-patches mailing list