[Bug middle-end/55546] Static functions that are fully inlined can end up in the object file

2017-07-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55546

Andrew Pinski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |4.9.0

--- Comment #3 from Andrew Pinski  ---
Fixed a long time ago.

[Bug middle-end/55546] Static functions that are fully inlined can end up in the object file

2017-07-08 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55546

Yuri Gribov  changed:

   What|Removed |Added

 CC||tetra2005 at gmail dot com

--- Comment #2 from Yuri Gribov  ---
This was fixed in r198821. Could someone close?

[Bug middle-end/55546] Static functions that are fully inlined can end up in the object file

2012-12-03 Thread rguenth at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55546



Richard Biener rguenth at gcc dot gnu.org changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Keywords||missed-optimization

   Last reconfirmed||2012-12-03

  Component|c   |middle-end

 CC||hubicka at gcc dot gnu.org,

   ||rguenth at gcc dot gnu.org

 Ever Confirmed|0   |1

  Known to fail||4.8.0

   Severity|normal  |enhancement



--- Comment #1 from Richard Biener rguenth at gcc dot gnu.org 2012-12-03 
11:49:41 UTC ---

That can trivially happen if the not usedness address-taken is discovered

too late by the compiler to temove the function.



Testcase confirmed.