This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/63347] m68k misoptimisation with -fschedule-insns
- From: "mikpelinux at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Oct 2014 19:27:47 +0000
- Subject: [Bug target/63347] m68k misoptimisation with -fschedule-insns
- Auto-submitted: auto-generated
- References: <bug-63347-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63347
--- Comment #3 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can't reproduce with a vanilla gcc-4.8.3 configured for m68k-elf. For the
"if (0x0 == haddr) ..." it generates:
lea (20,%sp),%sp
tst.l %d2
seq %d2
extb.l %d2
neg.l %d2
which looks correct and matches your 4.7 output.
How was your gcc configured?