Commit 6617c914 by Jan Hubicka Committed by Jan Hubicka

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
parent 5fffc382
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
......
......@@ -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;
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment