re: Fix argument pushes to unaligned stack slots

2011-07-22 Thread Joseph S. Myers
On Fri, 22 Jul 2011, matthew green wrote: > > I don't see how it can be safe; if the stack slot is insufficiently > > aligned, the special handling will be needed. Maybe the alignment being > > passed to this code is wrong, but if it's correct then you need a way to > > handle the unaligned mo

re: Fix argument pushes to unaligned stack slots

2011-07-21 Thread matthew green
> On Tue, 12 Jul 2011, matthew green wrote: > > > i'm having a problem with GCC 4.5.3 on netbsd-m68k target. i've tracked > > it down to this change from several years ago: > > > > > 2007-02-06 Joseph Myers > > > > > > * expr.c (emit_push_insn): If STRICT_ALIGNMENT, copy to an > > > una

re: Fix argument pushes to unaligned stack slots

2011-07-21 Thread Joseph S. Myers
On Tue, 12 Jul 2011, matthew green wrote: > i'm having a problem with GCC 4.5.3 on netbsd-m68k target. i've tracked > it down to this change from several years ago: > > > 2007-02-06 Joseph Myers > > > > * expr.c (emit_push_insn): If STRICT_ALIGNMENT, copy to an > > unaligned stack sl

re: Fix argument pushes to unaligned stack slots

2011-07-11 Thread matthew green
hi folks. i'm having a problem with GCC 4.5.3 on netbsd-m68k target. i've tracked it down to this change from several years ago: > 2007-02-06 Joseph Myers > > * expr.c (emit_push_insn): If STRICT_ALIGNMENT, copy to an > unaligned stack slot via a suitably aligned slot. the prob