This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47401] Support for must-not-throw regions with SJLJ exceptions broken
- From: "uweigand at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jan 2011 21:25:02 +0000
- Subject: [Bug middle-end/47401] Support for must-not-throw regions with SJLJ exceptions broken
- Auto-submitted: auto-generated
- References: <bug-47401-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47401
--- Comment #5 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2011-01-22 21:24:57 UTC ---
Author: uweigand
Date: Sat Jan 22 21:24:54 2011
New Revision: 169134
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169134
Log:
PR middle-end/47401
* except.c (sjlj_assign_call_site_values): Move setting the
crtl->uses_eh_lsda flag to ...
(sjlj_mark_call_sites): ... here.
(sjlj_emit_function_enter): Support NULL dispatch label.
(sjlj_build_landing_pads): In a function with no landing pads
that still has must-not-throw regions, generate code to register
a personality function with empty LSDA.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/except.c