This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/54224] [4.8 Regression] Bogus -Wunused-function warning with static function


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]