This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14105] GCC over-optimisating extern
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Feb 2004 05:56:06 -0000
- Subject: [Bug c/14105] GCC over-optimisating extern
- References: <20040211054756.14105.ok@mailcall.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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