mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 03:09:01 +08:00
unwind-dw2.c (execute_stack_op): Add default aborts to the inner switches to prevent warnings.
* unwind-dw2.c (execute_stack_op): Add default aborts to the inner switches to prevent warnings. From-SVN: r45014
This commit is contained in:
parent
20cc76d56e
commit
5ed3149cb0
@ -1,3 +1,8 @@
|
||||
2001-08-18 Zack Weinberg <zackw@panix.com>
|
||||
|
||||
* unwind-dw2.c (execute_stack_op): Add default aborts to
|
||||
the inner switches to prevent warnings.
|
||||
|
||||
2001-08-18 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* timevar.h (struct timevar_time_def): Change element type to float.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user