public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66469] New: config/rl78/rl78.c:679: possible bad array index ?
@ 2015-06-09  8:17 dcb314 at hotmail dot com
  2020-11-06 22:03 ` [Bug target/66469] " egallager at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2015-06-09  8:17 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-06 22:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-09  8:17 [Bug target/66469] New: config/rl78/rl78.c:679: possible bad array index ? dcb314 at hotmail dot com
2020-11-06 22:03 ` [Bug target/66469] " egallager at gcc dot gnu.org
2020-11-06 22:15 ` dcb314 at hotmail dot com
2020-11-06 22:18 ` egallager at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).