http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49258
Summary: -ffunction-sections and --gc-sectinons have no effect at gcj Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: java AssignedTo: unassig...@gcc.gnu.org ReportedBy: licheng.1...@gmail.com there is many dead code at java source,and the gcj can't remove it. I hava been add the function-sections and gc-sections to the compiler flags.