aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-06-01 14:07:50 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-06-01 12:07:50 +0000
commit6617c91459edc0125867073a86441dfdc1786965 (patch)
tree26cc8b7b5011718c9b8abc60c2fb927b0c276414
parent5fffc382a653d195d175a0e03f0262fb07962a3e (diff)
downloadgcc-6617c91459edc0125867073a86441dfdc1786965.zip
gcc-6617c91459edc0125867073a86441dfdc1786965.tar.gz
gcc-6617c91459edc0125867073a86441dfdc1786965.tar.bz2
except.c (struct eh_region): Kill unused fields.
* except.c (struct eh_region): Kill unused fields. * basic-block.h (struct basic_block_def): Likewise. From-SVN: r100449
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/basic-block.h3
-rw-r--r--gcc/except.c15
3 files changed, 7 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0c87790..45feeac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-01 Jan Hubicka <jh@suse.cz>
+
+ * except.c (struct eh_region): Kill unused fields.
+ * basic-block.h (struct basic_block_def): Likewise.
+
2005-06-01 J"orn Rennecke <joern.rennecke@st.com>
PR rtl-optimization/21767
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index da5e451..ad89fa5 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -265,9 +265,6 @@ struct basic_block_def GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb")
/* Various flags. See BB_* below. */
int flags;
-
- /* Which section block belongs in, when partitioning basic blocks. */
- int partition;
};
typedef struct basic_block_def *basic_block;
diff --git a/gcc/except.c b/gcc/except.c
index 7859412..c10fc88 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -139,8 +139,7 @@ struct eh_region GTY(())
ERT_CATCH,
ERT_ALLOWED_EXCEPTIONS,
ERT_MUST_NOT_THROW,
- ERT_THROW,
- ERT_FIXUP
+ ERT_THROW
} type;
/* Holds the action to perform based on the preceding type. */
@@ -150,8 +149,6 @@ struct eh_region GTY(())
struct eh_region_u_try {
struct eh_region *catch;
struct eh_region *last_catch;
- struct eh_region *prev_try;
- rtx continue_label;
} GTY ((tag ("ERT_TRY"))) try;
/* The list through the catch handlers, the list of type objects
@@ -180,13 +177,6 @@ struct eh_region GTY(())
struct eh_region_u_cleanup {
struct eh_region *prev_try;
} GTY ((tag ("ERT_CLEANUP"))) cleanup;
-
- /* The real region (by expression and by pointer) that fixup code
- should live in. */
- struct eh_region_u_fixup {
- struct eh_region *real_region;
- bool resolved;
- } GTY ((tag ("ERT_FIXUP"))) fixup;
} GTY ((desc ("%0.type"))) u;
/* Entry point for this region's handler before landing pads are built. */
@@ -2430,7 +2420,6 @@ reachable_next_level (struct eh_region *region, tree type_thrown,
return RNL_BLOCKED;
case ERT_THROW:
- case ERT_FIXUP:
case ERT_UNKNOWN:
/* Shouldn't see these here. */
gcc_unreachable ();
@@ -3614,7 +3603,7 @@ dump_eh_tree (FILE *out, struct function *fun)
int depth = 0;
static const char * const type_name[] = {"unknown", "cleanup", "try", "catch",
"allowed_exceptions", "must_not_throw",
- "throw", "fixup"};
+ "throw"};
i = fun->eh->region_tree;
if (! i)