diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0155-PR-tree-optimization-48611.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0155-PR-tree-optimization-48611.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0155-PR-tree-optimization-48611.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0155-PR-tree-optimization-48611.patch new file mode 100644 index 0000000000..72651fbe9a --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0155-PR-tree-optimization-48611.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 0e3879bf21f04b54b0849f3a86c20359f965e12a Mon Sep 17 00:00:00 2001 | ||
2 | From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Wed, 20 Apr 2011 18:19:47 +0000 | ||
4 | Subject: [PATCH 155/200] PR tree-optimization/48611 | ||
5 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | ||
6 | beyond ERT_MUST_NOT_THROW region. | ||
7 | |||
8 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172786 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
9 | |||
10 | index f189b9b..0d6158b 100644 | ||
11 | --- a/gcc/tree-eh.c | ||
12 | +++ b/gcc/tree-eh.c | ||
13 | @@ -849,6 +849,8 @@ note_eh_region_may_contain_throw (eh_region region) | ||
14 | { | ||
15 | while (bitmap_set_bit (eh_region_may_contain_throw_map, region->index)) | ||
16 | { | ||
17 | + if (region->type == ERT_MUST_NOT_THROW) | ||
18 | + break; | ||
19 | region = region->outer; | ||
20 | if (region == NULL) | ||
21 | break; | ||
22 | -- | ||
23 | 1.7.0.4 | ||
24 | |||