* unwind-dw2.c (execute_stack_op): Add default aborts to
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Aug 2001 00:09:46 +0000 (00:09 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Aug 2001 00:09:46 +0000 (00:09 +0000)
the inner switches to prevent warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45014 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/unwind-dw2.c

index 390955d..61ff995 100644 (file)
@@ -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.
index 16f6bce..c56116b 100644 (file)
@@ -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;