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 c/14105] GCC over-optimisating extern


------- 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


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