public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109693] New: trivial: unused private field
@ 2023-05-02  8:01 dcb314 at hotmail dot com
  2023-05-03  9:18 ` [Bug tree-optimization/109693] " cvs-commit at gcc dot gnu.org
  2023-05-03  9:18 ` marxin at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2023-05-02  8:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109693
           Summary: trivial: unused private field
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just did a build of gcc with clang. It said:

trunk.year/gcc/value-range-storage.h:41:8: warning: private field 'm_gc' is not
used [-Wunused-private-field]

$ fgrep m_gc trunk.year/gcc/value-range-storage.{h,cc}
trunk.year/gcc/value-range-storage.h:  bool m_gc;
trunk.year/gcc/value-range-storage.cc:  : m_gc (gc)
$

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

* [Bug tree-optimization/109693] trivial: unused private field
  2023-05-02  8:01 [Bug c/109693] New: trivial: unused private field dcb314 at hotmail dot com
@ 2023-05-03  9:18 ` cvs-commit at gcc dot gnu.org
  2023-05-03  9:18 ` marxin at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-05-03  9:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:348788b19f55ce3a614b5c1ca6d2c46e0605e6b2

commit r14-420-g348788b19f55ce3a614b5c1ca6d2c46e0605e6b2
Author: Martin Liska <mliska@suse.cz>
Date:   Wed May 3 11:16:30 2023 +0200

    clang warning: warning: private field 'm_gc' is not used
[-Wunused-private-field]

            PR tree-optimization/109693

    gcc/ChangeLog:

            * value-range-storage.cc (vrange_allocator::vrange_allocator):
            Remove unused field.
            * value-range-storage.h: Likewise.

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

* [Bug tree-optimization/109693] trivial: unused private field
  2023-05-02  8:01 [Bug c/109693] New: trivial: unused private field dcb314 at hotmail dot com
  2023-05-03  9:18 ` [Bug tree-optimization/109693] " cvs-commit at gcc dot gnu.org
@ 2023-05-03  9:18 ` marxin at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-05-03  9:18 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2023-05-03  9:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02  8:01 [Bug c/109693] New: trivial: unused private field dcb314 at hotmail dot com
2023-05-03  9:18 ` [Bug tree-optimization/109693] " cvs-commit at gcc dot gnu.org
2023-05-03  9:18 ` marxin 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).