diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2003-09-18 20:47:38 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2003-09-18 16:47:38 -0400 |
commit | 19ae544530188caba340362af6878f3224a83eab (patch) | |
tree | c86de8d94e0aeac6a19460549976063f8ca42816 /gcc/except.c | |
parent | 5ae6cd0d1b33941dc142292062ff565cd99e4504 (diff) | |
download | gcc-19ae544530188caba340362af6878f3224a83eab.zip gcc-19ae544530188caba340362af6878f3224a83eab.tar.gz gcc-19ae544530188caba340362af6878f3224a83eab.tar.bz2 |
except.c (output_function_exception_table): Adjust last change to handle TYPE of INTEGER_CST.
* except.c (output_function_exception_table): Adjust last change
to handle TYPE of INTEGER_CST.
From-SVN: r71540
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/except.c b/gcc/except.c index 6745dd1..220835e 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -3707,12 +3707,14 @@ output_function_exception_table (void) /* Let cgraph know that the rtti decl is used. Not all of the paths below go through assemble_integer, which would take care of this for us. */ - if (TREE_CODE (type) != ADDR_EXPR) + if (TREE_CODE (type) == ADDR_EXPR) + { + node = cgraph_varpool_node (type); + if (node) + cgraph_varpool_mark_needed_node (node); + } + else if (TREE_CODE (type) != INTEGER_CST) abort (); - type = TREE_OPERAND (type, 0); - node = cgraph_varpool_node (type); - if (node) - cgraph_varpool_mark_needed_node (node); } if (tt_format == DW_EH_PE_absptr || tt_format == DW_EH_PE_aligned) |