This is the mail archive of the gcc-patches@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]

Patch: typo in _Jv_Sjlj_Throw


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);

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