diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-19 00:09:46 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-19 00:09:46 +0000 |
commit | 4edf665da264d8ae0048bb4b1b09a724b02e4b8a (patch) | |
tree | 0ee479f9053678c7375cbbfd5f7b56e247344bce /gcc/unwind-dw2.c | |
parent | 9278031cb73a86abbf16dd767a5c68828d7922d1 (diff) | |
download | gcc-4edf665da264d8ae0048bb4b1b09a724b02e4b8a.tar.gz |
* unwind-dw2.c (execute_stack_op): Add default aborts to
the inner switches to prevent warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r-- | gcc/unwind-dw2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index 16f6bceb5c9..c56116b62c4 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -563,6 +563,9 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end, op_ptr = read_uleb128 (op_ptr, &ptrtmp); reg = ptrtmp; result += reg; break; + + default: + abort (); } break; @@ -640,6 +643,9 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end, case DW_OP_ne: result = (_Unwind_Sword)first != (_Unwind_Sword)second; break; + + default: + abort (); } } break; |