h8300.md (<code>qi3_1): Add gcc_unreachable to keep warnings quiet.
authorJeff Law <law@redhat.com>
Mon, 3 Dec 2018 17:13:20 +0000 (10:13 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 3 Dec 2018 17:13:20 +0000 (10:13 -0700)
* config/h8300/h8300.md (<code>qi3_1): Add gcc_unreachable to keep
warnings quiet.

From-SVN: r266762

gcc/ChangeLog
gcc/config/h8300/h8300.md

index be0aab2..36906e3 100644 (file)
@@ -1,5 +1,8 @@
 2018-12-03  Jeff Law  <law@redhat.com>
 
+       * config/h8300/h8300.md (<code>qi3_1): Add gcc_unreachable to keep
+       warnings quiet.
+
        * config/h8300/h8300.md (low byte masking peepholes): Only accept
        nonimmediate_operand for the to-be-masked operand.
 
index 9e8f715..84b2e4f 100644 (file)
       return <CODE> == IOR ? "bset\\t%V2,%R0" : "bnot\\t%V2,%R0"; 
     else if (which_alternative == 1)
       return <CODE> == IOR ? "or\\t%X2,%X0" : "xor\\t%X2,%X0";
+    gcc_unreachable ();
   }
   [(set_attr "length" "8,*")
    (set_attr "length_table" "*,logicb")