From: Jeff Law Date: Mon, 3 Dec 2018 17:13:20 +0000 (-0700) Subject: h8300.md (qi3_1): Add gcc_unreachable to keep warnings quiet. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c6f7e0f35db86ab0bffe63bf0b104e5334a2151;p=gcc.git h8300.md (qi3_1): Add gcc_unreachable to keep warnings quiet. * config/h8300/h8300.md (qi3_1): Add gcc_unreachable to keep warnings quiet. From-SVN: r266762 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be0aab2c876..36906e314b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-12-03 Jeff Law + * config/h8300/h8300.md (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. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 9e8f7159846..84b2e4f2bf9 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -1629,6 +1629,7 @@ return == IOR ? "bset\\t%V2,%R0" : "bnot\\t%V2,%R0"; else if (which_alternative == 1) return == IOR ? "or\\t%X2,%X0" : "xor\\t%X2,%X0"; + gcc_unreachable (); } [(set_attr "length" "8,*") (set_attr "length_table" "*,logicb")