aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/except.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b2d7fed..a70aceb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-01 Christian Bruel <christian.bruel@st.com>
+
+ * except.c (dw2_build_landing_pads): set LABEL_PRESERVE_P.
+
2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64.
diff --git a/gcc/except.c b/gcc/except.c
index 8012d78..bdf98ef 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -974,6 +974,7 @@ dw2_build_landing_pads (void)
lp->landing_pad = gen_label_rtx ();
emit_label (lp->landing_pad);
+ LABEL_PRESERVE_P (lp->landing_pad) = 1;
#ifdef HAVE_exception_receiver
if (HAVE_exception_receiver)