summaryrefslogtreecommitdiffstats
path: root/gcc/except.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-25 23:43:43 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-25 23:43:43 +0000
commit4642b20509ae69830c44ffc3f59d9b86088c7fdb (patch)
tree6156335a45a8824c4127a4a8fb96fa8c5f78b50c /gcc/except.c
parent0ce25b06293a6daa30df18c6745b28d893325fff (diff)
downloadppe42-gcc-4642b20509ae69830c44ffc3f59d9b86088c7fdb.tar.gz
ppe42-gcc-4642b20509ae69830c44ffc3f59d9b86088c7fdb.zip
* except.h (can_throw): Declare it.
* except.c (can_throw): Give it external linkage. * resource.c (find_dead_or_set_registers): Use can_throw. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 627c32ffbf4..db9a58f9851 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -463,7 +463,6 @@ static void start_dynamic_cleanup PARAMS ((tree, tree));
static void start_dynamic_handler PARAMS ((void));
static void expand_rethrow PARAMS ((rtx));
static void output_exception_table_entry PARAMS ((FILE *, int));
-static int can_throw PARAMS ((rtx));
static rtx scan_region PARAMS ((rtx, int, int *));
static void eh_regs PARAMS ((rtx *, rtx *, rtx *, int));
static void set_insn_eh_region PARAMS ((rtx *, int));
@@ -2688,12 +2687,11 @@ free_eh_status (f)
}
/* This section is for the exception handling specific optimization
- pass. First are the internal routines, and then the main
- optimization pass. */
+ pass. */
/* Determine if the given INSN can throw an exception. */
-static int
+int
can_throw (insn)
rtx insn;
{
OpenPOWER on IntegriCloud