public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/4076: -Wunused doesn't warn about static function only called by itself.
@ 2003-01-08  1:07 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-01-08  1:07 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lars.spam, nobody

Synopsis: -Wunused doesn't warn about static function only called by itself.

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Jan  7 17:07:14 2003
State-Changed-Why:
    Confirmed. This seems like a case that does not happen so
    very often, but why not ask for such an enhancement.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4076


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

* c/4076: -Wunused doesn't warn about static function only called by itself.
@ 2001-08-22  1:26 lars.spam
  0 siblings, 0 replies; 2+ messages in thread
From: lars.spam @ 2001-08-22  1:26 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4076
>Category:       c
>Synopsis:       -Wunused doesn't warn about static function only called by itself.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 22 01:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Lars Brinkhoff
>Release:        3.1 20010821 (mainline cvs)
>Organization:
>Environment:
Debian GNU/Linux (testing), PowerPC.
>Description:
The attached file contains two static functions, foo and bar.
GCC correctly reports foo as being unused, by says nothing
about bar which is only called by itself.
>How-To-Repeat:
gcc -Wunused -c unused.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="unused.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="unused.c"

c3RhdGljIHZvaWQgZm9vICh2b2lkKSB7fQpzdGF0aWMgdm9pZCBiYXIgKHZvaWQpIHsgYmFyICgp
OyB9Cg==


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

end of thread, other threads:[~2003-01-08  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08  1:07 c/4076: -Wunused doesn't warn about static function only called by itself bangerth
  -- strict thread matches above, loose matches on Subject: below --
2001-08-22  1:26 lars.spam

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