diff options
author | Jan Hubicka <jh@suse.cz> | 2009-03-27 23:47:27 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-03-27 22:47:27 +0000 |
commit | 0387122d055068bd3f76eb14f3b5f2ee77f21aee (patch) | |
tree | 9b561db626c905d574c4e3a7beeb324a5c4434bd /gcc/cp | |
parent | 5fbd944721c275a13c19ebf83ee76eb51732d9ae (diff) | |
download | gcc-0387122d055068bd3f76eb14f3b5f2ee77f21aee.zip gcc-0387122d055068bd3f76eb14f3b5f2ee77f21aee.tar.gz gcc-0387122d055068bd3f76eb14f3b5f2ee77f21aee.tar.bz2 |
except.c (choose_personality_routine): Set terminate_node to abort for java exceptions.
* except.c (choose_personality_routine): Set terminate_node to abort
for java exceptions.
From-SVN: r145140
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/except.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 477e84b..124a3e9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2009-03-27 Jan Hubicka <jh@suse.cz> + + * except.c (choose_personality_routine): Set terminate_node to abort + for java exceptions. + 2009-03-27 Dodji Seketeli <dodji@redhat.com> Jakub Jelinek <jakub@redhat.com> diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 7813d08..2638ccc 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -353,6 +353,7 @@ choose_personality_routine (enum languages lang) case lang_java: state = chose_java; + terminate_node = built_in_decls [BUILT_IN_ABORT]; eh_personality_libfunc = init_one_libfunc (USING_SJLJ_EXCEPTIONS ? "__gcj_personality_sj0" : "__gcj_personality_v0"); |