[Bug c/14105] GCC over-optimisating extern
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 11 05:56:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-11 05:56 -------
This is not over optimizing as return_pcap_debug is an function inside a function which is a gcc
extension but the function is not used as all (aka like a static funciton), so gcc is removing the function.
Note that at -O2 (because of -funit-at-a-time) gcc 3.4.0 will remove the function also.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14105
More information about the Gcc-bugs
mailing list