aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Bruel <christian.bruel@st.com>2010-03-01 15:34:44 +0100
committerChristian Bruel <chrbr@gcc.gnu.org>2010-03-01 15:34:44 +0100
commitc40b54006825ba8fe4e0f3aa9a60a260288e327f (patch)
treef8bc7971e22a0e91de888369deed1d99ae7473b0
parent004d69737264111c27269a4f4df01484a513bb44 (diff)
downloadgcc-c40b54006825ba8fe4e0f3aa9a60a260288e327f.zip
gcc-c40b54006825ba8fe4e0f3aa9a60a260288e327f.tar.gz
gcc-c40b54006825ba8fe4e0f3aa9a60a260288e327f.tar.bz2
set LABEL_PRESERVE_P for landing pad labels
From-SVN: r157146
-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)