This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k bootstrapping broken
Richard Zidlicky wrote:
The above diffs may suggest that something is wrong with the
improved prologue/epilogue generation on m68k but since this
is a miscompiled compiler it could be very easilly pure
coincidence.
A non-trivial side-effect of the new frame generation code
is that, when -fomit-frame-pointer is enabled, there's no
longer a wasted slot where the frame pointer would normally
be saved.
This change could affect buggy user code containing
off-by-one stack overflows.
IIRC, -O2 implies -fomit-frame-pointer on the m68k. Try
building with '-O2 -fno-omit-frame-pointer' and see what
happens.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/