https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70227
Bug ID: 70227 Summary: pr69589 does not check for -rdynamic availability Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: thopre01 at gcc dot gnu.org Target Milestone: --- Target: arm-none-eabi g++.dg/lto/pr69589 fails on trunk for arm-none-eabi target with the following error: unrecognized command line option '-rdynamic' The reason is that rdynamic is not an available option for bare metal targets. The test could add an effective target requirement to avoid creating a FAIL in such cases or possibly add an xfail for *-none-*.