https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469
Bug ID: 66469 Summary: config/rl78/rl78.c:679: possible bad array index ? Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- [trunk/gcc/config/rl78/rl78.c:679]: (style) Array index 'regno' is used before limits check. if (!crtl->is_leaf && call_used_regs[regno] && regno < 22) Possible minor tidy up to put the sanity check before the use.