[Bug java/49258] -ffunction-sections and --gc-sectinons have no effect at gcj

licheng.1212 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 7 09:03:00 GMT 2012


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

licheng.1212@gmail.com <licheng.1212 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |WAITING
         Resolution|INVALID                     |
           Severity|normal                      |blocker

--- Comment #4 from licheng.1212 at gmail dot com <licheng.1212 at gmail dot com> 2012-04-07 09:02:38 UTC ---
(In reply to comment #3)
> There is nothing to be done here since notused is used from the vtable for the
> class.
> 
> "objdump -d hello" does not show the vtables.

Yes,but why we can't remove the function notused() form vtable, since this
function will never used.



More information about the Gcc-bugs mailing list