http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49886
Terry Guo <terry.guo at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |terry.guo at arm dot com --- Comment #8 from Terry Guo <terry.guo at arm dot com> 2011-09-19 05:46:58 UTC --- (In reply to comment #7) > I reverted the fix on 4.6 branch because it was causing a lot of other trouble > (particularly PR 50295). Therefore, this has to be re-opened. Hi Martin, I noticed a new dg directive was added as "/* { dg-xfail-run-if "" { "*-*-*" } { "-O2" "-O3" "-Os" } } */". Since then, this case is XPASS for arm-none-eabi on QEMU for Cortex-M3. Here are the log: Running /home/build/work/jenkins-daily-build/src/gcc/gcc/testsuite/gcc.dg/torture/dg-torture.exp ... XPASS: gcc.dg/torture/pr49886.c -O2 execution test XPASS: gcc.dg/torture/pr49886.c -O3 -fomit-frame-pointer execution test XPASS: gcc.dg/torture/pr49886.c -O3 -fomit-frame-pointer -funroll-loops execution test XPASS: gcc.dg/torture/pr49886.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test XPASS: gcc.dg/torture/pr49886.c -O3 -g execution test XPASS: gcc.dg/torture/pr49886.c -Os execution test Do you think the case should fail for arm-none-eabi or not? If not, I think we may need arm-none-eabi from dg-xfail-run-if.