summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorchrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-01 14:34:44 +0000
committerchrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-01 14:34:44 +0000
commitc242f3f79af6e4b522f3c7a158d359ec16106743 (patch)
treef8bc7971e22a0e91de888369deed1d99ae7473b0 /gcc
parente87a698f26373bcb4bf1ce59ad0c27d50e3afe41 (diff)
downloadgcc-c242f3f79af6e4b522f3c7a158d359ec16106743.tar.gz
set LABEL_PRESERVE_P for landing pad labels
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157146 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 b2d7fed02d7..a70aceba4f2 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 8012d781834..bdf98ef4c02 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)