From bf04e70f3becda2af55d1d6101de8ee923ccac0e Mon Sep 17 00:00:00 2001 From: hubicka Date: Wed, 1 Jun 2005 12:07:50 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 5 +++++ gcc/basic-block.h | 3 --- gcc/except.c | 15 ++------------- 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 + + * except.c (struct eh_region): Kill unused fields. + * basic-block.h (struct basic_block_def): Likewise. + 2005-06-01 J"orn Rennecke 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) -- 2.7.4