middle-end/9724: Gcc should drop unused static functions from translation units
beszedes@rgai.hu
beszedes@rgai.hu
Mon Feb 17 15:26:00 GMT 2003
>Number: 9724
>Category: middle-end
>Synopsis: Gcc should drop unused static functions from translation units
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: pessimizes-code
>Submitter-Id: net
>Arrival-Date: Mon Feb 17 15:26:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Ãrpád Beszédes
>Release: gcc version 3.3 20030210 (prerelease)
>Organization:
>Environment:
>Description:
Static functions are not visible from other translation units, therefore if they are not used within the unit then they can be dropped without any risk.
>How-To-Repeat:
Just put some unused static functions in the source.
>Fix:
This feature requires unit-at-a-time compilation
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list