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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 7 18:09:00 GMT 2012


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-07 18:08:21 UTC ---
(In reply to comment #4)
> Yes,but why we can't remove the function notused() form vtable, since this
> function will never used.

How can you tell?  Without the full exectuable and knowing the entry point,
there is no way (-fwhole-program can help but it becomes a turning machine at
that point).



More information about the Java-prs mailing list