diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-01 12:07:50 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-01 12:07:50 +0000 |
commit | bf04e70f3becda2af55d1d6101de8ee923ccac0e (patch) | |
tree | 26cc8b7b5011718c9b8abc60c2fb927b0c276414 /gcc | |
parent | dfc4de0a4a9423f20143326387a74ac9bfb2a67e (diff) | |
download | gcc-bf04e70f3becda2af55d1d6101de8ee923ccac0e.tar.gz |
* except.c (struct eh_region): Kill unused fields.
* basic-block.h (struct basic_block_def): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/basic-block.h | 3 | ||||
-rw-r--r-- | gcc/except.c | 15 |
3 files changed, 7 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c877904a09..45feeac34e5 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 da5e4510209..ad89fa5b69e 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 78594122e5d..c10fc883df7 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) |