https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65710
--- Comment #33 from Terry Guo <terry.guo at arm dot com> --- (In reply to clyon from comment #32) > > 2015-04-13 Terry Guo <terry....@arm.com> > > > > PR target/65710 > > * gcc.target/arm/pr65710.c: New. > > > > Terry, any particular reason you use -march=armv6-m instead of -march=armv6 ? > > Some of my test configurations add -marm to RUNTESTFLAGS, and they fail > because: > error: target CPU does not support ARM mode > > Can we switch to armv6, or do we need a few additional guards to avoid > running this test in unsupported configurations? Thanks for reminding. I just made a stupid copy-paste error here. The correct options should be "-mthumb -O2 -mfloat-abi=soft" as shown in comment#1. I reused some test case template and forgot to update the options. I will fix this soon.