This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54224] [4.8 Regression] Bogus -Wunused-function warning with static function
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Aug 2012 18:30:26 +0000
- Subject: [Bug middle-end/54224] [4.8 Regression] Bogus -Wunused-function warning with static function
- Auto-submitted: auto-generated
- References: <bug-54224-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-08-15
Summary|Bogus -Wunused-function |[4.8 Regression] Bogus
|warning with static |-Wunused-function warning
|function |with static function
Ever Confirmed|0 |1
--- Comment #4 from janus at gcc dot gnu.org 2012-08-15 18:30:26 UTC ---
(In reply to comment #1)
> I just realized that I misremembered the TREE_PUBLIC patch: It has been
> committed after 4.7 was branched (cf. PR40973 and PR40973 / PR52916). Thus, it
> is not a regression.
Well, the warning on the test case in comment 0 is certainly a regression, as
it does not appear with 4.7.