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

* [Bug target/66469] config/rl78/rl78.c:679: possible bad array index ?
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: egallager at gcc dot gnu.org @ 2020-11-06 22:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
                 CC|                            |egallager at gcc dot gnu.org
   Last reconfirmed|                            |2020-11-06

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> I can't seem to find the mentioned code in the source file any longer...

WAITING for David to reconfirm

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

* [Bug target/66469] config/rl78/rl78.c:679: possible bad array index ?
  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
  2 siblings, 0 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2020-11-06 22:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Eric Gallager from comment #2)
> (In reply to Eric Gallager from comment #1)
> > I can't seem to find the mentioned code in the source file any longer...
> 
> WAITING for David to reconfirm

$ fgrep call_used_regs trunk.git/gcc/config/rl78/rl78.c
$ 

Another one gone away.

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

* [Bug target/66469] config/rl78/rl78.c:679: possible bad array index ?
  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
  2 siblings, 0 replies; 4+ messages in thread
From: egallager at gcc dot gnu.org @ 2020-11-06 22:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66469

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to David Binderman from comment #3)
> (In reply to Eric Gallager from comment #2)
> > (In reply to Eric Gallager from comment #1)
> > > I can't seem to find the mentioned code in the source file any longer...
> > 
> > WAITING for David to reconfirm
> 
> $ fgrep call_used_regs trunk.git/gcc/config/rl78/rl78.c
> $ 
> 
> Another one gone away.

Closed, then.

^ 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).