[Bug target/54747] New: config/bfin/bfin.c:2721: possible missing break ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Sep 29 11:12:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54747
Bug #: 54747
Summary: config/bfin/bfin.c:2721: possible missing break ?
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dcb314@hotmail.com
Target: bfin
case POST_DEC:
if (LEGITIMATE_MODE_FOR_AUTOINC_P (mode)
&& REG_P (XEXP (x, 0))
&& bfin_valid_reg_p (REGNO (XEXP (x, 0)), strict, mode, POST_INC))
return true;
case PRE_DEC:
Looking at the rest of the switch statement, it might be true
that there is a missing break.
If not, suggest document the fallthrough with a comment.
More information about the Gcc-bugs
mailing list