From 8c6f7e0f35db86ab0bffe63bf0b104e5334a2151 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 3 Dec 2018 10:13:20 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/h8300/h8300.md | 1 + 2 files changed, 4 insertions(+) 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") -- 2.30.2