This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -mstrict-align for m68k
- To: Geoff Keating <geoffk at ozemail dot com dot au>
- Subject: Re: -mstrict-align for m68k
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 16 Nov 1999 09:51:03 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <199911130537.QAA00971@gluttony.geoffk.wattle.id.au>
On Sat, Nov 13, 1999 at 04:37:06PM +1100, Geoff Keating wrote:
> [As a side note, I seem to remember the 020 and higher support this in
> hardware, so it might be good to have some more complicated expression
> in the definition of STRICT_ALIGNMENT. I'll leave that to someone who
> can test it.]
I'm pretty sure you're right here.
> * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
>
> * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
> MASK_ALIGN_INT.
>
> * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
> (TARGET_STRICT_ALIGNMENT): New macro.
> (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
> (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
> * invoke.texi (M680x0 Options): Document -mstrict-align.
Ok.
r~