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.