diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-03-09 14:01:47 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-03-09 14:01:47 -0500 |
commit | fb13d4d024b03ae9c2e43171ebd43babd6ebb4e2 (patch) | |
tree | 0c173c0ea7357ad6956b8a86933712368ca50d23 /gcc/output.h | |
parent | 8051b17802cf05b70177ae9a370940ba677f1add (diff) | |
download | gcc-fb13d4d024b03ae9c2e43171ebd43babd6ebb4e2.zip gcc-fb13d4d024b03ae9c2e43171ebd43babd6ebb4e2.tar.gz gcc-fb13d4d024b03ae9c2e43171ebd43babd6ebb4e2.tar.bz2 |
except.c (can_throw): See through a SEQUENCE.
* except.c (can_throw): See through a SEQUENCE.
(nothrow_function_p): New fn.
* except.h: Declare it.
* function.c (current_function_nothrow): New var.
(prepare_function_start): Initialize it.
* output.h: Declare it.
* toplev.c (rest_of_compilation): Set it.
* dwarf2out.c (dwarf2out_begin_prologue): Use it.
From-SVN: r32449
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h index 160f124..97c6f2e 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -412,6 +412,11 @@ extern FILE *asm_out_file; extern int current_function_is_leaf; +/* Nonzero if function being compiled doesn't contain any instructions + that can throw an exception. This is set prior to final. */ + +extern int current_function_nothrow; + /* Nonzero if function being compiled doesn't modify the stack pointer (ignoring the prologue and epilogue). This is only valid after life_analysis has run. */ |