https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70629
Bug ID: 70629 Summary: 176.gcc fails to build with -O0 -flto with undefined reference to is_reserved_word Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: prathamesh3492 at gcc dot gnu.org Target Milestone: --- Hi, 176.gcc from SPEC2000 fails to build with trunk using -O0 -flto for arm-linux-gnueabihf with many undefined references to is_reserved_word(). Also observed with system gcc-5.2.1 for x86_64. However works with -O2/-O3 -flto I am not sure if this qualifies to be a valid bug report. Is -flto meant to work even for -O0 ? Thanks, Prathamesh