public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/94958] New: gcc/fortran/trans-array.c:9797: possible typo ?
@ 2020-05-05 16:46 dcb314 at hotmail dot com
  2020-05-05 16:48 ` [Bug fortran/94958] " dcb314 at hotmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2020-05-05 16:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94958
           Summary: gcc/fortran/trans-array.c:9797: possible typo ?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

gcc/fortran/trans-array.c:9797:15: style: Variable 'args.errmsg' is reassigned
a value before the old one has been used. [redundantAssignment]

Source code is

  args.errmsg = errmsg;
  args.errmsg = errmsg_len;

Maybe better code

  args.errmsg = errmsg;
  args.errmsg_len = errmsg_len;

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

end of thread, other threads:[~2020-08-27 12:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 16:46 [Bug fortran/94958] New: gcc/fortran/trans-array.c:9797: possible typo ? dcb314 at hotmail dot com
2020-05-05 16:48 ` [Bug fortran/94958] " dcb314 at hotmail dot com
2020-07-20 10:08 ` dominiq at lps dot ens.fr
2020-07-25 14:54 ` dominiq at lps dot ens.fr
2020-08-11 13:04 ` vehre at gcc dot gnu.org
2020-08-18 17:04 ` vehre at gcc dot gnu.org
2020-08-20 15:51 ` cvs-commit at gcc dot gnu.org
2020-08-20 15:54 ` vehre at gcc dot gnu.org
2020-08-27 12:54 ` vehre 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).